mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue