diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index eb77207076..1baac2fba2 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -304,8 +304,9 @@ inline void EmuScreen::setVKeyAnalogY(int stick, int virtualKeyMin, int virtualK } void EmuScreen::key(const KeyInput &key) { - if (key.keyCode == NKCODE_BACK) + if ((key.flags & KEY_DOWN) && key.keyCode == NKCODE_BACK) { pauseTrigger_ = true; + } int result = KeyMap::KeyToPspButton(key.deviceId, key.keyCode); if (result == KEYMAP_ERROR_UNKNOWN_KEY) @@ -566,7 +567,7 @@ void EmuScreen::render() { ui_draw2d.DrawText(UBUNTU24, fpsbuf, dp_xres - 10, 10, 0xFF3fFF3f, ALIGN_TOPRIGHT | FLAG_DYNAMIC_ASCII); ui_draw2d.SetFontScale(1.0f, 1.0f); } - + glsl_bind(UIShader_Get()); ui_draw2d.End(); ui_draw2d.Flush();