diff options
| author | 2018-10-29 16:09:08 -0400 | |
|---|---|---|
| committer | 2018-10-29 16:09:08 -0400 | |
| commit | 48eb3742b9f84108538e2a41019aa9d5d47f7352 (patch) | |
| tree | 27b5ee039535f2357589052bc3021a8274ae47b3 /src/yuzu_cmd | |
| parent | bis_factory: Add getter for mod dump root for a title ID (diff) | |
| download | yuzu-48eb3742b9f84108538e2a41019aa9d5d47f7352.tar.gz yuzu-48eb3742b9f84108538e2a41019aa9d5d47f7352.tar.xz yuzu-48eb3742b9f84108538e2a41019aa9d5d47f7352.zip | |
settings: Add setting to control NSO dumping
Also adds UI option in Debug > Dump section, with the idea later things to be dumped (i.e. other game data or textures, etc) will use the same group box.
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 1 | ||||
| -rw-r--r-- | src/yuzu_cmd/default_ini.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index b456266a6..f20b3a1b3 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -141,6 +141,7 @@ void Config::ReadValues() { | |||
| 141 | Settings::values.gdbstub_port = | 141 | Settings::values.gdbstub_port = |
| 142 | static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689)); | 142 | static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689)); |
| 143 | Settings::values.program_args = sdl2_config->Get("Debugging", "program_args", ""); | 143 | Settings::values.program_args = sdl2_config->Get("Debugging", "program_args", ""); |
| 144 | Settings::values.dump_nso = sdl2_config->GetBoolean("Debugging", "dump_nso", false); | ||
| 144 | 145 | ||
| 145 | // Web Service | 146 | // Web Service |
| 146 | Settings::values.enable_telemetry = | 147 | Settings::values.enable_telemetry = |
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index e0b223cd6..d83498358 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h | |||
| @@ -201,6 +201,8 @@ log_filter = *:Trace | |||
| 201 | # Port for listening to GDB connections. | 201 | # Port for listening to GDB connections. |
| 202 | use_gdbstub=false | 202 | use_gdbstub=false |
| 203 | gdbstub_port=24689 | 203 | gdbstub_port=24689 |
| 204 | # Determines whether or not yuzu will dump all NSOs it attempts to load while loading them | ||
| 205 | dump_nso=false | ||
| 204 | 206 | ||
| 205 | [WebService] | 207 | [WebService] |
| 206 | # Whether or not to enable telemetry | 208 | # Whether or not to enable telemetry |