[Glide64] Have Settings.h in Settings.cpp
This commit is contained in:
parent
0115f87e62
commit
9557e25522
|
@ -70,7 +70,6 @@ the plugin
|
||||||
#include <stddef.h> // offsetof
|
#include <stddef.h> // offsetof
|
||||||
#include <glide.h>
|
#include <glide.h>
|
||||||
#include <Common/MemTest.h>
|
#include <Common/MemTest.h>
|
||||||
#include <Settings/Settings.h>
|
|
||||||
#include "GlideExtensions.h"
|
#include "GlideExtensions.h"
|
||||||
#include "rdp.h"
|
#include "rdp.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
|
|
@ -1,16 +1,9 @@
|
||||||
#include <Common/StdString.h>
|
#include <Common/StdString.h>
|
||||||
|
#include <Settings/Settings.h>
|
||||||
#include "Gfx_1.3.h"
|
#include "Gfx_1.3.h"
|
||||||
#include "ScreenResolution.h"
|
#include "ScreenResolution.h"
|
||||||
#include "SettingsID.h"
|
#include "SettingsID.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
int GetCurrentResIndex(void);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef ANDROID
|
|
||||||
extern uint32_t g_NativeWidth, g_NativeHeight;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int g_width, g_height;
|
extern int g_width, g_height;
|
||||||
|
|
||||||
CSettings::CSettings() :
|
CSettings::CSettings() :
|
||||||
|
@ -109,9 +102,6 @@ void CSettings::RegisterSettings(void)
|
||||||
|
|
||||||
SetModuleName("Glide64");
|
SetModuleName("Glide64");
|
||||||
general_setting(Set_Resolution, "resolution", GetDefaultScreenRes());
|
general_setting(Set_Resolution, "resolution", GetDefaultScreenRes());
|
||||||
#ifdef _WIN32
|
|
||||||
general_setting(Set_FullScreenRes, "FullScreenRes", GetCurrentResIndex());
|
|
||||||
#endif
|
|
||||||
general_setting(Set_vsync, "vsync", true);
|
general_setting(Set_vsync, "vsync", true);
|
||||||
general_setting(Set_texenh_options, "texenh_options", false);
|
general_setting(Set_texenh_options, "texenh_options", false);
|
||||||
general_setting(Set_wrpVRAM, "wrpVRAM", 0);
|
general_setting(Set_wrpVRAM, "wrpVRAM", 0);
|
||||||
|
|
Loading…
Reference in New Issue