This commit tweaks the logic inside the emulator modules in order to let have have a uniform naming scheme for their functions.
Each emulator module will now have the following functions:
get_address() -> Address: can be used at any point in an autosplitter to convert a game system's physical memory address to the corresponding memory address in the emulator process' virtual memory space
check_bounds() -> bool: will check if a memory reading operation does not exceed the memory bounds of the emulated system
read::<T>: As before, allows to read any value from the emulated RAM
read_pointer_path::<T>: valid only for 32bit systems and above, allows to resolve pointer paths
This commit tweaks the logic inside the emulator modules in order to let have have a uniform naming scheme for their functions.
Each emulator module will now have the following functions:
get_address() -> Address
: can be used at any point in an autosplitter to convert a game system's physical memory address to the corresponding memory address in the emulator process' virtual memory spacecheck_bounds() -> bool
: will check if a memory reading operation does not exceed the memory bounds of the emulated systemread::<T>
: As before, allows to read any value from the emulated RAMread_pointer_path::<T>
: valid only for 32bit systems and above, allows to resolve pointer pathsAdditionally, the specific commit for Genesis emulators also fixes https://github.com/LiveSplit/asr/issues/86