mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-11 11:32:42 -04:00
JUTProcBar OK
This commit is contained in:
+1
-1
@@ -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"),
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user