mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 08:14:45 +02:00
Logging API change (refactor) (#19324)
* Rename LogType to Log * Explicitly use the Log:: enum when logging. Allows for autocomplete when editing. * Mac/ARM64 buildfix * Do the same with the hle result log macros * Rename the log names to mixed case while at it. * iOS buildfix * Qt buildfix attempt, ARM32 buildfix
This commit is contained in:
@@ -99,7 +99,7 @@ void ThreadManager::Teardown() {
|
||||
global_->threads_.clear();
|
||||
|
||||
if (global_->compute_queue_size > 0 || global_->io_queue_size > 0) {
|
||||
WARN_LOG(SYSTEM, "ThreadManager::Teardown() with tasks still enqueued");
|
||||
WARN_LOG(Log::System, "ThreadManager::Teardown() with tasks still enqueued");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ void ThreadManager::Init(int numRealCores, int numLogicalCoresPerCpu) {
|
||||
int numThreads = numComputeThreads_ + std::max(MIN_IO_BLOCKING_THREADS, numComputeThreads_);
|
||||
numThreads_ = numThreads;
|
||||
|
||||
INFO_LOG(SYSTEM, "ThreadManager::Init(compute threads: %d, all: %d)", numComputeThreads_, numThreads_);
|
||||
INFO_LOG(Log::System, "ThreadManager::Init(compute threads: %d, all: %d)", numComputeThreads_, numThreads_);
|
||||
|
||||
for (int i = 0; i < numThreads; i++) {
|
||||
TaskThreadContext *thread = new TaskThreadContext();
|
||||
|
||||
Reference in New Issue
Block a user