mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
Merge pull request #610 from RetroPortingToolKit/feat/netplay-host-output
Mod plugins: netplay = "host_output" (read-only hooks stay on online)
This commit is contained in:
@@ -69,6 +69,8 @@ extern "C" void psx_write_half(uint32_t address, uint16_t value) {
|
||||
ram[offset + 1] = (uint8_t)(value >> 8);
|
||||
}
|
||||
|
||||
/* Side-effect-free peek (memory.c); host-output observation reads. */
|
||||
extern "C" int psx_peek_word(uint32_t, uint32_t* out) { *out = 0; return 0; }
|
||||
extern "C" uint32_t psx_read_word(uint32_t address) {
|
||||
const uint32_t offset = address & 0x1fffffu;
|
||||
return (uint32_t)ram[offset] |
|
||||
|
||||
Reference in New Issue
Block a user