You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Fix console issue where gIsConsole is checked before being initialized
This commit is contained in:
@@ -1248,8 +1248,8 @@ void audio_reset_session(void) {
|
||||
if (gReverbDownsampleRate < (1 << (reverbConsole - 1)))
|
||||
gReverbDownsampleRate = (1 << (reverbConsole - 1));
|
||||
reverbWindowSize /= gReverbDownsampleRate;
|
||||
if (reverbWindowSize < DEFAULT_LEN_2CH) // This might not actually be necessary?
|
||||
reverbWindowSize = DEFAULT_LEN_2CH;
|
||||
// if (reverbWindowSize < DEFAULT_LEN_2CH) // This might not actually be necessary?
|
||||
// reverbWindowSize = DEFAULT_LEN_2CH;
|
||||
#endif
|
||||
|
||||
switch (gReverbDownsampleRate) {
|
||||
|
||||
@@ -44,7 +44,7 @@ struct GfxPool *gGfxPool;
|
||||
OSContStatus gControllerStatuses[4];
|
||||
OSContPad gControllerPads[4];
|
||||
u8 gControllerBits;
|
||||
u8 gIsConsole;
|
||||
u8 gIsConsole = TRUE; // Needs to be initialized before audio_reset_session is called
|
||||
u8 gBorderHeight;
|
||||
#ifdef EEP
|
||||
s8 gEepromProbe;
|
||||
@@ -76,11 +76,9 @@ UNUSED static s32 sUnusedGameInitValue = 0;
|
||||
|
||||
// General timer that runs as the game starts
|
||||
u32 gGlobalTimer = 0;
|
||||
u8 gIsConsole;
|
||||
#ifdef WIDE
|
||||
u8 gWidescreen;
|
||||
#endif
|
||||
u8 gBorderHeight;
|
||||
|
||||
// Framebuffer rendering values (max 3)
|
||||
u16 sRenderedFramebuffer = 0;
|
||||
|
||||
Reference in New Issue
Block a user