JUTProcBar OK

This commit is contained in:
LagoLunatic
2023-11-18 17:18:47 -05:00
parent d0ee5ff422
commit 78a12b9334
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -827,7 +827,7 @@ config.libs = [
Object(Matching, "JSystem/JUtility/JUTVideo.cpp"),
Object(NonMatching, "JSystem/JUtility/JUTXfb.cpp"),
Object(Matching, "JSystem/JUtility/JUTFader.cpp"),
Object(NonMatching, "JSystem/JUtility/JUTProcBar.cpp"),
Object(Matching, "JSystem/JUtility/JUTProcBar.cpp"),
Object(NonMatching, "JSystem/JUtility/JUTConsole.cpp"),
Object(Matching, "JSystem/JUtility/JUTDirectFile.cpp"),
Object(Matching, "JSystem/JUtility/JUTGba.cpp"),
+1 -1
View File
@@ -33,7 +33,7 @@ public:
width = (u16)getFbWidth();
height = (u16)getEfbHeight();
}
u32 getXfbHeight() const { return mRenderObj->xfb_height; }
u32 getXfbHeight() const { return mRenderObj->xfb_height & 0xFFFF; }
u32 isAntiAliasing() const { return mRenderObj->antialiasing; }
Pattern getSamplePattern() const { return mRenderObj->sample_pattern; }
u8* getVFilter() const { return mRenderObj->vfilter; }
+2 -3
View File
@@ -12,12 +12,11 @@
/* 802C882C-802C8944 .text __ct__10JUTProcBarFv */
// missing instruction
JUTProcBar::JUTProcBar() {
/* Nonmatching */
mVisible = true;
mHeapBarVisible = true;
field_0x108 = 0;
u32 height = JUTVideo::getManager()->getXfbHeight();
if (height > 400) {
u16 height = JUTVideo::getManager()->getXfbHeight();
if (JUTVideo::getManager()->getXfbHeight() > 400) {
mParams.setBarWidth(2);
mParams.setPosition(39, height - 40);
mParams.setWidth(562);