diff options
| author | bunnei <bunneidev@gmail.com> | 2019-02-06 21:47:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-06 21:47:20 -0500 |
| commit | e09f1c92fb6f0b061f875617196f2463b1937546 (patch) | |
| tree | dddd4ab0851516f67c11d1121e8f233c9f0bafd3 /src/yuzu/bootmanager.h | |
| parent | 10ab714fe015b28215ce61e6b4f9085c954a409d (diff) | |
| parent | dfd14618f7cde84caf15f3b56ee14800f2509ebc (diff) | |
Merge pull request #2021 from ReinUsesLisp/disk-cache
gl_shader_cache: Disk based shader cache
Diffstat (limited to 'src/yuzu/bootmanager.h')
| -rw-r--r-- | src/yuzu/bootmanager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h index d1f37e503..7226e690e 100644 --- a/src/yuzu/bootmanager.h +++ b/src/yuzu/bootmanager.h @@ -22,6 +22,10 @@ class GGLWidgetInternal; class GMainWindow; class GRenderWindow; +namespace VideoCore { +enum class LoadCallbackStage; +} + class EmuThread : public QThread { Q_OBJECT @@ -75,7 +79,7 @@ public: private: bool exec_step = false; bool running = false; - std::atomic<bool> stop_run{false}; + std::atomic_bool stop_run{false}; std::mutex running_mutex; std::condition_variable running_cv; @@ -101,6 +105,8 @@ signals: void DebugModeLeft(); void ErrorThrown(Core::System::ResultStatus, std::string); + + void LoadProgress(VideoCore::LoadCallbackStage stage, std::size_t value, std::size_t total); }; class GRenderWindow : public QWidget, public Core::Frontend::EmuWindow { |
