ref: c52812664e563190db5e2c377a9db4334c255e12
parent: 18986336024c6c9c3631adb3a4d8f94e53bc62a6
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Apr 19 18:37:37 EDT 2020
Fix bosses flicking across the screen when hurt The Wii U's wacky PowerPC architecture highlighted a cool platform-dependency: the boss rendering code only properly works on platforms where `char` is signed by default. Granted, it's possible Pixel explicitly marked this variable as signed. Who knows. Either way, CSE2 didn't, and now that's been fixed.
--- a/src/Boss.cpp
+++ b/src/Boss.cpp
@@ -35,7 +35,7 @@
void PutBossChar(int fx, int fy)
{
- char a = 0;
+ signed char a = 0;
int b;
int side;