mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
fix comparison operator
This commit is contained in:
parent
4f5892d86d
commit
79e4fe58dc
@ -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 New Issue
Block a user