From bb5cd1527d54cdae20e407f1a7e47d44c4bc679a Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 11 Apr 2018 00:17:30 -0500 Subject: [PATCH] uhhh did i leave this hacked when i fixed re-un-broke cv3 recently? --- src/boards/mmc5.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/boards/mmc5.cpp b/src/boards/mmc5.cpp index 9fd93723..39feb939 100644 --- a/src/boards/mmc5.cpp +++ b/src/boards/mmc5.cpp @@ -252,12 +252,11 @@ uint8 FASTCALL mmc5_PPURead(uint32 A) { if((A&0x3FF)>=0x3C0) { - return ExRAM[NTRefreshAddr & 0x3ff]; - //uint8 byte = ExRAM[NTRefreshAddr & 0x3ff]; - ////get attribute part and paste it 4x across the byte - //byte >>= 6; - //byte *= 0x55; - //return byte; + uint8 byte = ExRAM[NTRefreshAddr & 0x3ff]; + //get attribute part and paste it 4x across the byte + byte >>= 6; + byte *= 0x55; + return byte; } }