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:
Unknown W. Brackets committed 2015-06-28 10:42:19 -07:00
1 parent 213ad4bcc9
commit 909e4b9bd8
4 files changed
+6 -3

No files matched your search

+3 -1
View File
@@ -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);