From 5aa80873e2c24719ef0081d638179e4e52ed04b3 Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Wed, 15 Feb 2023 12:24:54 -0800 Subject: [PATCH] qt: Enable application options for system applications. (#6286) --- src/citra_qt/game_list.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index 4a3771bf8..f9dbcdfee 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -501,8 +501,8 @@ void GameList::AddGamePopup(QMenu& context_menu, const QString& path, u64 progra QAction* delete_opengl_disk_shader_cache = shader_menu->addAction(tr("Delete OpenGL Shader Cache")); - const bool is_application = - 0x0004000000000000 <= program_id && program_id <= 0x00040000FFFFFFFF; + const u32 program_id_high = (program_id >> 32) & 0xFFFFFFFF; + const bool is_application = program_id_high == 0x00040000 || program_id_high == 0x00040010; bool opengl_cache_exists = false; ForEachOpenGLCacheFile(