diff options
| author | 2020-04-03 11:58:43 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:36:08 -0400 | |
| commit | ad92865497f83fe4c19cd9ab78cce9da1a8c3a6c (patch) | |
| tree | f24dd8b60b23abe73931a934af33d2ed82aa7975 /src/core/cpu_manager.h | |
| parent | CoreTiming/CycleTimer: Correct Idling. (diff) | |
| download | yuzu-ad92865497f83fe4c19cd9ab78cce9da1a8c3a6c.tar.gz yuzu-ad92865497f83fe4c19cd9ab78cce9da1a8c3a6c.tar.xz yuzu-ad92865497f83fe4c19cd9ab78cce9da1a8c3a6c.zip | |
General: Correct rebase, sync gpu and context management.
Diffstat (limited to 'src/core/cpu_manager.h')
| -rw-r--r-- | src/core/cpu_manager.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h index ae55d6427..35929ed94 100644 --- a/src/core/cpu_manager.h +++ b/src/core/cpu_manager.h | |||
| @@ -16,10 +16,6 @@ class Event; | |||
| 16 | class Fiber; | 16 | class Fiber; |
| 17 | } // namespace Common | 17 | } // namespace Common |
| 18 | 18 | ||
| 19 | namespace Core::Frontend { | ||
| 20 | class EmuWindow; | ||
| 21 | } // namespace Core::Frontend | ||
| 22 | |||
| 23 | namespace Core { | 19 | namespace Core { |
| 24 | 20 | ||
| 25 | class System; | 21 | class System; |
| @@ -61,8 +57,6 @@ public: | |||
| 61 | return current_core.load(); | 57 | return current_core.load(); |
| 62 | } | 58 | } |
| 63 | 59 | ||
| 64 | void SetRenderWindow(Core::Frontend::EmuWindow& render_window); | ||
| 65 | |||
| 66 | private: | 60 | private: |
| 67 | static void GuestThreadFunction(void* cpu_manager); | 61 | static void GuestThreadFunction(void* cpu_manager); |
| 68 | static void GuestRewindFunction(void* cpu_manager); | 62 | static void GuestRewindFunction(void* cpu_manager); |
| @@ -106,7 +100,6 @@ private: | |||
| 106 | std::size_t preemption_count{}; | 100 | std::size_t preemption_count{}; |
| 107 | std::size_t idle_count{}; | 101 | std::size_t idle_count{}; |
| 108 | static constexpr std::size_t max_cycle_runs = 5; | 102 | static constexpr std::size_t max_cycle_runs = 5; |
| 109 | Core::Frontend::EmuWindow* render_window; | ||
| 110 | 103 | ||
| 111 | System& system; | 104 | System& system; |
| 112 | }; | 105 | }; |