summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/DebugUtil.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-09-22 21:05:17 -0400
committerLioncash <mathew1800@gmail.com>2016-09-22 21:05:17 -0400
commit330944eef89a28c08a0227a9a166f583532ae906 (patch)
tree8bb2f27495e411254fd8474c989667bc7360e859 /Source/Core/VideoBackends/Software/DebugUtil.cpp
parent5ac161c132ffd9364d470a735f7abb72edd756dd (diff)
DebugUtils: const correctness
Diffstat (limited to 'Source/Core/VideoBackends/Software/DebugUtil.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/DebugUtil.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/DebugUtil.cpp b/Source/Core/VideoBackends/Software/DebugUtil.cpp
index bb85ef4fd5..95627abc5a 100644
--- a/Source/Core/VideoBackends/Software/DebugUtil.cpp
+++ b/Source/Core/VideoBackends/Software/DebugUtil.cpp
@@ -154,7 +154,8 @@ static void DumpEfb(const std::string& filename)
delete[] data;
}
-void DrawObjectBuffer(s16 x, s16 y, u8* color, int bufferBase, int subBuffer, const char* name)
+void DrawObjectBuffer(s16 x, s16 y, const u8* color, int bufferBase, int subBuffer,
+ const char* name)
{
int buffer = bufferBase + subBuffer;
@@ -170,7 +171,7 @@ void DrawObjectBuffer(s16 x, s16 y, u8* color, int bufferBase, int subBuffer, co
BufferBase[buffer] = bufferBase;
}
-void DrawTempBuffer(u8* color, int buffer)
+void DrawTempBuffer(const u8* color, int buffer)
{
u8* dst = (u8*)&TempBuffer[buffer];
*(dst++) = color[2];