1
0
Fork 0

Illegal memory reads have all bits set. Fixes early (and buggy) shareware versions of Shadow Warrior.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3868
This commit is contained in:
ripsaw8080 2014-06-19 18:51:42 +00:00
parent d815845c60
commit 544c1a2fe5

View file

@ -73,7 +73,7 @@ public:
LOG_MSG("Illegal read from %x, CS:IP %8x:%8x",addr,SegValue(cs),reg_eip);
}
#endif
return 0;
return 0xff;
}
void writeb(PhysPt addr,Bitu val) {
#if C_DEBUG