mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 03:27:53 +00:00
yuzu: Pause when in background
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
This commit is contained in:
parent
6deb6d2b10
commit
4931ccb967
6 changed files with 38 additions and 0 deletions
|
@ -119,6 +119,7 @@ public slots:
|
|||
void SoftwareKeyboardGetText(const Core::Frontend::SoftwareKeyboardParameters& parameters);
|
||||
void SoftwareKeyboardInvokeCheckDialog(std::u16string error_message);
|
||||
void WebBrowserOpenPage(std::string_view filename, std::string_view arguments);
|
||||
void OnAppFocusStateChanged(Qt::ApplicationState state);
|
||||
|
||||
private:
|
||||
void InitializeWidgets();
|
||||
|
@ -244,6 +245,8 @@ private:
|
|||
// The path to the game currently running
|
||||
QString game_path;
|
||||
|
||||
bool auto_paused = false;
|
||||
|
||||
// FS
|
||||
std::shared_ptr<FileSys::VfsFilesystem> vfs;
|
||||
std::unique_ptr<FileSys::ManualContentProvider> provider;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue