mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-25 08:32:48 -06:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue