Merge pull request #4399 from JosJuice/unify-getgctime

EXI_DeviceIPL: Unify GetGCTime epoch handling
This commit is contained in:
Markus Wick authored and GitHub committed 2016-10-31 12:47:06 +01:00
commit 4eb5892e1a
10 files changed
+35 -63

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ bool CBoot::EmulatedBS2_GC(bool skipAppLoader)
PowerPC::HostWrite_U32(0x4c000064, 0x80000800); // Write default FPU Handler: rfi
PowerPC::HostWrite_U32(0x4c000064, 0x80000C00); // Write default Syscall Handler: rfi
PowerPC::HostWrite_U64((u64)CEXIIPL::GetGCTime() * (u64)40500000,
PowerPC::HostWrite_U64((u64)CEXIIPL::GetEmulatedTime(CEXIIPL::GC_EPOCH) * (u64)40500000,
0x800030D8); // Preset time base ticks
// HIO checks this
// PowerPC::HostWrite_U16(0x8200, 0x000030e6); // Console type