File tree Expand file tree Collapse file tree 3 files changed +507
-507
lines changed
base-hack/src/initialization Expand file tree Collapse file tree 3 files changed +507
-507
lines changed Original file line number Diff line number Diff line change 1212 */
1313#include "../../include/common.h"
1414
15- ROM_DATA static char music_storage [MUSIC_SIZE ];
15+ ROM_DATA static char music_storage [MUSIC_SIZE + 0xF ];
1616
1717ROM_RODATA_NUM const char music_types [SONG_COUNT ] = {
1818 -1 ,
@@ -239,7 +239,7 @@ void initHack(int source) {
239239 */
240240 if (LoadedHooks == 0 ) {
241241 if ((source == 1 ) || (CurrentMap == MAP_NINTENDOLOGO )) {
242- * (int * )(0x8076BF38 ) = (int )& music_storage [0 ]; // Increase music storage
242+ * (int * )(0x8076BF38 ) = (( int )( & music_storage [0 ]) + 0xF ) & 0xFFFFFFF0 ; // Increase music storage. Ensure it's 0x10 aligned
243243 grab_lock_timer = -1 ;
244244 bonusAutocomplete = Rando .resolve_bonus ;
245245 TextHoldOn = Rando .quality_of_life .textbox_hold ;
You can’t perform that action at this time.
0 commit comments