mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-31 07:45:48 -04:00
Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts * More debug and regalloc fixes * Fix PTMF syntax for compatibility with other compilers * Fix some fakematches, link more TUs for J/P
This commit is contained in:
@@ -408,6 +408,13 @@ int daBg_c::draw() {
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
s16 sp56 = 0xFF;
|
||||
if (g_kankyoHIO.navy.fish_pond_colreg_adjust_ON) {
|
||||
sp50 = g_kankyoHIO.navy.fish_pond_colreg_c0;
|
||||
}
|
||||
#endif
|
||||
|
||||
f32 var_f31 = bgPart->tevstr->AmbCol.r / 10.0f;
|
||||
var_f31 *= var_f31;
|
||||
if (var_f31 > 1.0f) {
|
||||
|
||||
Reference in New Issue
Block a user