aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorsik2017-08-21 16:00:09 -0300
committersik2017-08-21 16:00:09 -0300
commita2f67fbe8fe6b27f661e70ce2b6b75c17cd1fe54 (patch)
tree66be1ecbf6b3b71b8be0ec87c48d8dbc04130c4a /c
parentef4ea546537bf759e3c4b37126f57cc39e7fb08a (diff)
Update to echo_init in the C API
Diffstat (limited to 'c')
-rw-r--r--c/echo.c2
-rw-r--r--c/echo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/echo.c b/c/echo.c
index 59153d3..b1d20f3 100644
--- a/c/echo.c
+++ b/c/echo.c
@@ -53,7 +53,7 @@ static const uint8_t psg_volumes[] = {
// param list: pointer to instrument list
//***************************************************************************
-void echo_init(const void **list) {
+void echo_init(const void* const* list) {
// Take over the Z80
Z80_RESET();
Z80_REQUEST();
diff --git a/c/echo.h b/c/echo.h
index c1d6062..dd89600 100644
--- a/c/echo.h
+++ b/c/echo.h
@@ -24,7 +24,7 @@ enum {
#define ECHO_STAT_BUSY 0x8000 /* Echo still didn't parse command */
/* Function prototypes */
-void echo_init(const void **list);
+void echo_init(const void* const* list);
void echo_play_bgm(const void *esf);
void echo_stop_bgm(void);
void echo_pause_bgm(void);