u32 highTid = progId >> 0x20;
- // Only regular titles and demos will get dumped
- // Otherwise it's insanely slow
- if (highTid != 0x00040000 && highTid != 0x00040002)
+ // Only dump user titles unless the user is prepared for pain.
+ if (highTid != 0x00040000 && highTid != 0x00040002 && !config.options[OPTION_LOADER_DUMPCODE_ALL])
return;
char code_path[] = CODE_PATH;
// Hook firmlaunches.
#define OPTION_REBOOT 19
+// Dump *all* code, from system applications, modules, etc. You'll be sitting around for about five minutes.
+#define OPTION_LOADER_DUMPCODE_ALL 20
+
// Save log files during boot and from loader.
// This will slow things down a bit.
#define OPTION_SAVE_LOGS 253
{ OPTION_LOADER_CPU_800MHZ, " CPU - 800Mhz (n3ds)", "Forces the system to run in 800Mhz mode. Ignored if not a N3DS.", boolean_val_n3ds, 0, 0 },
{ OPTION_LOADER_LANGEMU, " Language Emulation", "Reads language emulation configuration and imitates the region/language.", boolean_val, 0, 0 },
- { OPTION_LOADER_DUMPCODE, " Dump Code Sections (dev)",
- "Dumps code sections for titles to SD card the first time they're loaded. This doesn't dump system titles. Slows things down considerably.", boolean_val,
+ { OPTION_LOADER_DUMPCODE, " Dump Title Code Sections",
+ "Dumps code sections for titles to SD card the first time they're loaded. Slows things down considerably.", boolean_val,
+ 0, 0 },
+
+ { OPTION_LOADER_DUMPCODE_ALL, " + System Titles",
+ "Dumps code sections for system titles, too. Expect to sit at a black screen for >3mins on the first time.", boolean_val,
0, 0 },
// space