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>
This commit is contained in:
parent
09ee80f590
commit
1570aeffcb
|
@ -560,7 +560,9 @@ void GameList::AddGamePopup(QMenu& context_menu, const QString& path, const QStr
|
||||||
QAction* properties = context_menu.addAction(tr("Properties"));
|
QAction* properties = context_menu.addAction(tr("Properties"));
|
||||||
|
|
||||||
const u32 program_id_high = (program_id >> 32) & 0xFFFFFFFF;
|
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;
|
bool opengl_cache_exists = false;
|
||||||
ForEachOpenGLCacheFile(
|
ForEachOpenGLCacheFile(
|
||||||
|
|
Reference in New Issue