Switch: Make OpenGL scale adjustable while running

This commit is contained in:
Vicki Pfau 2020-01-31 18:05:24 -08:00
parent d46f12aa8e
commit d4ca59df16
2 changed files with 7 additions and 1 deletions

View File

@ -26,6 +26,7 @@ Other fixes:
- Util: Fix crash reading invalid ELFs
Misc:
- Qt: Renderer can be changed while a game is running
- Switch: Make OpenGL scale adjustable while running
0.8.0: (2020-01-21)
Features:

View File

@ -320,6 +320,11 @@ static void _gameLoaded(struct mGUIRunner* runner) {
}
}
int scale;
if (mCoreConfigGetUIntValue(&runner->config, "videoScale", &scale)) {
runner->core->reloadConfigOption(runner->core, "videoScale", &runner->config);
}
rumble.up = 0;
rumble.down = 0;
}
@ -857,7 +862,7 @@ int main(int argc, char* argv[]) {
.nStates = 16
},
{
.title = "GPU-accelerated renderer (experimental, requires game reload)",
.title = "GPU-accelerated renderer (requires game reload)",
.data = "hwaccelVideo",
.submenu = 0,
.state = 0,