Attempt to fix the lockup when transferring pokemon using the new gameboy-payload-update code

Free up some IWRAM by eliminating PokemonTables from the constructor of PokeBox and GenXPokemon/GBPokemon.
This commit is contained in:
Philippe Symons
2026-08-13 11:39:18 +02:00
parent 5d546cd08a
commit 2a57c4249d
5 changed files with 6 additions and 8 deletions

View File

@@ -17,8 +17,7 @@
#include <tonc.h>
int last_error;
PokemonTables pokeTable;
PokeBox box(&pokeTable);
PokeBox box;
Select_Menu langs(false, LANG_MENU, 18, 0);
Select_Menu games(false, CART_MENU, 18, 0);