diff options
| author | 2020-02-22 11:13:07 -0400 | |
|---|---|---|
| committer | 2020-02-22 11:18:07 -0400 | |
| commit | b9472eae440145042e504352472ba3a781b52f01 (patch) | |
| tree | 8a68c647f3eaee6893df54ce0af6aa2e1a5a7a19 /src/core/core.h | |
| parent | Kernel: Address Feedback. (diff) | |
| download | yuzu-b9472eae440145042e504352472ba3a781b52f01.tar.gz yuzu-b9472eae440145042e504352472ba3a781b52f01.tar.xz yuzu-b9472eae440145042e504352472ba3a781b52f01.zip | |
System: Expose Host thread registering routines from kernel.
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index e69d68fcf..8d862a8e6 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -360,6 +360,12 @@ public: | |||
| 360 | 360 | ||
| 361 | const CurrentBuildProcessID& GetCurrentProcessBuildID() const; | 361 | const CurrentBuildProcessID& GetCurrentProcessBuildID() const; |
| 362 | 362 | ||
| 363 | /// Register a host thread as an emulated CPU Core. | ||
| 364 | void RegisterCoreThread(std::size_t id); | ||
| 365 | |||
| 366 | /// Register a host thread as an auxiliary thread. | ||
| 367 | void RegisterHostThread(); | ||
| 368 | |||
| 363 | private: | 369 | private: |
| 364 | System(); | 370 | System(); |
| 365 | 371 | ||