mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Rename "Off" to "Auto", and fix buggy menu.
This commit is contained in:
parent
2f2a9073b3
commit
2430324c40
2 changed files with 8 additions and 5 deletions
|
@ -744,8 +744,8 @@ namespace MainWindow
|
|||
case ID_OPTIONS_USEVBO:
|
||||
g_Config.bUseVBO = !g_Config.bUseVBO;
|
||||
break;
|
||||
case ID_OPTIONS_TEXTUREFILTERING_OFF:
|
||||
setTexFiltering(1);
|
||||
case ID_OPTIONS_TEXTUREFILTERING_AUTO:
|
||||
setTexFiltering(0);
|
||||
break;
|
||||
case ID_OPTIONS_NEARESTFILTERING:
|
||||
setTexFiltering(2) ;
|
||||
|
@ -956,13 +956,16 @@ namespace MainWindow
|
|||
}
|
||||
|
||||
static const int texfilteringitems[] = {
|
||||
ID_OPTIONS_TEXTUREFILTERING_OFF,
|
||||
ID_OPTIONS_TEXTUREFILTERING_AUTO,
|
||||
ID_OPTIONS_NEARESTFILTERING,
|
||||
ID_OPTIONS_LINEARFILTERING,
|
||||
ID_OPTIONS_LINEARFILTERING_CG,
|
||||
};
|
||||
for (int i = 0; i < 3; i++) {
|
||||
CheckMenuItem(menu, texfilteringitems[i], MF_BYCOMMAND | ((i == g_Config.iTexFiltering-2) ? MF_CHECKED : MF_UNCHECKED));
|
||||
for (int i = 0; i < 4; i++) {
|
||||
if(i != 0)
|
||||
CheckMenuItem(menu, texfilteringitems[i], MF_BYCOMMAND | ((i == g_Config.iTexFiltering-1) ? MF_CHECKED : MF_UNCHECKED));
|
||||
else
|
||||
CheckMenuItem(menu, texfilteringitems[i], MF_BYCOMMAND | ((i == g_Config.iTexFiltering) ? MF_CHECKED : MF_UNCHECKED));
|
||||
}
|
||||
|
||||
UpdateCommands();
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue