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:
parent
d815845c60
commit
544c1a2fe5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue