mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 08:19:25 +02:00
Revert "misc: chore: Remove redundant code"
This reverts commit 05a88ccc94.
This commit is contained in:
@@ -79,7 +79,7 @@ namespace ARMeilleure.Translation.Cache
|
||||
|
||||
_unwindInfo = (UnwindInfo*)(workBufferPtr + _sizeOfRuntimeFunction);
|
||||
|
||||
_getRuntimeFunctionCallback = FunctionTableHandler;
|
||||
_getRuntimeFunctionCallback = new GetRuntimeFunctionCallback(FunctionTableHandler);
|
||||
|
||||
result = RtlInstallFunctionTableCallback(
|
||||
codeCachePtr | 3,
|
||||
@@ -102,7 +102,10 @@ namespace ARMeilleure.Translation.Cache
|
||||
|
||||
bool result;
|
||||
|
||||
result = RtlDeleteFunctionTable(codeCachePtr | 3);
|
||||
unsafe
|
||||
{
|
||||
result = RtlDeleteFunctionTable(codeCachePtr | 3);
|
||||
}
|
||||
|
||||
if (!result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user