From 16adace2102c7473dfeb84d5dbabba149d156701 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Mon, 5 Aug 2024 23:25:40 +0800 Subject: [PATCH] fixed --- .../Assets/VirtualNes.Core/Mapper/Mapper007.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AxibugEmuOnline.Client/Assets/VirtualNes.Core/Mapper/Mapper007.cs b/AxibugEmuOnline.Client/Assets/VirtualNes.Core/Mapper/Mapper007.cs index a2c5a7a..cb29ea0 100644 --- a/AxibugEmuOnline.Client/Assets/VirtualNes.Core/Mapper/Mapper007.cs +++ b/AxibugEmuOnline.Client/Assets/VirtualNes.Core/Mapper/Mapper007.cs @@ -38,7 +38,8 @@ namespace VirtualNes.Core || crc == 0xCEB65B06) { // Battletoads Double Dragon (U) nes.SetRenderMethod( EnumRenderMethod.PRE_ALL_RENDER); - ::memset(WRAM, 0, sizeof(WRAM)); + //::memset(WRAM, 0, sizeof(WRAM)); + MemoryUtility.ZEROMEMORY(WRAM, WRAM.Length); } }