implementation of VRAM and other misc crap

This commit is contained in:
StapleButter
2016-12-05 23:17:03 +01:00
parent 8c8c78cf83
commit c8a0058ebc
13 changed files with 1092 additions and 59 deletions

View File

@ -18,8 +18,15 @@
#include <stdio.h>
#include "NDS.h"
#include "ARM.h"
// derp
namespace NDS
{
extern ARM* ARM9;
}
namespace CP15
{
@ -81,6 +88,11 @@ void Write(u32 id, u32 val)
return;
case 0x704:
NDS::ARM9->Halt(1);
return;
case 0x910:
DTCMSetting = val;
UpdateDTCMSetting();