mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-20 11:34:29 -04: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(),
|
std::sort(patch_dirs.begin(), patch_dirs.end(),
|
||||||
[](const VirtualDir& l, const VirtualDir& r) {
|
[](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;
|
std::vector<VirtualDir> layers;
|
||||||
|
|||||||
Reference in New Issue
Block a user