diff options
| author | 2015-01-06 22:07:29 -0800 | |
|---|---|---|
| committer | 2015-01-07 14:14:48 -0800 | |
| commit | 63be6aaadd7860dd7be587c8196eb1063b0a6b3c (patch) | |
| tree | 1cea79e877e7ccebf91d10f8445e8d3773bb3b18 /src/core/hle/svc.cpp | |
| parent | Merge pull request #421 from linkmauve/remove-dead-platforms (diff) | |
| download | yuzu-63be6aaadd7860dd7be587c8196eb1063b0a6b3c.tar.gz yuzu-63be6aaadd7860dd7be587c8196eb1063b0a6b3c.tar.xz yuzu-63be6aaadd7860dd7be587c8196eb1063b0a6b3c.zip | |
Warn if a new thread is intended to be run on the system CPU core until we implement correct scheduling for such a thread.
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index c25409a9f..2b948d016 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -237,6 +237,11 @@ static Result CreateThread(u32 priority, u32 entry_point, u32 arg, u32 stack_top | |||
| 237 | "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point, | 237 | "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point, |
| 238 | name.c_str(), arg, stack_top, priority, processor_id, thread); | 238 | name.c_str(), arg, stack_top, priority, processor_id, thread); |
| 239 | 239 | ||
| 240 | if (THREADPROCESSORID_1 == processor_id) { | ||
| 241 | LOG_WARNING(Kernel_SVC, | ||
| 242 | "thread designated for system CPU core (UNIMPLEMENTED) will be run with app core scheduling"); | ||
| 243 | } | ||
| 244 | |||
| 240 | return 0; | 245 | return 0; |
| 241 | } | 246 | } |
| 242 | 247 | ||