aboutsummaryrefslogtreecommitdiff
path: root/platform/win32.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--platform/win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/win32.c b/platform/win32.c
index 1dccc7b..0b1da80 100644
--- a/platform/win32.c
+++ b/platform/win32.c
@@ -19,7 +19,7 @@ bool sound_init(float volume)
return true;
}
-void sound_play(unsigned char *buffer)
+void sound_play(unsigned char *buffer, unsigned int)
{
PlaySound((const char *) buffer, NULL, SND_MEMORY | SND_ASYNC | SND_NODEFAULT);
}
@@ -107,4 +107,4 @@ struct board *load_board(char *board_name)
.sound_play = &sound_play
};
return board_init(data);
-} \ No newline at end of file
+}