mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_read_memory (markdown)
parent
c6505d593d
commit
b0e6947f23
|
@ -14,7 +14,7 @@ Performs a memory read on a 16-bit address on the emulator instance, as if it wa
|
|||
|
||||
## Notes
|
||||
|
||||
To read data outside of a currently mapped bank, you can use [[GB_get_direct_access]].
|
||||
To read data outside of a currently mapped bank, or to read from a memory region that might not be currently readable (e.g. VRAM during mode 3), you can use [[GB_get_direct_access]].
|
||||
|
||||
Because this functions goes through the same routines used by a CPU memory read, it will trigger any side effect caused by a memory read, including, for example, OAM corruption. If you wish you avoid this behavior, you can use either [[GB_safe_read_memory]] or [[GB_get_direct_access]].
|
||||
|
||||
|
|
Loading…
Reference in New Issue