fix window position saving when changing zoom via hotkey

This commit is contained in:
thrust26 2020-05-07 23:09:11 +02:00
parent 8d086b9ef9
commit 754cd90f90
2 changed files with 4 additions and 2 deletions

View File

@ -1621,13 +1621,13 @@
</tr>
<tr>
<td>Decrease custom palette phase shift (switches to 'Custom' palette)</td>
<td>Decrease 'Custom' palette's phase shift</td>
<td>Shift-Control + 9</td>
<td>Shift-Control + 9</td>
</tr>
<tr>
<td>Increase custom palette phase shift (switches to 'Custom' palette)</td>
<td>Increase 'Custom' palette's phase shift</td>
<td>Control + 9</td>
<td>Control + 9</td>
</tr>

View File

@ -939,6 +939,8 @@ bool FrameBuffer::changeVidMode(int direction)
else
return false;
saveCurrentWindowPosition();
// Changing the video mode can take some time, during which the last
// sound played may get 'stuck'
// So we mute the sound until the operation completes