Make the minimum items per thread explicit. Found some bugs, optional arguments are evil.

This commit is contained in:
Henrik Rydgård committed 2021-06-12 21:21:28 +02:00
1 parent 0fa27ff9d7
commit 3be5c7bd9a
12 files changed
+60 -44

No files matched your search

+1 -1
View File
@@ -330,7 +330,7 @@ static void DoMemoryVoid(PointerWrap &p, uint32_t start, uint32_t size) {
ParallelRangeLoop(&g_threadManager, [&](int l, int h) {
for (int i = l; i < h; i++)
_dbg_assert_msg_(d[i] == storage[i], "Savestate verification failure: %d (0x%X) (at %p) != %d (0x%X) (at %p).\n", d[i], d[i], &d[i], storage[i], storage[i], &storage[i]);
}, 0, size);
}, 0, size, 128);
break;
}
storage += size;