mirror of https://github.com/mgba-emu/mgba.git
Switch: Make OpenGL scale adjustable while running
This commit is contained in:
parent
32885140c8
commit
79145e29a2
2
CHANGES
2
CHANGES
|
@ -16,6 +16,8 @@ Other fixes:
|
||||||
- Qt: Fix toggled actions on gamepads (fixes mgba.io/i/1650)
|
- Qt: Fix toggled actions on gamepads (fixes mgba.io/i/1650)
|
||||||
- Qt: Fix extraneous dialog (fixes mgba.io/i/1654)
|
- Qt: Fix extraneous dialog (fixes mgba.io/i/1654)
|
||||||
- Util: Fix crash reading invalid ELFs
|
- Util: Fix crash reading invalid ELFs
|
||||||
|
Misc:
|
||||||
|
- Switch: Make OpenGL scale adjustable while running
|
||||||
|
|
||||||
0.8.0: (2020-01-21)
|
0.8.0: (2020-01-21)
|
||||||
Features:
|
Features:
|
||||||
|
|
|
@ -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.up = 0;
|
||||||
rumble.down = 0;
|
rumble.down = 0;
|
||||||
}
|
}
|
||||||
|
@ -857,7 +862,7 @@ int main(int argc, char* argv[]) {
|
||||||
.nStates = 16
|
.nStates = 16
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.title = "GPU-accelerated renderer (experimental, requires game reload)",
|
.title = "GPU-accelerated renderer (requires game reload)",
|
||||||
.data = "hwaccelVideo",
|
.data = "hwaccelVideo",
|
||||||
.submenu = 0,
|
.submenu = 0,
|
||||||
.state = 0,
|
.state = 0,
|
||||||
|
|
Loading…
Reference in New Issue