Revert "GPGX remove an exception for debugging"

This reverts commit 96ac5d1122.
This commit is contained in:
nattthebear 2017-04-15 08:09:08 -04:00
parent c73c794235
commit f8830652de
1 changed files with 4 additions and 4 deletions

View File

@ -53,15 +53,15 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
delegate (long addr)
{
var a = (uint)addr;
//if (a >= 0x1000000)
//throw new ArgumentOutOfRangeException();
if (a >= 0x1000000)
throw new ArgumentOutOfRangeException();
return LibGPGX.gpgx_peek_m68k_bus(a);
},
delegate (long addr, byte val)
{
var a = (uint)addr;
//if (a >= 0x1000000)
//throw new ArgumentOutOfRangeException();
if (a >= 0x1000000)
throw new ArgumentOutOfRangeException();
LibGPGX.gpgx_write_m68k_bus(a, val);
}, 2);