MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / RemoveCustomIREntrypoint

Method RemoveCustomIREntrypoint

FEXCore/Source/Interface/Core/Core.cpp:1001–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999}
1000
1001void ContextImpl::RemoveCustomIREntrypoint(FEXCore::Core::InternalThreadState* Thread, uintptr_t Entrypoint) {
1002 LOGMAN_THROW_A_FMT(Config.Is64BitMode || !(Entrypoint >> 32), "64-bit Entrypoint in 32-bit mode {:x}", Entrypoint);
1003
1004 std::scoped_lock lk(CustomIRMutex);
1005
1006 CustomIRHandlers.erase(Entrypoint);
1007 HasCustomIRHandlers = !CustomIRHandlers.empty();
1008 SyscallHandler->InvalidateGuestCodeRange(Thread, Entrypoint, 1);
1009}
1010
1011void ContextImpl::MonoBackpatcherWrite(FEXCore::Core::CpuStateFrame* Frame, uint8_t Size, uint64_t Address, uint64_t Value) {
1012 auto Thread = Frame->Thread;

Callers

nothing calls this directly

Calls 2

eraseMethod · 0.80

Tested by

no test coverage detected