add relevant config entries
This commit is contained in:
parent
39080be9b7
commit
939a376389
|
@ -28,12 +28,18 @@ namespace Config
|
|||
|
||||
const char* kConfigFile = "melonDS.ini";
|
||||
|
||||
int _3DRenderer;
|
||||
int Threaded3D;
|
||||
|
||||
int GL_Antialias;
|
||||
|
||||
ConfigEntry ConfigFile[] =
|
||||
{
|
||||
{"3DRenderer", 0, &_3DRenderer, 1, NULL, 0},
|
||||
{"Threaded3D", 0, &Threaded3D, 1, NULL, 0},
|
||||
|
||||
{"GL_Antialias", 0, &GL_Antialias, 0, NULL, 0},
|
||||
|
||||
{"", -1, NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
|
|
|
@ -40,8 +40,11 @@ bool HasConfigFile(const char* fileName);
|
|||
void Load();
|
||||
void Save();
|
||||
|
||||
extern int _3DRenderer;
|
||||
extern int Threaded3D;
|
||||
|
||||
extern int GL_Antialias;
|
||||
|
||||
}
|
||||
|
||||
#endif // CONFIG_H
|
||||
|
|
|
@ -40,6 +40,10 @@ int ScreenLayout;
|
|||
int ScreenSizing;
|
||||
int ScreenFilter;
|
||||
|
||||
int ScreenScale;
|
||||
int ScreenRatio;
|
||||
int ScreenScaleMode;
|
||||
|
||||
int LimitFPS;
|
||||
|
||||
int DirectBoot;
|
||||
|
@ -101,6 +105,10 @@ ConfigEntry PlatformConfigFile[] =
|
|||
{"ScreenSizing", 0, &ScreenSizing, 0, NULL, 0},
|
||||
{"ScreenFilter", 0, &ScreenFilter, 1, NULL, 0},
|
||||
|
||||
{"ScreenScale", 0, &ScreenScale, 0, NULL, 0},
|
||||
{"ScreenRatio", 0, &ScreenRatio, 0, NULL, 0},
|
||||
{"ScreenScaleMode", 0, &ScreenScaleMode, 0, NULL, 0},
|
||||
|
||||
{"LimitFPS", 0, &LimitFPS, 1, NULL, 0},
|
||||
|
||||
{"DirectBoot", 0, &DirectBoot, 1, NULL, 0},
|
||||
|
|
|
@ -48,6 +48,10 @@ extern int ScreenLayout;
|
|||
extern int ScreenSizing;
|
||||
extern int ScreenFilter;
|
||||
|
||||
extern int ScreenScale;
|
||||
extern int ScreenRatio;
|
||||
extern int ScreenScaleMode;
|
||||
|
||||
extern int LimitFPS;
|
||||
|
||||
extern int DirectBoot;
|
||||
|
|
Loading…
Reference in New Issue