mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Back out some excessive checking in the latest changes. Change TOOD: to TODO: .
This commit is contained in:
1 parent
0596ee97f6
commit
5198317e24
13 files changed
+30
-111
No files matched your search
@@ -229,8 +229,8 @@ u32 sceKernelCreateVTimer(const char *name, u32 optParamAddr) {
|
||||
strncpy(vtimer->nvt.name, name, KERNELOBJECT_MAX_NAME_LENGTH);
|
||||
vtimer->nvt.name[KERNELOBJECT_MAX_NAME_LENGTH] = '\0';
|
||||
|
||||
if (optParamAddr != 0 && Memory::IsValid4AlignedAddress(optParamAddr)) {
|
||||
u32 size = Memory::ReadUnchecked_U32(optParamAddr);
|
||||
if (optParamAddr != 0) {
|
||||
u32 size = Memory::ReadOrException_U32(optParamAddr);
|
||||
if (size > 4)
|
||||
WARN_LOG_REPORT_ONCE(vtimeropt, Log::sceKernel, "sceKernelCreateVTimer(%s) unsupported options parameter, size = %d", name, size);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user