From 92ee27e57e844bae36b6bc35de8c305e9dcffb4c Mon Sep 17 00:00:00 2001 From: Godzil Date: Fri, 20 Sep 2019 16:30:15 +0100 Subject: [PATCH] Make memory read return 0x90 instead of 0xFF in the impossible(?) case where something read from an impossible location --- oswan/source/memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oswan/source/memory.cpp b/oswan/source/memory.cpp index f2a025f..e0d58e0 100644 --- a/oswan/source/memory.cpp +++ b/oswan/source/memory.cpp @@ -227,7 +227,7 @@ BYTE cpu_readmem20(DWORD addr) return ws_rom[temp]; } - return(0xff); + return(0x90); } //////////////////////////////////////////////////////////////////////////////// //