diff options
| author | 2014-12-05 23:53:49 -0200 | |
|---|---|---|
| committer | 2014-12-13 02:08:02 -0200 | |
| commit | 0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9 (patch) | |
| tree | 40fee084c551bfb497e68181447298f862ea68ca /src/core/core_timing.cpp | |
| parent | Implement text path trimming for shorter paths. (diff) | |
| download | yuzu-0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9.tar.gz yuzu-0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9.tar.xz yuzu-0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9.zip | |
Convert old logging calls to new logging macros
Diffstat (limited to 'src/core/core_timing.cpp')
| -rw-r--r-- | src/core/core_timing.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index bf8acf41f..1a0b2724a 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp | |||
| @@ -124,7 +124,7 @@ int RegisterEvent(const char *name, TimedCallback callback) | |||
| 124 | 124 | ||
| 125 | void AntiCrashCallback(u64 userdata, int cyclesLate) | 125 | void AntiCrashCallback(u64 userdata, int cyclesLate) |
| 126 | { | 126 | { |
| 127 | ERROR_LOG(TIME, "Savestate broken: an unregistered event was called."); | 127 | LOG_CRITICAL(Core, "Savestate broken: an unregistered event was called."); |
| 128 | Core::Halt("invalid timing events"); | 128 | Core::Halt("invalid timing events"); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| @@ -176,7 +176,7 @@ void Shutdown() | |||
| 176 | 176 | ||
| 177 | u64 GetTicks() | 177 | u64 GetTicks() |
| 178 | { | 178 | { |
| 179 | ERROR_LOG(TIME, "Unimplemented function!"); | 179 | LOG_ERROR(Core, "Unimplemented function!"); |
| 180 | return 0; | 180 | return 0; |
| 181 | //return (u64)globalTimer + slicelength - currentMIPS->downcount; | 181 | //return (u64)globalTimer + slicelength - currentMIPS->downcount; |
| 182 | } | 182 | } |
| @@ -510,7 +510,7 @@ void MoveEvents() | |||
| 510 | 510 | ||
| 511 | void Advance() | 511 | void Advance() |
| 512 | { | 512 | { |
| 513 | ERROR_LOG(TIME, "Unimplemented function!"); | 513 | LOG_ERROR(Core, "Unimplemented function!"); |
| 514 | //int cyclesExecuted = slicelength - currentMIPS->downcount; | 514 | //int cyclesExecuted = slicelength - currentMIPS->downcount; |
| 515 | //globalTimer += cyclesExecuted; | 515 | //globalTimer += cyclesExecuted; |
| 516 | //currentMIPS->downcount = slicelength; | 516 | //currentMIPS->downcount = slicelength; |
| @@ -547,7 +547,7 @@ void LogPendingEvents() | |||
| 547 | 547 | ||
| 548 | void Idle(int maxIdle) | 548 | void Idle(int maxIdle) |
| 549 | { | 549 | { |
| 550 | ERROR_LOG(TIME, "Unimplemented function!"); | 550 | LOG_ERROR(Core, "Unimplemented function!"); |
| 551 | //int cyclesDown = currentMIPS->downcount; | 551 | //int cyclesDown = currentMIPS->downcount; |
| 552 | //if (maxIdle != 0 && cyclesDown > maxIdle) | 552 | //if (maxIdle != 0 && cyclesDown > maxIdle) |
| 553 | // cyclesDown = maxIdle; | 553 | // cyclesDown = maxIdle; |