make this other branch where we're going to actually make it usable

but it'll be a gross hack
This commit is contained in:
StapleButter
2018-12-07 14:20:38 +01:00
parent 0b1c2f9691
commit 86dae1a25c
7 changed files with 390 additions and 71 deletions

View File

@ -653,12 +653,12 @@ void MapVRAM_I(u32 bank, u8 cnt)
void DisplaySwap(u32 val)
{
if (val)
{
{printf("main GPU on top screen\n");
GPU2D_A->SetFramebuffer(&Framebuffer[256*0]);
GPU2D_B->SetFramebuffer(&Framebuffer[256*192]);
}
else
{
{printf("main GPU on bottom screen\n");
GPU2D_A->SetFramebuffer(&Framebuffer[256*192]);
GPU2D_B->SetFramebuffer(&Framebuffer[256*0]);
}
@ -813,6 +813,7 @@ void StartScanline(u32 line)
GPU2D_A->VBlank();
GPU2D_B->VBlank();
GPU3D::VBlank();
printf("VBlank. PC=%08X\n", NDS::GetPC(0));
}
else if (VCount == 144)
{