Skip to content

Commit

Permalink
Update menus for Qt version
Browse files Browse the repository at this point in the history
  • Loading branch information
xsacha committed Apr 5, 2013
1 parent d599130 commit 89c5696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Qt/EmuThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions Qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit 89c5696

Please sign in to comment.