Force block (header) checks by default.

- Unstable opts disables them (and only lets hard-coded places)
- This fixes shenmue (and possibly many other dynarec crashes)
This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2014-01-20 23:10:00 +02:00
parent 979d9b7387
commit e512b95445
1 changed files with 8 additions and 0 deletions

View File

@ -119,6 +119,9 @@ bool DoCheck(u32 pc)
{
if (IsOnRam(pc))
{
if (!settings.dynarec.unstable_opts)
return true;
pc&=0xFFFFFF;
switch(pc)
{
@ -128,6 +131,11 @@ bool DoCheck(u32 pc)
//Shenmue 2
case 0x348000:
//Shenmue
case 0x41860e:
return true;
default: