mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 16:31:30 -06:00
audio gaming
This commit is contained in:
@@ -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