From a2f67fbe8fe6b27f661e70ce2b6b75c17cd1fe54 Mon Sep 17 00:00:00 2001 From: sik Date: Mon, 21 Aug 2017 16:00:09 -0300 Subject: Update to echo_init in the C API --- c/echo.c | 2 +- c/echo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'c') 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); -- cgit v1.2.3