Qt: Add a method for the emulation thread to focus the display widget
This commit is contained in:
@ -303,10 +303,13 @@ void QtHostInterface::OnSystemPaused(bool paused)
|
||||
{
|
||||
HostInterface::OnSystemPaused(paused);
|
||||
|
||||
if (!paused)
|
||||
wakeThread();
|
||||
|
||||
emit emulationPaused(paused);
|
||||
|
||||
if (!paused)
|
||||
{
|
||||
wakeThread();
|
||||
emit focusDisplayWidgetRequested();
|
||||
}
|
||||
}
|
||||
|
||||
void QtHostInterface::OnSystemDestroyed()
|
||||
|
||||
Reference in New Issue
Block a user