Fix comparison operators

This commit is contained in:
BreadFish64 2018-01-25 20:50:22 -06:00 committed by GitHub
parent db3c83fedc
commit 4f5892d86d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,7 +403,7 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign
std::vector<u8> original_smdh;
loader->ReadIcon(original_smdh);
if (0x4000000000000 > program_id && program_id > 0x40000FFFFFFFF)
if (program_id >= 0x4000000000000 && program_id <= 0x40000FFFFFFFF)
return original_smdh;
std::string update_path = Service::AM::GetTitleContentPath(