Poke_Transporter_GB/source/dbg/debug_mode.cpp
Philippe Symons c9ed32e3a1 Debug option: Write/Load Cable data to/from SRAM
This commit allows you to use the Write Cbl Data debug option and new Load Cbl Data debug option to dump a link's data to SRAM
or load it from SRAM and pretend like you got it over the link cable.

This is useful for capturing the link process on gameboy and replay + debug it later in an emulator.
2026-06-04 15:22:46 +02:00

19 lines
779 B
C++

#include "dbg/debug_mode.h"
debug_options g_debug_options =
{
.print_link_data = (true && DEBUG_MODE),
.instant_text_speed = (true && DEBUG_MODE),
.ignore_game_pak = (true && DEBUG_MODE),
.ignore_game_pak_sprites = (false && DEBUG_MODE),
.ignore_link_cable = (false && DEBUG_MODE),
.ignore_mg_e4_flags = (true && DEBUG_MODE),
.ignore_unreceived_pkmn = (true && DEBUG_MODE),
.force_tutorial = (false && DEBUG_MODE),
.dont_hide_invalid_pkmn = (false && DEBUG_MODE),
.ignore_dex_completion = (false && DEBUG_MODE),
.force_all_caught = (true && DEBUG_MODE),
.write_cable_data_to_save = (u8)WRITE_CABLE_DATA_MODE_OFF,
.load_cable_data_from_save = (u8)WRITE_CABLE_DATA_MODE_OFF,
.display_control_char = (false && DEBUG_MODE)
};