mirror of
https://github.com/open-goal/jak-project
synced 2026-06-07 03:58:11 -04:00
memory cards (in progress) (#868)
* c++ memory card stuff * saving kinda works * load working * more progress * clean up
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ void ee_runner(SystemThreadInterface& iface) {
|
||||
lg::debug("[EE] Run!");
|
||||
memset((void*)g_ee_main_mem, 0, EE_MAIN_MEM_SIZE);
|
||||
|
||||
// prevent access to the first 1 MB of memory.
|
||||
// prevent access to the first 512 kB of memory.
|
||||
// On the PS2 this is the kernel and can't be accessed either.
|
||||
// this may not work well on systems with a page size > 1 MB.
|
||||
mprotect((void*)g_ee_main_mem, EE_MAIN_MEM_LOW_PROTECT, PROT_NONE);
|
||||
|
||||
Reference in New Issue
Block a user