diff --git a/core/hw/aica/dsp_arm64.cpp b/core/hw/aica/dsp_arm64.cpp index 9e2150597..68facafa0 100644 --- a/core/hw/aica/dsp_arm64.cpp +++ b/core/hw/aica/dsp_arm64.cpp @@ -67,7 +67,6 @@ public: void Compile(DSPState *DSP) { - JITWriteProtect(false); this->DSP = DSP; DEBUG_LOG(AICA_ARM, "DSPAssembler::DSPCompile recompiling for arm64 at %p", GetBuffer()->GetStartAddress()); @@ -341,7 +340,6 @@ public: vmem_platform_flush_cache( GetBuffer()->GetStartAddress() + rx_offset, GetBuffer()->GetEndAddress() + rx_offset, GetBuffer()->GetStartAddress(), GetBuffer()->GetEndAddress()); - JITWriteProtect(true); } private: diff --git a/core/hw/pvr/Renderer_if.cpp b/core/hw/pvr/Renderer_if.cpp index 88b1be8a2..02e58bb92 100644 --- a/core/hw/pvr/Renderer_if.cpp +++ b/core/hw/pvr/Renderer_if.cpp @@ -444,7 +444,7 @@ void rend_set_fb_write_addr(u32 fb_w_sof1) void rend_swap_frame(u32 fb_r_sof) { - std::lock_guard lock(swap_mutex); + swap_mutex.lock(); if (fb_r_sof == fb_w_cur) { do_swap = true; diff --git a/core/rend/gui.cpp b/core/rend/gui.cpp index 30513367e..e7cc7a608 100644 --- a/core/rend/gui.cpp +++ b/core/rend/gui.cpp @@ -1454,7 +1454,9 @@ static void gui_display_settings() } OptionCheckbox("Widescreen Game Cheats", config::WidescreenGameHacks, "Modify the game so that it displays in 16:9 anamorphic format and use horizontal screen stretching. Only some games are supported."); +#ifndef TARGET_IPHONE OptionCheckbox("VSync", config::VSync, "Synchronizes the frame rate with the screen refresh rate. Recommended"); +#endif OptionCheckbox("Show FPS Counter", config::ShowFPS, "Show on-screen frame/sec counter"); OptionCheckbox("Show VMU In-game", config::FloatVMUs, "Show the VMU LCD screens while in-game"); OptionCheckbox("Rotate Screen 90°", config::Rotate90, "Rotate the screen 90° counterclockwise");