-
-
Notifications
You must be signed in to change notification settings - Fork 248
GB_get_registers
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
GB_registers_t *GB_get_registers(GB_gameboy_t *gb);
In gb.h
Returns a pointer to the register set of the emulator instance's SM83 CPU. The returned pointer directly points to the current emulation state of the CPU, and can be freely read to obtain the current register values, and modified to alter the execution state.
GB_get_registers is thread-safe and can be called from any thread and context.