diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 56c5d6ba6..1713f235a 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -272,8 +272,7 @@ void DebugThreadQueue() { return; } LOG_DEBUG(Kernel, "0x%02X 0x%08X (current)", thread->current_priority, GetCurrentThread()->GetHandle()); - for (u32 i = 0; i < thread_queue.size(); i++) { - Handle handle = thread_queue[i]; + for (Handle handle : thread_queue) { s32 priority = thread_ready_queue.contains(handle); if (priority != -1) { LOG_DEBUG(Kernel, "0x%02X 0x%08X", priority, handle);