Config: Add integer scaling options

This commit is contained in:
Amaryllis Kulla 2021-12-07 07:10:45 +01:00
parent ca71e6ecb7
commit f6db7be538
3 changed files with 32 additions and 0 deletions

View file

@ -170,6 +170,8 @@ void Config::read(int argc, char *argv[])
PO_DESC(subImageFix, bool, false) \
PO_DESC(enableBlitting, bool, true) \
PO_DESC(maxTextureSize, int, 0) \
PO_DESC(integerScaling.active, bool, false) \
PO_DESC(integerScaling.lastMileScaling, bool, true) \
PO_DESC(gameFolder, std::string, ".") \
PO_DESC(anyAltToggleFS, bool, false) \
PO_DESC(enableReset, bool, true) \

View file

@ -59,6 +59,12 @@ struct Config
bool enableBlitting;
int maxTextureSize;
struct
{
bool active;
bool lastMileScaling;
} integerScaling;
std::string gameFolder;
bool anyAltToggleFS;
bool enableReset;