add texture dumping as a config entry

This commit is contained in:
khang06 2019-04-02 20:57:13 -04:00 committed by James Rowe
parent 2b92065d2a
commit e0d63bd21b
10 changed files with 49 additions and 1 deletions

View file

@ -162,6 +162,9 @@ void Config::ReadValues() {
Settings::values.custom_bottom_bottom =
static_cast<u16>(sdl2_config->GetInteger("Layout", "custom_bottom_bottom", 480));
// Utility
Settings::values.dump_textures = sdl2_config->GetBoolean("Utility", "dump_textures", false);
// Audio
Settings::values.enable_dsp_lle = sdl2_config->GetBoolean("Audio", "enable_dsp_lle", false);
Settings::values.enable_dsp_lle_multithread =

View file

@ -178,6 +178,10 @@ custom_bottom_bottom =
# 0 (default): Top Screen is prominent, 1: Bottom Screen is prominent
swap_screen =
# Dumps textures as PNG to dump/textures/[Title ID]/.
# 0 (default): Off, 1: On
dump_textures =
[Audio]
# Whether or not to enable DSP LLE
# 0 (default): No, 1: Yes