Pass event to change 4:3/16:9 mode in Min UI.

This commit is contained in:
Stephen Anthony 2019-05-04 17:58:19 -02:30
parent 95341b9030
commit 72ecc92326
1 changed files with 1 additions and 3 deletions

View File

@ -229,9 +229,7 @@ void MinUICommandDialog::handleCommand(CommandSender* sender, int cmd,
case kStretchCmd: case kStretchCmd:
instance().eventHandler().leaveMenuMode(); instance().eventHandler().leaveMenuMode();
instance().settings().setValue("tia.fs_stretch", !instance().settings().getBool("tia.fs_stretch")); instance().eventHandler().handleEvent(Event::VidmodeIncrease);
// Issue a complete framebuffer re-initialization
instance().createFrameBuffer();
break; break;
case kPhosphorCmd: case kPhosphorCmd: