From 2f4c77519610f820a470ac4c8bd4902e6616e4f0 Mon Sep 17 00:00:00 2001 From: pk-2000 <63214388+pk-2000@users.noreply.github.com> Date: Wed, 1 Sep 2021 18:59:57 +0300 Subject: [PATCH] Default allowed resollution QXGA (2048/1536) Mkxp will be able to guess/handle any game resolution automatically as long is lower than 2048/1536, without adding or editing the game resolution in "mkxp.conf". The actual size of the window will be determined automatically from the "eventhread.cpp" during the initial launch of the game. --- src/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index 85d148d..0ef0aaa 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -291,10 +291,10 @@ static std::string baseName(const std::string &path) static void setupScreenSize(Config &conf) { if (conf.defScreenW <= 0) - conf.defScreenW = (conf.rgssVersion == 1 ? 640 : 544); + conf.defScreenW = 2048; if (conf.defScreenH <= 0) - conf.defScreenH = (conf.rgssVersion == 1 ? 480 : 416); + conf.defScreenH = 1536; } void Config::readGameINI()