summaryrefslogtreecommitdiffstats
path: root/src/core/core_timing.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2015-02-19 07:18:47 +0100
committerarchshift <admin@archshift.com>2015-02-19 07:26:22 +0100
commit5efd149ad56efb2a00332af5a791b403e7f70273 (patch)
tree90492d27a1c67a480f8675c269a63932cee28432 /src/core/core_timing.cpp
parentMerge pull request #580 from lioncash/emplace (diff)
downloadyuzu-5efd149ad56efb2a00332af5a791b403e7f70273.tar
yuzu-5efd149ad56efb2a00332af5a791b403e7f70273.tar.gz
yuzu-5efd149ad56efb2a00332af5a791b403e7f70273.tar.bz2
yuzu-5efd149ad56efb2a00332af5a791b403e7f70273.tar.lz
yuzu-5efd149ad56efb2a00332af5a791b403e7f70273.tar.xz
yuzu-5efd149ad56efb2a00332af5a791b403e7f70273.tar.zst
yuzu-5efd149ad56efb2a00332af5a791b403e7f70273.zip
Diffstat (limited to 'src/core/core_timing.cpp')
-rw-r--r--src/core/core_timing.cpp4
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
void UnregisterAllEvents() {
if (first)
- PanicAlert("Cannot unregister events with events pending");
+ LOG_ERROR(Core_Timing, "Cannot unregister events with events pending");
event_types.clear();
}
@@ -535,7 +535,7 @@ std::string GetScheduledEventsSummary() {
while (event) {
unsigned int t = event->type;
if (t >= event_types.size())
- PanicAlert("Invalid event type"); // %i", t);
+ LOG_ERROR(Core_Timing, "Invalid event type"); // %i", t);
const char* name = event_types[event->type].name;
if (!name)
name = "[unknown]";