From 977631bfd8fe51d318aefc6e7b72ecad509f5f66 Mon Sep 17 00:00:00 2001 From: zilmar Date: Mon, 1 Oct 2012 13:47:35 +1000 Subject: [PATCH] Add writing to PI DOMAIN2 registers --- Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp index a17021a5e..3d7a7abb8 100644 --- a/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp +++ b/Source/Project64/N64 System/Mips/Memory Virtual Mem.cpp @@ -2240,6 +2240,10 @@ int CMipsMemoryVM::SW_NonMemory ( DWORD PAddr, DWORD Value ) { case 0x04600018: _Reg->PI_BSD_DOM1_PWD_REG = (Value & 0xFF); break; case 0x0460001C: _Reg->PI_BSD_DOM1_PGS_REG = (Value & 0xFF); break; case 0x04600020: _Reg->PI_BSD_DOM1_RLS_REG = (Value & 0xFF); break; + case 0x04600024: _Reg->PI_DOMAIN2_REG = (Value & 0xFF); break; + case 0x04600028: _Reg->PI_BSD_DOM2_PWD_REG = (Value & 0xFF); break; + case 0x0460002C: _Reg->PI_BSD_DOM2_PGS_REG = (Value & 0xFF); break; + case 0x04600030: _Reg->PI_BSD_DOM2_RLS_REG = (Value & 0xFF); break; default: return FALSE; }