aboutsummaryrefslogtreecommitdiff
path: root/src/sfx/ps1
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-05-22 19:29:25 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-05-24 22:20:02 +0200
commitdea345f412652151c256f20df0793e47673dff2b (patch)
treeaf9220bd5f7c4f9fa00b03969abd3c5d9a4912d7 /src/sfx/ps1
parent354034b06b6f772ed92c3f26f8e8c680aa93fa8d (diff)
downloadrts-dea345f412652151c256f20df0793e47673dff2b.tar.gz
Allow systems without sound support
Diffstat (limited to 'src/sfx/ps1')
-rw-r--r--src/sfx/ps1/src/sound.c2
1 files changed, 1 insertions, 1 deletions
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;