From 0d69b77507887581ecf50e38d871635cea137110 Mon Sep 17 00:00:00 2001 From: goyuken Date: Mon, 22 Sep 2014 14:24:11 +0000 Subject: [PATCH] issue 270 --- BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs index dc75ba9c8f..aa9d809276 100644 --- a/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs +++ b/BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGX.cs @@ -599,13 +599,13 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx { if (addr < 0 || addr >= 65536) throw new ArgumentOutOfRangeException(); - return p[addr]; + return p[addr ^ 1]; }, delegate(int addr, byte val) { if (addr < 0 || addr >= 65536) throw new ArgumentOutOfRangeException(); - LibGPGX.gpgx_poke_vram(addr, val); + LibGPGX.gpgx_poke_vram(addr ^ 1, val); })); } else