summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-14 20:34:35 -0400
committerLioncash <mathew1800@gmail.com>2018-03-14 22:03:12 -0400
commit50a476c3714b3c423609ec04ce424c244bd2a1c1 (patch)
tree68a1dadba4b9d61223401993865d0efa314e6a26 /Source/Core/VideoCommon/CommandProcessor.cpp
parent19d97f3fd972f1577ec821306bd438d2cf0232a8 (diff)
Assert: Uppercase assertion macros
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp
index 424435a178..b5e8d68c5b 100644
--- a/Source/Core/VideoCommon/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/CommandProcessor.cpp
@@ -333,16 +333,16 @@ void GatherPipeBursted()
Fifo::RunGpu();
- _assert_msg_(COMMANDPROCESSOR, fifo.CPReadWriteDistance <= fifo.CPEnd - fifo.CPBase,
- "FIFO is overflowed by GatherPipe !\nCPU thread is too fast!");
+ ASSERT_MSG(COMMANDPROCESSOR, fifo.CPReadWriteDistance <= fifo.CPEnd - fifo.CPBase,
+ "FIFO is overflowed by GatherPipe !\nCPU thread is too fast!");
// check if we are in sync
- _assert_msg_(COMMANDPROCESSOR, fifo.CPWritePointer == ProcessorInterface::Fifo_CPUWritePointer,
- "FIFOs linked but out of sync");
- _assert_msg_(COMMANDPROCESSOR, fifo.CPBase == ProcessorInterface::Fifo_CPUBase,
- "FIFOs linked but out of sync");
- _assert_msg_(COMMANDPROCESSOR, fifo.CPEnd == ProcessorInterface::Fifo_CPUEnd,
- "FIFOs linked but out of sync");
+ ASSERT_MSG(COMMANDPROCESSOR, fifo.CPWritePointer == ProcessorInterface::Fifo_CPUWritePointer,
+ "FIFOs linked but out of sync");
+ ASSERT_MSG(COMMANDPROCESSOR, fifo.CPBase == ProcessorInterface::Fifo_CPUBase,
+ "FIFOs linked but out of sync");
+ ASSERT_MSG(COMMANDPROCESSOR, fifo.CPEnd == ProcessorInterface::Fifo_CPUEnd,
+ "FIFOs linked but out of sync");
}
void UpdateInterrupts(u64 userdata)