Skip to content

Commit 89966a2

Browse files
committed
Set clipSidesOffset appropriately so that messages are not clipped in Qt GUI.
1 parent 6376c9a commit 89966a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/drivers/Qt/sdl-video.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ int InitVideo(FCEUGI *gi)
223223
g_config->getOption("SDL.ScanLineEndPAL", &endPAL);
224224
uint32_t rmask, gmask, bmask;
225225

226+
ClipSidesOffset = s_clipSides ? 8 : 0;
227+
226228
FCEUI_SetRenderedLines(startNTSC, endNTSC, startPAL, endPAL);
227229

228230
s_exs = 1.0;

0 commit comments

Comments
 (0)