diff options
Diffstat (limited to 'src/core/core_timing.cpp')
| -rw-r--r-- | src/core/core_timing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index cabe2a074..6f716b1ca 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp | |||
| @@ -147,7 +147,7 @@ void RestoreRegisterEvent(int event_type, const char* name, TimedCallback callba | |||
| 147 | 147 | ||
| 148 | void UnregisterAllEvents() { | 148 | void UnregisterAllEvents() { |
| 149 | if (first) | 149 | if (first) |
| 150 | PanicAlert("Cannot unregister events with events pending"); | 150 | LOG_ERROR(Core_Timing, "Cannot unregister events with events pending"); |
| 151 | event_types.clear(); | 151 | event_types.clear(); |
| 152 | } | 152 | } |
| 153 | 153 | ||
| @@ -535,7 +535,7 @@ std::string GetScheduledEventsSummary() { | |||
| 535 | while (event) { | 535 | while (event) { |
| 536 | unsigned int t = event->type; | 536 | unsigned int t = event->type; |
| 537 | if (t >= event_types.size()) | 537 | if (t >= event_types.size()) |
| 538 | PanicAlert("Invalid event type"); // %i", t); | 538 | LOG_ERROR(Core_Timing, "Invalid event type"); // %i", t); |
| 539 | const char* name = event_types[event->type].name; | 539 | const char* name = event_types[event->type].name; |
| 540 | if (!name) | 540 | if (!name) |
| 541 | name = "[unknown]"; | 541 | name = "[unknown]"; |