for all people who hate speed, here you can build melonDS again
This commit is contained in:
parent
32609bbc98
commit
ce68e883c4
|
@ -20,7 +20,10 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "NDS.h"
|
#include "NDS.h"
|
||||||
#include "GPU.h"
|
#include "GPU.h"
|
||||||
|
|
||||||
|
#ifdef JIT_ENABLED
|
||||||
#include "ARMJIT.h"
|
#include "ARMJIT.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "GPU2D_Soft.h"
|
#include "GPU2D_Soft.h"
|
||||||
|
|
||||||
|
@ -654,7 +657,9 @@ void MapVRAM_CD(u32 bank, u8 cnt)
|
||||||
VRAMMap_ARM7[ofs] |= bankmask;
|
VRAMMap_ARM7[ofs] |= bankmask;
|
||||||
memset(VRAMDirty[bank].Data, 0xFF, sizeof(VRAMDirty[bank].Data));
|
memset(VRAMDirty[bank].Data, 0xFF, sizeof(VRAMDirty[bank].Data));
|
||||||
VRAMSTAT |= (1 << (bank-2));
|
VRAMSTAT |= (1 << (bank-2));
|
||||||
|
#ifdef JIT_ENABLED
|
||||||
ARMJIT::CheckAndInvalidateWVRAM(ofs);
|
ARMJIT::CheckAndInvalidateWVRAM(ofs);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3: // texture
|
case 3: // texture
|
||||||
|
|
Loading…
Reference in New Issue