mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
Fix some bugs and warnings from a pass of static analysis
This commit is contained in:
1 parent
722178e205
commit
d6ebfed432
25 files changed
+72
-49
No files matched your search
@@ -243,8 +243,10 @@ void MemSlabMap::DoState(PointerWrap &p) {
|
||||
|
||||
Slab *slab = first_;
|
||||
for (int i = 0; i < count; ++i) {
|
||||
slab->next->DoState(p);
|
||||
slab = slab->next;
|
||||
if (slab->next) {
|
||||
slab->next->DoState(p);
|
||||
slab = slab->next;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user