use std::vector as return value for the FileReader's buffer readers.

This commit is contained in:
Christoph Oelckers 2023-08-19 16:16:56 +02:00
commit 21d6eb99eb
18 changed files with 66 additions and 63 deletions

View file

@ -217,7 +217,7 @@ static inline void drawframe(anim_t *anim, uint16_t framenumber)
}
// <length> is the file size, for consistency checking.
int32_t ANIM_LoadAnim(anim_t *anim, uint8_t *buffer, int32_t length)
int32_t ANIM_LoadAnim(anim_t *anim, uint8_t *buffer, size_t length)
{
if (memcmp(buffer, "LPF ", 4)) return -1;