mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-05 19:27:23 -04:00
match JFWDisplay
This commit is contained in:
+1
-1
@@ -544,7 +544,7 @@ config.libs = [
|
||||
JSystemLib(
|
||||
"JFramework",
|
||||
[
|
||||
Object(NonMatching, "JSystem/JFramework/JFWDisplay.cpp"),
|
||||
Object(Matching, "JSystem/JFramework/JFWDisplay.cpp"),
|
||||
Object(NonMatching, "JSystem/JFramework/JFWSystem.cpp"),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -148,9 +148,9 @@ void JFWDisplay::exchangeXfb_double() {
|
||||
}
|
||||
}
|
||||
|
||||
const u32 idx = xfbMng->getDrawingXfbIndex();
|
||||
s16 idx = xfbMng->getDrawingXfbIndex();
|
||||
xfbMng->setDrawnXfbIndex(idx);
|
||||
xfbMng->setDrawingXfbIndex(((idx >> 31) - 1) & (idx ^ 1)); //not sure what this math is doing
|
||||
xfbMng->setDrawingXfbIndex(idx >= 0 ? idx ^ 1 : 0);
|
||||
}
|
||||
else {
|
||||
clearEfb(mClearColor);
|
||||
|
||||
Reference in New Issue
Block a user