mirror of
https://github.com/ong19th/Citron.git
synced 2025-12-13 19:36:56 +00:00
yuzu: Pause when in background
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
This commit is contained in:
parent
376f1a4432
commit
b89fb6e1be
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