From 8ccee4b77afa9e88a4a7cf2b2efa95875a8ac8d4 Mon Sep 17 00:00:00 2001 From: zilmar Date: Tue, 8 Mar 2016 17:36:18 +1100 Subject: [PATCH] [Glide64] #include to Main.cpp --- Source/Glide64/Main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Glide64/Main.cpp b/Source/Glide64/Main.cpp index 3ae5f4bb1..5f22f22df 100644 --- a/Source/Glide64/Main.cpp +++ b/Source/Glide64/Main.cpp @@ -45,6 +45,7 @@ #include #include #include +#include #include "Config.h" #include "Util.h" @@ -297,6 +298,7 @@ void ReadSettings() if (g_settings->res_data >= 24) g_settings->res_data = 12; g_settings->scr_res_x = g_settings->res_x = resolutions[g_settings->res_data][0]; g_settings->scr_res_y = g_settings->res_y = resolutions[g_settings->res_data][1]; + g_settings->wrpResolution = GetSetting(Set_wrpResolution); g_settings->vsync = GetSetting(Set_vsync); g_settings->ssformat = (uint8_t)GetSetting(Set_ssformat); g_settings->show_fps = (uint8_t)GetSetting(Set_ShowFps); @@ -306,7 +308,6 @@ void ReadSettings() g_settings->texenh_options = GetSetting(Set_texenh_options); g_settings->use_hotkeys = GetSetting(Set_hotkeys); - g_settings->wrpResolution = GetSetting(Set_wrpResolution); g_settings->wrpVRAM = GetSetting(Set_wrpVRAM); g_settings->wrpFBO = GetSetting(Set_wrpFBO); g_settings->wrpAnisotropic = GetSetting(Set_wrpAnisotropic); @@ -369,9 +370,6 @@ void ReadSettings() void ReadSpecialSettings(const char * name) { - // char buf [256]; - // sprintf(buf, "ReadSpecialSettings. Name: %s", name); - // LOG(buf); g_settings->hacks = 0; //detect games which require special hacks