mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Add support of 6xBRZ to user interface.
This commit is contained in:
parent
daf18efabb
commit
5bf7a4e4de
|
@ -45,7 +45,7 @@ static const char * cmbTexFilter_choices[numFilters] = {
|
||||||
"Sharp filtering 2"
|
"Sharp filtering 2"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned int numEnhancements = 13U;
|
static const unsigned int numEnhancements = 14U;
|
||||||
static const char * cmbTexEnhancement_choices[numEnhancements] = {
|
static const char * cmbTexEnhancement_choices[numEnhancements] = {
|
||||||
"None",
|
"None",
|
||||||
"Store",
|
"Store",
|
||||||
|
@ -59,7 +59,8 @@ static const char * cmbTexEnhancement_choices[numEnhancements] = {
|
||||||
"2xBRZ",
|
"2xBRZ",
|
||||||
"3xBRZ",
|
"3xBRZ",
|
||||||
"4xBRZ",
|
"4xBRZ",
|
||||||
"5xBRZ"
|
"5xBRZ",
|
||||||
|
"6xBRZ"
|
||||||
};
|
};
|
||||||
|
|
||||||
void ConfigDialog::_init()
|
void ConfigDialog::_init()
|
||||||
|
|
|
@ -1401,7 +1401,8 @@ u32 textureEnhancements[] = {
|
||||||
BRZ2X_ENHANCEMENT, //"2XBRZ"
|
BRZ2X_ENHANCEMENT, //"2XBRZ"
|
||||||
BRZ3X_ENHANCEMENT, //"3XBRZ"
|
BRZ3X_ENHANCEMENT, //"3XBRZ"
|
||||||
BRZ4X_ENHANCEMENT, //"4XBRZ"
|
BRZ4X_ENHANCEMENT, //"4XBRZ"
|
||||||
BRZ5X_ENHANCEMENT //"5XBRZ"
|
BRZ5X_ENHANCEMENT, //"5XBRZ"
|
||||||
|
BRZ6X_ENHANCEMENT //"6XBRZ"
|
||||||
};
|
};
|
||||||
|
|
||||||
void displayLoadProgress(const wchar_t *format, ...)
|
void displayLoadProgress(const wchar_t *format, ...)
|
||||||
|
|
|
@ -92,7 +92,7 @@ bool Config_SetDefault()
|
||||||
//#Texture filter settings
|
//#Texture filter settings
|
||||||
res = ConfigSetDefaultInt(g_configVideoGliden64, "txFilterMode", config.textureFilter.txFilterMode, "Texture filter (0=none, 1=Smooth filtering 1, 2=Smooth filtering 2, 3=Smooth filtering 3, 4=Smooth filtering 4, 5=Sharp filtering 1, 6=Sharp filtering 2)");
|
res = ConfigSetDefaultInt(g_configVideoGliden64, "txFilterMode", config.textureFilter.txFilterMode, "Texture filter (0=none, 1=Smooth filtering 1, 2=Smooth filtering 2, 3=Smooth filtering 3, 4=Smooth filtering 4, 5=Sharp filtering 1, 6=Sharp filtering 2)");
|
||||||
assert(res == M64ERR_SUCCESS);
|
assert(res == M64ERR_SUCCESS);
|
||||||
res = ConfigSetDefaultInt(g_configVideoGliden64, "txEnhancementMode", config.textureFilter.txEnhancementMode, "Texture Enhancement (0=none, 1=store as is, 2=X2, 3=X2SAI, 4=HQ2X, 5=HQ2XS, 6=LQ2X, 7=LQ2XS, 8=HQ4X, 9=2xBRZ, 10=3xBRZ, 11=4xBRZ, 12=5xBRZ)");
|
res = ConfigSetDefaultInt(g_configVideoGliden64, "txEnhancementMode", config.textureFilter.txEnhancementMode, "Texture Enhancement (0=none, 1=store as is, 2=X2, 3=X2SAI, 4=HQ2X, 5=HQ2XS, 6=LQ2X, 7=LQ2XS, 8=HQ4X, 9=2xBRZ, 10=3xBRZ, 11=4xBRZ, 12=5xBRZ), 13=6xBRZ");
|
||||||
assert(res == M64ERR_SUCCESS);
|
assert(res == M64ERR_SUCCESS);
|
||||||
res = ConfigSetDefaultBool(g_configVideoGliden64, "txFilterIgnoreBG", config.textureFilter.txFilterIgnoreBG, "Don't filter background textures.");
|
res = ConfigSetDefaultBool(g_configVideoGliden64, "txFilterIgnoreBG", config.textureFilter.txFilterIgnoreBG, "Don't filter background textures.");
|
||||||
assert(res == M64ERR_SUCCESS);
|
assert(res == M64ERR_SUCCESS);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user