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.
This commit is contained in:
pk-2000 2021-09-01 18:59:57 +03:00 committed by GitHub
parent e7c3cd6a2f
commit 2f4c775196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -291,10 +291,10 @@ static std::string baseName(const std::string &path)
static void setupScreenSize(Config &conf) static void setupScreenSize(Config &conf)
{ {
if (conf.defScreenW <= 0) if (conf.defScreenW <= 0)
conf.defScreenW = (conf.rgssVersion == 1 ? 640 : 544); conf.defScreenW = 2048;
if (conf.defScreenH <= 0) if (conf.defScreenH <= 0)
conf.defScreenH = (conf.rgssVersion == 1 ? 480 : 416); conf.defScreenH = 1536;
} }
void Config::readGameINI() void Config::readGameINI()