mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add UI of windows of using Media Engine
ref: https://github.com/hrydgard/ppsspp/issues/842
This commit is contained in:
parent
671818edc8
commit
15e6fdadbc
3 changed files with 7 additions and 0 deletions
|
@ -427,6 +427,11 @@ namespace MainWindow
|
|||
UpdateMenus();
|
||||
break;
|
||||
|
||||
case ID_OPTIONS_USEMEDIAENGINE:
|
||||
g_Config.bUseMediaEngine = !g_Config.bUseMediaEngine;
|
||||
UpdateMenus();
|
||||
break;
|
||||
|
||||
case ID_FILE_EXIT:
|
||||
DestroyWindow(hWnd);
|
||||
break;
|
||||
|
@ -685,6 +690,7 @@ namespace MainWindow
|
|||
CHECKITEM(ID_OPTIONS_VERTEXCACHE, g_Config.bVertexCache);
|
||||
CHECKITEM(ID_OPTIONS_SHOWFPS, g_Config.bShowFPSCounter);
|
||||
CHECKITEM(ID_OPTIONS_FRAMESKIP, g_Config.iFrameSkip != 0);
|
||||
CHECKITEM(ID_OPTIONS_USEMEDIAENGINE, g_Config.bUseMediaEngine);
|
||||
|
||||
UINT enable = !Core_IsStepping() ? MF_GRAYED : MF_ENABLED;
|
||||
EnableMenuItem(menu,ID_EMULATION_RUN, g_State.bEmuThreadStarted ? enable : MF_GRAYED);
|
||||
|
|
Binary file not shown.
|
@ -263,6 +263,7 @@
|
|||
#define ID_OPTIONS_STRETCHDISPLAY 40138
|
||||
#define ID_OPTIONS_FRAMESKIP 40139
|
||||
#define IDC_MEMCHECK 40140
|
||||
#define ID_OPTIONS_USEMEDIAENGINE 40141
|
||||
#define IDC_STATIC -1
|
||||
|
||||
// Next default values for new objects
|
||||
|
|
Loading…
Add table
Reference in a new issue