Skip to content
Permalink
Browse files

Merge pull request #6090 from JosJuice/wrong-thread-event-name

Show event name when scheduling from wrong thread
  • Loading branch information...
JosJuice committed Sep 30, 2017
2 parents 187d443 + db77549 commit 5a609d22f6c2348ee5ab6d2b81fa0925e3266b22
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/Core/CoreTiming.cpp
@@ -241,7 +241,8 @@ void ScheduleEvent(s64 cycles_into_future, EventType* event_type, u64 userdata,
{
from_cpu_thread = from == FromThread::CPU;
_assert_msg_(POWERPC, from_cpu_thread == Core::IsCPUThread(),
"ScheduleEvent from wrong thread (%s)", from_cpu_thread ? "CPU" : "non-CPU");
"A \"%s\" event was scheduled from the wrong thread (%s)",
event_type->name->c_str(), from_cpu_thread ? "CPU" : "non-CPU");
}

if (from_cpu_thread)

0 comments on commit 5a609d2

Please sign in to comment.
You can’t perform that action at this time.