Add disabling Hori-HD by editing settings.ini

Useful for testing in Citra
This commit is contained in:
RocketRobz 2021-10-11 02:27:34 -06:00
parent 7efcaca11d
commit 851ff2c9dd

View File

@ -41,6 +41,7 @@ sound *sfx_select = NULL;
sound *sfx_back = NULL; sound *sfx_back = NULL;
sound *sfx_highlight = NULL; sound *sfx_highlight = NULL;
bool horiHd = true;
bool dspfirmfound = false; bool dspfirmfound = false;
bool exiting = false; bool exiting = false;
bool musicPlayStarted = false; bool musicPlayStarted = false;
@ -60,6 +61,7 @@ void loadSettings(void) {
setting = settingsini.GetInt("SuperPhotoStudio", "CINEMA_WIDE", false); setting = settingsini.GetInt("SuperPhotoStudio", "CINEMA_WIDE", false);
if (setting > 0) cinemaWide = true; if (setting > 0) cinemaWide = true;
iFps = settingsini.GetInt("SuperPhotoStudio", "FRAME_RATE", iFps); iFps = settingsini.GetInt("SuperPhotoStudio", "FRAME_RATE", iFps);
horiHd = settingsini.GetInt("SAVVY-MANAGER", "HORI_HD", horiHd);
} }
void saveSettings(void) { void saveSettings(void) {
@ -180,7 +182,7 @@ int main()
aptExit(); aptExit();
gfxInitDefault(); gfxInitDefault();
gfxSetWide(consoleModel != 3); // Enable 800x240 mode for non-O2DS consoles. Improves clarity in graphics. gfxSetWide(horiHd && consoleModel != 3); // Enable 800x240 mode for non-O2DS consoles. Improves clarity in graphics.
loadSettings(); loadSettings();
Gui::init(); Gui::init();