Last night I realized that turning off skip results screen would freeze the game after finishing/quitting a match and attempting to load the victory screen. The crappy thing about this problem was
1) This function was working fine in Dolphin, but not on the Wii.
2) The skip results toggle is not something I check every time I write a new code (and I always leave it on anyways), so I was unsure as to exactly when this issue began.
My immediate thought was, “okay, well I just restructured the entire debug menu and all the flag value locations for the codes, so I must have just messed up something while doing this.”
I was convinced this was the issue and spent at least 2 hours last night checking and changing some of the new code in an attempt to fix the problem. It finally dawned on me to just revert back to an older 2.07 version to see if the problem still existed…(duh!).
Long story short, I figured out the Neutral Start code was causing the issue. One of the injection points used gets executed at the start of the match (to change spawn locations) and during victory screen loading, the latter of which was unbeknownst to me because all of my testing with the Neutral Start was done with skip results on. The re-execution of code at this point is what was causing the freeze.
So I added in a line to the code to check if the victory screen was about to be loaded and if so, just branch to the end of the Neutral Start code and skip it all and only execute the default code line. Voila, no more freezing!
Talk about annoying though…console ONLY bugs are the most tedious to fix. And this is a good example of why I have a hard time giving a specific release date, because all “further progress on new codes” that I planned on making last night was completely thrown out the window. Nonetheless, some problems are fixed, which is definitely a good thing in the long run.
I did start working on some texture mods for the Stage Select Screen right before bed, because there will be quite a few additions in the new pack