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
This commit is contained in:
TakaRikka
2025-11-17 10:01:03 -08:00
committed by GitHub
parent 4350a38fe0
commit 540217c31b
99 changed files with 3837 additions and 1964 deletions
+3 -3
View File
@@ -917,17 +917,17 @@ void dKydb_dungeonlight_draw() {
proj.x -= 30.0f;
}
if (proj.x < 0.0f || proj.x > 640.0f || proj.y < 0.0f || proj.y > 456.0f) {
if (proj.x < 0.0f || proj.x > FB_WIDTH || proj.y < 0.0f || proj.y > FB_HEIGHT) {
if (proj.x < 0.0f) {
proj.x = 10.0f;
}
if (proj.x > 640.0f) {
if (proj.x > FB_WIDTH) {
proj.x = 560.0f;
}
if (proj.y < 0.0f) {
proj.y = 40.0f;
}
if (proj.y > 456.0f) {
if (proj.y > FB_HEIGHT) {
proj.y = 404.0f;
}