summaryrefslogtreecommitdiff
path: root/src/d/d_s_logo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_s_logo.cpp')
-rw-r--r--src/d/d_s_logo.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/d/d_s_logo.cpp b/src/d/d_s_logo.cpp
index 4709adc528..8e32ea4d3f 100644
--- a/src/d/d_s_logo.cpp
+++ b/src/d/d_s_logo.cpp
@@ -18,6 +18,10 @@
#include "m_Do/m_Do_graphic.h"
#include "m_Do/m_Do_machine.h"
+#if PLATFORM_WII
+#include "d/d_cursor_mng.h"
+#endif
+
#if VERSION == VERSION_GCN_JPN
#define LOGO_ARC "Logo"
#define MSG_PATH "/res/Msgjp/bmgres.arc"
@@ -532,6 +536,10 @@ dScnLogo_c::~dScnLogo_c() {
dDlst_shadowControl_c::setSimpleTex((ResTIMG*)dComIfG_getObjectRes("Always", 0x4A));
dTres_c::createWork();
dMpath_c::createWork();
+
+ #if PLATFORM_WII
+ data_8053a730 = 0;
+ #endif
}
/* 80257910-802579BC 252250 00AC+00 1/0 0/0 0/0 .text phase_0__FP10dScnLogo_c */
@@ -619,6 +627,10 @@ int dScnLogo_c::create() {
return phase_state;
}
+ #if PLATFORM_WII
+ data_8053a730 = 1;
+ #endif
+
mpHeap = mDoExt_setCurrentHeap(field_0x1d4);
logoInitGC();
mpHeap->becomeCurrentHeap();
@@ -730,10 +742,10 @@ void dScnLogo_c::logoInitGC() {
};
ResTIMG* warningImg = (ResTIMG*)mpPalLogoResCommand->getArchive()->getResource('DAT ', warning[language]);
- mWarning = new dDlst_2D_c(warningImg, 0, 0, 608, 448, 255);
+ mWarning = new dDlst_2D_c(warningImg, 0, 0, FB_WIDTH, FB_HEIGHT, 255);
ResTIMG* warnStartImg = (ResTIMG*)mpPalLogoResCommand->getArchive()->getResource('DAT ', warningPs[language]);
- mWarningStart = new dDlst_2D_c(warnStartImg, 0, 359, 608, 48, 255);
+ mWarningStart = new dDlst_2D_c(warnStartImg, 0, 359, FB_WIDTH, 48, 255);
ResTIMG* progChoiceImg = (ResTIMG*)mpPalLogoResCommand->getArchive()->getResource('DAT ', choice[language]);
mProgressiveChoice = new dDlst_2D_c(progChoiceImg, 113, 143, 416, 210, 255);
@@ -751,10 +763,10 @@ void dScnLogo_c::logoInitGC() {
mProgressiveSel = new dDlst_2D_c(mProgressivePro, 153, 309, 336, 88, 255);
#else
ResTIMG* warningImg = (ResTIMG*)dComIfG_getObjectRes(LOGO_ARC, 10);
- mWarning = new dDlst_2D_c(warningImg, 0, 0, 608, 448, 255);
+ mWarning = new dDlst_2D_c(warningImg, 0, 0, FB_WIDTH, FB_HEIGHT, 255);
ResTIMG* warnStartImg = (ResTIMG*)dComIfG_getObjectRes(LOGO_ARC, 11);
- mWarningStart = new dDlst_2D_c(warnStartImg, 0, 359, 608, 48, 255);
+ mWarningStart = new dDlst_2D_c(warnStartImg, 0, 359, FB_WIDTH, 48, 255);
ResTIMG* progChoiceImg = (ResTIMG*)dComIfG_getObjectRes(LOGO_ARC, 5);
mProgressiveChoice = new dDlst_2D_c(progChoiceImg, 113, 281, 416, 72, 255);