mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-06 18:02:28 -04:00
match JFWDisplay
This commit is contained in:
@@ -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