mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 04:35:05 +01:00
qt: Enable application options for system applications. (#6286)
This commit is contained in:
parent
5215468ff6
commit
5aa80873e2
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user