From fb4e8744f1204af7b3960fec8c47761426e162a4 Mon Sep 17 00:00:00 2001 From: mightymax Date: Sat, 13 Jan 2007 11:22:47 +0000 Subject: [PATCH] disabled persistent VRAM banks for now, they are causing problems when more then one bank is mapped to the same address --- desmume/src/MMU.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/desmume/src/MMU.c b/desmume/src/MMU.c index 61058bc40..eb3f16980 100644 --- a/desmume/src/MMU.c +++ b/desmume/src/MMU.c @@ -342,6 +342,9 @@ void MMU_clearMem() /* FIXME: VRAM Bank E,F,G,H,I missing */ void MMU_VRAMWriteBackToLCD(u8 block) { + #if 1 + return ; + #endif u8 *destination = 0 ; u8 *source = 0; u32 size ; @@ -451,6 +454,9 @@ void MMU_VRAMWriteBackToLCD(u8 block) void MMU_VRAMReloadFromLCD(u8 block,u8 VRAMBankCnt) { + #if 1 + return ; + #endif u8 *destination = 0; u8 *source = 0; u32 size = 0;