Skip to content

Fix graphical vga mode scaling on loading states#1576

Open
JoeOsborn wants to merge 1 commit into
copy:masterfrom
JoeOsborn:fix-vga-text-scale-on-restore
Open

Fix graphical vga mode scaling on loading states#1576
JoeOsborn wants to merge 1 commit into
copy:masterfrom
JoeOsborn:fix-vga-text-scale-on-restore

Conversation

@JoeOsborn
Copy link
Copy Markdown
Contributor

I encountered an issue similar to the one described in PR 1123. While using VGA text mode, if I made a save state during text mode and started a fullscreen game that was at a different resolution, then when I loaded the state the canvas size (notably its actual size, not its style) would still be set to a smaller value. This is because the number of rows and columns did not actually change, so the text mode display was not refreshed. I fixed this by adding a force parameter to the involved functions to give a way to ensure that the settings were refreshed even if it seemed locally to the screen code like a no-op.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant