From dea345f412652151c256f20df0793e47673dff2b Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 22 May 2022 19:29:25 +0200 Subject: Allow systems without sound support --- src/sfx/ps1/src/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sfx/ps1') diff --git a/src/sfx/ps1/src/sound.c b/src/sfx/ps1/src/sound.c index e0377c7..cdb4193 100644 --- a/src/sfx/ps1/src/sound.c +++ b/src/sfx/ps1/src/sound.c @@ -171,7 +171,7 @@ int sfx_play(const struct sound *const s) return 0; } -int sfx_sound_from_fp(struct sound *const s, FILE *const f) +int sfx_sound_from_fp(struct sound *const s, FILE *const f, const size_t sz) { struct vag_header h; -- cgit v1.2.3