mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
ps5: fix audiod failure
thanks ga2mer for investigation
This commit is contained in:
parent
20f8ff7881
commit
bb684f87b1
2 changed files with 8 additions and 6 deletions
|
|
@ -751,8 +751,9 @@ SysResult kern_sysctl(Thread *thread, ptr<sint> name, uint namelen,
|
|||
return ErrorCode::INVAL;
|
||||
}
|
||||
|
||||
if (std::string_view((char *)thread->tproc->appInfo.titleId) ==
|
||||
"NPXS20973") {
|
||||
if (g_context.fwType != FwType::Ps5 &&
|
||||
std::string_view((char *)thread->tproc->appInfo.titleId.data()) ==
|
||||
"NPXS20973") {
|
||||
ORBIS_LOG_ERROR("get tsc freq: returning patched value");
|
||||
*(uint64_t *)old = 1000000;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue