mods: support save-safe damage override and deadzone rounding

This commit is contained in:
Matthew Stanley
2026-08-04 18:50:31 -07:00
parent 1dcab6a2ff
commit 1bc84f38c6
3 changed files with 18 additions and 1 deletions
+5
View File
@@ -1124,6 +1124,11 @@ extern "C" void psx_mod_write_word(uint32_t address, uint32_t value) {
psx_write_word(address, value);
}
extern "C" void psx_mod_write_code_word(uint32_t address, uint32_t value) {
psx_write_word(address, value);
dirty_ram_mark_executable_range(address & 0x1FFFFFFFu, 4u);
}
extern "C" uint32_t psx_mod_alloc_guest_memory(uint32_t size,
uint32_t alignment) {
return psx_mod_memory_alloc(size, alignment);