Next Generation Emulation banner

1 - 2 of 2 Posts

·
Registered
Joined
·
8 Posts
Discussion Starter · #1 ·
A few questions to help me in understanding the vba core a bit better:

Is the argument to the macro READ32LE in Port.h supposed to be of type void*? I'm planning to convert them into inline functions.

Are the CPUwrite functions in gba.cpp the only place where memory from the emulated GBA is written? I'm asking as in order to have a "live" update feature in my Mac implementation of cheat search (which is completely different from the PC implementation of cheat search), I must add a function call to every place where something is written to the GBA.
 

·
Premium Member
Joined
·
483 Posts
That macro takes a memory address in the host system (MAC). Making inline may not help performance though.

CPUWrite* functions are where most write occur. The exception are the IO registers which are updated in other spots via CPUUpdateRegister calls.
 
1 - 2 of 2 Posts
Top