mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 01:29:16 +01:00
Update MemoryCard.cpp
This commit is contained in:
parent
a01fe76db7
commit
7b22b7e2af
@ -1616,7 +1616,7 @@ CMemoryCard::WritetoMemCard(int32 file, void *buff, int32 size)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
static inline void
|
||||||
MakeSpaceForSizeInBufferPointer(uint8 *&presize, uint8 *&buf, uint8 *&postsize)
|
MakeSpaceForSizeInBufferPointer(uint8 *&presize, uint8 *&buf, uint8 *&postsize)
|
||||||
{
|
{
|
||||||
presize = buf;
|
presize = buf;
|
||||||
@ -1624,7 +1624,7 @@ MakeSpaceForSizeInBufferPointer(uint8 *&presize, uint8 *&buf, uint8 *&postsize)
|
|||||||
postsize = buf;
|
postsize = buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
static inline void
|
||||||
CopySizeAndPreparePointer(uint8 *&buf, uint8 *&postbuf, uint8 *&postbuf2, uint32 &unused, uint32 &size)
|
CopySizeAndPreparePointer(uint8 *&buf, uint8 *&postbuf, uint8 *&postbuf2, uint32 &unused, uint32 &size)
|
||||||
{
|
{
|
||||||
memcpy(buf, &size, sizeof(size));
|
memcpy(buf, &size, sizeof(size));
|
||||||
@ -3079,4 +3079,4 @@ CMemoryCard::DoClassSaveRoutine(int32 file, uint8 *data, uint32 size)
|
|||||||
return nError;
|
return nError;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user