summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2020-06-29 10:38:30 +0200
committerGitHub <noreply@github.com>2020-06-29 10:38:30 +0200
commit7b22b7e2af691a78741199f19397248903b6c2b2 (patch)
treefdeecad5996efbe9965f97194fdec5d4b06b9fdf
parentMerge pull request #640 from Fire-Head/ps2menu (diff)
downloadre3-7b22b7e2af691a78741199f19397248903b6c2b2.tar
re3-7b22b7e2af691a78741199f19397248903b6c2b2.tar.gz
re3-7b22b7e2af691a78741199f19397248903b6c2b2.tar.bz2
re3-7b22b7e2af691a78741199f19397248903b6c2b2.tar.lz
re3-7b22b7e2af691a78741199f19397248903b6c2b2.tar.xz
re3-7b22b7e2af691a78741199f19397248903b6c2b2.tar.zst
re3-7b22b7e2af691a78741199f19397248903b6c2b2.zip
-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