mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 18:04:56 +00:00
libraries: gnmdriver: added initialization preamble to every first submit in a frame
This commit is contained in:
parent
14377b39b5
commit
1f55eff9d8
5 changed files with 29 additions and 9 deletions
|
@ -154,7 +154,7 @@ int PS4_SYSV_ABI sceKernelGetCompiledSdkVersion(int* ver) {
|
|||
int version = param_sfo->GetInteger("SYSTEM_VER");
|
||||
LOG_INFO(Kernel, "returned system version = {:#x}", version);
|
||||
*ver = version;
|
||||
return ORBIS_OK;
|
||||
return (version > 0) ? ORBIS_OK : ORBIS_KERNEL_ERROR_EINVAL;
|
||||
}
|
||||
|
||||
s64 PS4_SYSV_ABI ps4__read(int d, void* buf, u64 nbytes) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue