From 1570aeffcbd388308fd192a7e64fe9fa4b40f248 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sat, 4 Nov 2023 20:15:21 +0100 Subject: [PATCH] game_list: Treat demos as applications (#7097) * game_list: Treat demos as applications Allows the dumping of RomFS from demos. * game_list: Add TODO about using bitmasks for title ID high checks. --------- Co-authored-by: Steveice10 <1269164+Steveice10@users.noreply.github.com> --- src/citra_qt/game_list.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index 6f292ce68..996088df0 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -560,7 +560,9 @@ void GameList::AddGamePopup(QMenu& context_menu, const QString& path, const QStr QAction* properties = context_menu.addAction(tr("Properties")); const u32 program_id_high = (program_id >> 32) & 0xFFFFFFFF; - const bool is_application = program_id_high == 0x00040000 || program_id_high == 0x00040010; + // TODO: Use proper bitmasks for these kinds of checks. + const bool is_application = program_id_high == 0x00040000 || program_id_high == 0x00040002 || + program_id_high == 0x00040010; bool opengl_cache_exists = false; ForEachOpenGLCacheFile(