Fix saving/loading state for GBAGameCore.