Misc: Remove unused code
This commit is contained in:
@ -26,7 +26,7 @@ static constexpr u32 INVALIDATE_THRESHOLD_TO_DISABLE_LINKING = 10;
|
||||
#ifdef WITH_RECOMPILER
|
||||
|
||||
// Currently remapping the code buffer doesn't work in macOS or Haiku.
|
||||
#if !defined(__HAIKU__) && !defined(__APPLE__) && !defined(_UWP)
|
||||
#if !defined(__HAIKU__) && !defined(__APPLE__)
|
||||
#define USE_STATIC_CODE_BUFFER 1
|
||||
#endif
|
||||
|
||||
@ -1069,8 +1069,6 @@ bool InitializeFastmem()
|
||||
Assert(mode != CPUFastmemMode::MMap);
|
||||
#endif
|
||||
|
||||
s_code_buffer.ReserveCode(Common::PageFaultHandler::GetHandlerCodeSize());
|
||||
|
||||
if (!Common::PageFaultHandler::InstallHandler(&s_host_code_map, s_code_buffer.GetCodePointer(),
|
||||
s_code_buffer.GetTotalSize(), handler))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user