From a65d61cf204025ddddc93c34d9bd3fc053906885 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Fri, 28 Jun 2024 19:24:00 +0800 Subject: [PATCH] fix --- AxibugEmuOnline.Client/Assets/Runtime/Core/PPU.Core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AxibugEmuOnline.Client/Assets/Runtime/Core/PPU.Core.cs b/AxibugEmuOnline.Client/Assets/Runtime/Core/PPU.Core.cs index 5ead01e..e797bd6 100644 --- a/AxibugEmuOnline.Client/Assets/Runtime/Core/PPU.Core.cs +++ b/AxibugEmuOnline.Client/Assets/Runtime/Core/PPU.Core.cs @@ -125,7 +125,7 @@ namespace AxibugEmuOnline.Client.UNES //RawBitmap[_bufferPos] = _palette[ReadByte(0x3F00 + ((F.BusAddress & 0x3F00) == 0x3F00 ? F.BusAddress & 0x001F : 0)) & 0x3F]; byte pIdx = (byte)(ReadByte(0x3F00 + ((F.BusAddress & 0x3F00) == 0x3F00 ? F.BusAddress & 0x001F : 0)) & 0x3F); - //RawBitmap[_bufferPos] = _palette[pIdx]; + RawBitmap[_bufferPos] = _palette[pIdx]; RawBitmap_paletteIdxCache[_bufferPos] = pIdx; return; } @@ -138,7 +138,7 @@ namespace AxibugEmuOnline.Client.UNES _priority[_bufferPos] = paletteEntry; //RawBitmap[_bufferPos] = _palette[ReadByte(0x3F00u + paletteEntry) & 0x3F]; byte pIdx = (byte)(ReadByte(0x3F00u + paletteEntry) & 0x3F); - //RawBitmap[_bufferPos] = _palette[pIdx]; + RawBitmap[_bufferPos] = _palette[pIdx]; RawBitmap_paletteIdxCache[_bufferPos] = pIdx; } }