keep the GPU from crashing if there's no VRAM mapped, I guess.

noting that the way it's accessing VRAM is grossly inaccurate.
This commit is contained in:
StapleButter
2017-01-31 04:06:05 +01:00
parent 594286ee5d
commit 12ebf83665
3 changed files with 5 additions and 3 deletions

View File

@ -1697,7 +1697,7 @@ void ARM9IOWrite32(u32 addr, u32 val)
else
{
bool wasempty = IPCFIFO9->IsEmpty();
IPCFIFO9->Write(val);printf("IPC FIFO %08X %08X\n", val, ARM9->R[6]+0x114);
IPCFIFO9->Write(val);
if ((IPCFIFOCnt7 & 0x0400) && wasempty)
TriggerIRQ(1, IRQ_IPCRecv);
}