mirror of
https://github.com/PabloMK7/citra.git
synced 2024-12-01 11:49:37 +00:00
fix comparison operator
This commit is contained in:
parent
4f5892d86d
commit
79e4fe58dc
1 changed files with 2 additions and 2 deletions
|
@ -403,11 +403,11 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign
|
|||
std::vector<u8> original_smdh;
|
||||
loader->ReadIcon(original_smdh);
|
||||
|
||||
if (program_id >= 0x4000000000000 && program_id <= 0x40000FFFFFFFF)
|
||||
if (program_id < 0x00040000'00000000 || program_id > 0x00040000'FFFFFFFF)
|
||||
return original_smdh;
|
||||
|
||||
std::string update_path = Service::AM::GetTitleContentPath(
|
||||
Service::FS::MediaType::SDMC, program_id + 0xe00000000);
|
||||
Service::FS::MediaType::SDMC, program_id + 0x0000000E'00000000);
|
||||
|
||||
if (!FileUtil::Exists(update_path))
|
||||
return original_smdh;
|
||||
|
|
Loading…
Reference in a new issue