From 0252112a980e0542859ed93c875f0bb78e927e19 Mon Sep 17 00:00:00 2001
From: pk-2000 <63214388+pk-2000@users.noreply.github.com>
Date: Wed, 13 Jan 2021 11:33:43 +0200
Subject: [PATCH] Changed minimum resolution to 256x192

For handling correctly games that use a resolution of 320x240.
---
 src/eventthread.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/eventthread.cpp b/src/eventthread.cpp
index 350a491..905e5d1 100644
--- a/src/eventthread.cpp
+++ b/src/eventthread.cpp
@@ -128,8 +128,8 @@ void EventThread::process(RGSSThreadData &rtData)
 	defScreenH = rtData.config.defScreenH;
 	SDL_GetDesktopDisplayMode(0, &dm);
 	SDL_SetWindowMaximumSize(win, dm.w, dm.h);
-	SDL_SetWindowMinimumSize(win, 320, 240);
-	SDL_SetWindowSize(win, 320, 240);
+	SDL_SetWindowMinimumSize(win, 256, 192);
+	SDL_SetWindowSize(win, 256, 192);
 	int defScreenW_new, defScreenH_new;
 	int firstrun;
 	firstrun = 0;