mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Update hashmap before deciding to abort.
Otherwise, if you delete it, it can never generate one.
This commit is contained in:
parent
0f3c9ca92f
commit
bde1d14f25
@ -547,7 +547,8 @@ skip:
|
||||
if (filename.empty())
|
||||
filename = hashmapFileName;
|
||||
|
||||
if (!hashMap.size()) {
|
||||
UpdateHashMap();
|
||||
if (hashMap.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -557,8 +558,6 @@ skip:
|
||||
return;
|
||||
}
|
||||
|
||||
UpdateHashMap();
|
||||
|
||||
for (auto it = hashMap.begin(), end = hashMap.end(); it != end; ++it) {
|
||||
const HashMapFunc &mf = *it;
|
||||
if (fprintf(file, "%016llx:%d = %s\n", mf.hash, mf.size, mf.name) <= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user