mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-01 13:16:37 +00:00
Add reporting for sceKernelDevkitVersion() calls.
We currently default to 1.50 as the reported version, but we more or less emulate a 6.60 system. It may be better to return 6.60, but let's see what would actually be impacted by that first.
This commit is contained in:
parent
d25cc72021
commit
5009dcab7a
@ -306,7 +306,8 @@ u32 sceKernelDevkitVersion()
|
||||
int minor = (firmwareVersion / 10) % 10;
|
||||
int revision = firmwareVersion % 10;
|
||||
int devkitVersion = (major << 24) | (minor << 16) | (revision << 8) | 0x10;
|
||||
DEBUG_LOG(SCEKERNEL, "sceKernelDevkitVersion (%i) ", devkitVersion);
|
||||
|
||||
DEBUG_LOG_REPORT_ONCE(devkitVer, SCEKERNEL, "%08x=sceKernelDevkitVersion()", devkitVersion);
|
||||
return devkitVersion;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user