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;
|
std::vector<u8> original_smdh;
|
||||||
loader->ReadIcon(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;
|
return original_smdh;
|
||||||
|
|
||||||
std::string update_path = Service::AM::GetTitleContentPath(
|
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))
|
if (!FileUtil::Exists(update_path))
|
||||||
return original_smdh;
|
return original_smdh;
|
||||||
|
|
Reference in New Issue