summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-07-31 11:14:46 +0200
committerGitHub <noreply@github.com>2016-07-31 11:14:46 +0200
commita6834dc2cc3e05d5cbedb045773b2e428bfa4392 (patch)
treee15cd3be1ba24e5bda9d39aea81a56431c4b6c22 /Source
parentad1c5a8e2e74d9fac67d582de8b26872a8e6601b (diff)
parent462ba0c742d81f095518bd05fe6b32cd61fad12d (diff)
Merge pull request #4070 from lioncash/const
SI_DeviceGBA: const correctness
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/SI_DeviceGBA.cpp2
-rw-r--r--Source/Core/Core/HW/SI_DeviceGBA.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/HW/SI_DeviceGBA.cpp b/Source/Core/Core/HW/SI_DeviceGBA.cpp
index 802ecfd99b..880310bcb4 100644
--- a/Source/Core/Core/HW/SI_DeviceGBA.cpp
+++ b/Source/Core/Core/HW/SI_DeviceGBA.cpp
@@ -234,7 +234,7 @@ void GBASockServer::ClockSync()
}
}
-void GBASockServer::Send(u8* si_buffer)
+void GBASockServer::Send(const u8* si_buffer)
{
if (!client)
if (!GetAvailableSock(client))
diff --git a/Source/Core/Core/HW/SI_DeviceGBA.h b/Source/Core/Core/HW/SI_DeviceGBA.h
index 6b9a0f7aac..e1bb966bb0 100644
--- a/Source/Core/Core/HW/SI_DeviceGBA.h
+++ b/Source/Core/Core/HW/SI_DeviceGBA.h
@@ -26,7 +26,7 @@ public:
void ClockSync();
- void Send(u8* si_buffer);
+ void Send(const u8* si_buffer);
int Receive(u8* si_buffer);
private: