mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-14 00:49:49 +00:00
Merge pull request #5727 from raven02/patch-34
Menu : Disable Vertex Cache when HW T&L is disabled
This commit is contained in:
commit
e7641457b0
@ -1656,6 +1656,13 @@ namespace MainWindow
|
|||||||
CHECKITEM(ID_EMULATION_CHEATS, g_Config.bEnableCheats);
|
CHECKITEM(ID_EMULATION_CHEATS, g_Config.bEnableCheats);
|
||||||
CHECKITEM(ID_OPTIONS_IGNOREWINKEY, g_Config.bIgnoreWindowsKey);
|
CHECKITEM(ID_OPTIONS_IGNOREWINKEY, g_Config.bIgnoreWindowsKey);
|
||||||
|
|
||||||
|
// Disable Vertex Cache when HW T&L is disabled.
|
||||||
|
if (!g_Config.bHardwareTransform) {
|
||||||
|
EnableMenuItem(menu, ID_OPTIONS_VERTEXCACHE, MF_GRAYED);
|
||||||
|
} else {
|
||||||
|
EnableMenuItem(menu, ID_OPTIONS_VERTEXCACHE, MF_ENABLED);
|
||||||
|
}
|
||||||
|
|
||||||
static const int zoomitems[11] = {
|
static const int zoomitems[11] = {
|
||||||
ID_OPTIONS_SCREENAUTO,
|
ID_OPTIONS_SCREENAUTO,
|
||||||
ID_OPTIONS_SCREEN1X,
|
ID_OPTIONS_SCREEN1X,
|
||||||
|
Loading…
Reference in New Issue
Block a user