mirror of
https://github.com/sonicnext-dev/MarathonRecomp.git
synced 2026-11-12 19:08:23 -10:00
audio gaming
This commit is contained in:
1 parent
2122f247ac
commit
baf24bb36a
10 files changed
+180
-7
No files matched your search
@@ -36,7 +36,12 @@ void* CodeCache::Find(uint32_t guest) const
|
||||
return *reinterpret_cast<void**>(bucket + static_cast<uint64_t>(guest) * 2);
|
||||
}
|
||||
|
||||
PPCFunc* KeFindHostFunction(uint32_t guest)
|
||||
SWA_API PPCFunc* KeFindHostFunction(uint32_t guest)
|
||||
{
|
||||
return static_cast<PPCFunc*>(gCodeCache.Find(guest));
|
||||
}
|
||||
|
||||
SWA_API void KeInsertHostFunction(uint32_t guest, PPCFunc* function)
|
||||
{
|
||||
gCodeCache.Insert(guest, function);
|
||||
}
|
||||
Reference in new issue
Block a user