qt: Enable application options for system applications. (#6286)

This commit is contained in:
Steveice10 2023-02-15 12:24:54 -08:00 committed by GitHub
parent 5215468ff6
commit 5aa80873e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -501,8 +501,8 @@ void GameList::AddGamePopup(QMenu& context_menu, const QString& path, u64 progra
QAction* delete_opengl_disk_shader_cache = QAction* delete_opengl_disk_shader_cache =
shader_menu->addAction(tr("Delete OpenGL Shader Cache")); shader_menu->addAction(tr("Delete OpenGL Shader Cache"));
const bool is_application = const u32 program_id_high = (program_id >> 32) & 0xFFFFFFFF;
0x0004000000000000 <= program_id && program_id <= 0x00040000FFFFFFFF; const bool is_application = program_id_high == 0x00040000 || program_id_high == 0x00040010;
bool opengl_cache_exists = false; bool opengl_cache_exists = false;
ForEachOpenGLCacheFile( ForEachOpenGLCacheFile(