mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
More Read_U32 and Read_U64
This commit is contained in:
1 parent
4f8859d0ec
commit
af9891cd7d
8 files changed
+90
-86
No files matched your search
@@ -319,10 +319,13 @@ u32 sceKernelSetVTimerTime(SceUID uid, u32 timeClockAddr) {
|
||||
if (!vt) {
|
||||
return hleLogError(Log::sceKernel, error, "bad timer ID");
|
||||
}
|
||||
|
||||
u64 time = Memory::Read_U64(timeClockAddr);
|
||||
if (Memory::IsValidAddress(timeClockAddr))
|
||||
|
||||
if (Memory::IsValidAddress(timeClockAddr)) {
|
||||
u64 time = Memory::Read_U64(timeClockAddr);
|
||||
Memory::Write_U64(__KernelSetVTimer(vt, time), timeClockAddr);
|
||||
} else {
|
||||
_dbg_assert_(false);
|
||||
}
|
||||
|
||||
return hleLogDebug(Log::sceKernel, 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user