misc: chore: Remove redundant code

This commit is contained in:
KeatonTheBot
2025-03-11 16:45:41 -05:00
parent 340ec79e9f
commit 05a88ccc94
109 changed files with 271 additions and 412 deletions
@@ -79,7 +79,7 @@ namespace ARMeilleure.Translation.Cache
_unwindInfo = (UnwindInfo*)(workBufferPtr + _sizeOfRuntimeFunction);
_getRuntimeFunctionCallback = new GetRuntimeFunctionCallback(FunctionTableHandler);
_getRuntimeFunctionCallback = FunctionTableHandler;
result = RtlInstallFunctionTableCallback(
codeCachePtr | 3,
@@ -102,10 +102,7 @@ namespace ARMeilleure.Translation.Cache
bool result;
unsafe
{
result = RtlDeleteFunctionTable(codeCachePtr | 3);
}
result = RtlDeleteFunctionTable(codeCachePtr | 3);
if (!result)
{