diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-11-17 10:01:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 20:01:03 +0200 |
| commit | 540217c31b88246d5c3abd57bb3fbd97cff6d31c (patch) | |
| tree | cc08666dad6a7cd55539168a0d0e3f6bba188488 /src/d/d_s_play.cpp | |
| parent | 4350a38fe01fa57890eade52c7c5e3789cce83ac (diff) | |
wii building OK / m_Do_graphic debug work (#2815)
* wii building OK + m_Do_graphic debug work
* d_meter_HIO debug cleanup
* wii m_Do_graphic stuff
* tag_attack_item OK, mirror_chain almost
* fix build
* mg_fshop matching
Diffstat (limited to 'src/d/d_s_play.cpp')
| -rw-r--r-- | src/d/d_s_play.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/d/d_s_play.cpp b/src/d/d_s_play.cpp index bced5bfc1f..9934e58114 100644 --- a/src/d/d_s_play.cpp +++ b/src/d/d_s_play.cpp @@ -27,6 +27,10 @@ #include "d/actor/d_a_suspend.h" #include "d/actor/d_a_ykgr.h" +#if PLATFORM_WII +#include "d/d_cursor_mng.h" +#endif + static void dScnPly_Create(scene_class*); static int dScnPly_Delete(dScnPly_c*); static int dScnPly_IsDelete(dScnPly_c); @@ -293,6 +297,11 @@ static int dScnPly_Delete(dScnPly_c* i_this) { } dComIfGp_init(); + + #if PLATFORM_WII + data_8053a730 = 0; + #endif + JUTAssertion::setMessageCount(0); return 1; } @@ -345,6 +354,10 @@ static int phase_00(dScnPly_c* i_this) { if (!i_this->resetGame()) { return cPhs_INIT_e; } else { + #if PLATFORM_WII + data_8053a730 = 1; + #endif + mDoGph_gInf_c::offBlure(); return cPhs_NEXT_e; } @@ -613,7 +626,7 @@ static int phase_4(dScnPly_c* i_this) { dComIfGp_setPlayerPtr(i, NULL); } - dComIfGp_setWindow(0, 0.0f, 0.0f, 608.0f, 448.0f, 0.0f, 1.0f, 0, 2); + dComIfGp_setWindow(0, 0.0f, 0.0f, FB_WIDTH, FB_HEIGHT, 0.0f, 1.0f, 0, 2); dComIfGp_setCameraInfo(0, NULL, 0, 0, -1); dComIfGd_setWindow(NULL); dComIfGd_setViewport(NULL); |
