From 1e3cf56675fe933c2658059102b1c1e80042bb64 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Tue, 18 Nov 2025 00:38:55 +0800 Subject: [PATCH] =?UTF-8?q?MAME:=E4=BF=AE=E6=AD=A3=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E4=B8=ADNEOGEO=20MReadOpWord=20=E9=80=A0?= =?UTF-8?q?=E6=88=90=E7=9A=84=E5=86=85=E5=AD=98=E6=98=A0=E5=B0=84bug?= =?UTF-8?q?=EF=BC=88rom=E5=86=99=E6=88=90ram=E5=AF=BC=E8=87=B4=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E9=94=99=E8=AF=AF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Plugins/Mame.Core/mame/neogeo/Memory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AxibugEmuOnline.Client/Assets/Plugins/Mame.Core/mame/neogeo/Memory.cs b/AxibugEmuOnline.Client/Assets/Plugins/Mame.Core/mame/neogeo/Memory.cs index 02ea0d74..89f159c6 100644 --- a/AxibugEmuOnline.Client/Assets/Plugins/Mame.Core/mame/neogeo/Memory.cs +++ b/AxibugEmuOnline.Client/Assets/Plugins/Mame.Core/mame/neogeo/Memory.cs @@ -254,7 +254,7 @@ namespace MAME.Core } else if (address >= 0x200000 && address + 1 <= 0x2fffff) { - byte* ptr_0 = &Memory.mainram[0]; + byte* ptr_0 = &Memory.mainrom[0]; byte* ptr = ptr_0 + (main_cpu_bank_address + (address & 0xfffff)); //result = (short)(Memory.mainrom[main_cpu_bank_address + (address & 0xfffff)] * 0x100 + Memory.mainrom[main_cpu_bank_address + (address & 0xfffff) + 1]); return (short)(*ptr * 0x100 + *(ptr + 1));