mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Switch lo and hi so that low comes first.
This way we can treat it as a single 64-bit value.
This commit is contained in:
1 parent
213ad4bcc9
commit
909e4b9bd8
4 files changed
+6
-3
No files matched your search
@@ -523,7 +523,7 @@ public:
|
||||
|
||||
void DoState(PointerWrap &p) override
|
||||
{
|
||||
auto s = p.Section("Thread", 1, 4);
|
||||
auto s = p.Section("Thread", 1, 5);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
@@ -553,6 +553,8 @@ public:
|
||||
context.other[4] = context.other[5];
|
||||
context.other[3] = context.other[4];
|
||||
}
|
||||
if (s <= 4)
|
||||
std::swap(context.hi, context.lo);
|
||||
|
||||
p.Do(callbacks);
|
||||
|
||||
|
||||
Reference in new issue
Block a user