for all people who hate speed, here you can build melonDS again

This commit is contained in:
RSDuck 2022-08-22 00:44:48 +02:00
parent 32609bbc98
commit ce68e883c4
1 changed files with 5 additions and 0 deletions

View File

@ -20,7 +20,10 @@
#include <string.h>
#include "NDS.h"
#include "GPU.h"
#ifdef JIT_ENABLED
#include "ARMJIT.h"
#endif
#include "GPU2D_Soft.h"
@ -654,7 +657,9 @@ void MapVRAM_CD(u32 bank, u8 cnt)
VRAMMap_ARM7[ofs] |= bankmask;
memset(VRAMDirty[bank].Data, 0xFF, sizeof(VRAMDirty[bank].Data));
VRAMSTAT |= (1 << (bank-2));
#ifdef JIT_ENABLED
ARMJIT::CheckAndInvalidateWVRAM(ofs);
#endif
break;
case 3: // texture