mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-29 22:53:45 +00:00
Fix patch_manager.cpp
This commit is contained in:
@@ -179,7 +179,13 @@ VirtualDir PatchManager::PatchExeFS(VirtualDir exefs) const {
|
||||
}
|
||||
std::sort(patch_dirs.begin(), patch_dirs.end(),
|
||||
[](const VirtualDir& l, const VirtualDir& r) {
|
||||
if(!l) return true; if(!r) return false; return l->GetName() < r->GetName();
|
||||
if (!l) {
|
||||
return true;
|
||||
}
|
||||
if (!r) {
|
||||
return false;
|
||||
}
|
||||
return l->GetName() < r->GetName();
|
||||
});
|
||||
|
||||
std::vector<VirtualDir> layers;
|
||||
|
||||
Reference in New Issue
Block a user