summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2020-06-29 11:38:30 +0300
committerGitHub <noreply@github.com>2020-06-29 11:38:30 +0300
commit7b22b7e2af691a78741199f19397248903b6c2b2 (patch)
treefdeecad5996efbe9965f97194fdec5d4b06b9fdf
parenta01fe76db72a8890f56da21c9e04503f487e7654 (diff)
Update MemoryCard.cpp
-rw-r--r--src/save/MemoryCard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/save/MemoryCard.cpp b/src/save/MemoryCard.cpp
index d06d2f07..a24b754c 100644
--- a/src/save/MemoryCard.cpp
+++ b/src/save/MemoryCard.cpp
@@ -1616,7 +1616,7 @@ CMemoryCard::WritetoMemCard(int32 file, void *buff, int32 size)
#endif
}
-inline void
+static inline void
MakeSpaceForSizeInBufferPointer(uint8 *&presize, uint8 *&buf, uint8 *&postsize)
{
presize = buf;
@@ -1624,7 +1624,7 @@ MakeSpaceForSizeInBufferPointer(uint8 *&presize, uint8 *&buf, uint8 *&postsize)
postsize = buf;
}
-inline void
+static inline void
CopySizeAndPreparePointer(uint8 *&buf, uint8 *&postbuf, uint8 *&postbuf2, uint32 &unused, uint32 &size)
{
memcpy(buf, &size, sizeof(size));
@@ -3079,4 +3079,4 @@ CMemoryCard::DoClassSaveRoutine(int32 file, uint8 *data, uint32 size)
return nError;
}
-#endif \ No newline at end of file
+#endif