Updated GB_read_memory (markdown)

Lior Halphon 2024-11-30 20:49:58 +02:00
parent c6505d593d
commit b0e6947f23
1 changed files with 1 additions and 1 deletions

@ -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]].