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
commit951a310989cd0dba1e765095c74e607d626c3f9f (patch)
tree9f7c95c02abaaab29881f6619dea9983134505a5 /src/sfx/ps1
parent3d77d3a8aa0540fb487810c6278337c7130c9d29 (diff)
downloadjancity-951a310989cd0dba1e765095c74e607d626c3f9f.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;