Update menus for Qt version

This commit is contained in:
Sacha 2013-04-06 04:15:24 +10:00
parent d599130782
commit 89c569612a
2 changed files with 3 additions and 0 deletions

View File

@ -209,6 +209,7 @@ void EmuThread::run()
host->UpdateDisassembly();
Core_EnableStepping(coreParameter.startPaused ? TRUE : FALSE);
globalUIState = coreParameter.startPaused ? UISTATE_PAUSEMENU : UISTATE_INGAME;
#ifdef _DEBUG
host->UpdateMemView();
#endif
@ -310,6 +311,7 @@ void EmuThread::run()
ui_draw2d.DrawText(UBUNTU24, "www.ppsspp.org", dp_xres / 2, dp_yres / 2 + 130, colorAlpha(0xFFFFFFFF, alphaText), ALIGN_CENTER);
UIEnd();
globalUIState = UISTATE_MENU;
glsl_bind(UIShader_Get());
ui_draw2d.Flush();

View File

@ -179,6 +179,7 @@ void MainWindow::ShowMemory(u32 addr)
void MainWindow::Update()
{
globalUIState = UISTATE_INGAME;
UpdateInputState(&input_state);
for (int i = 0; i < controllistCount; i++)