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 --- README | 12 ++++++------ c/echo.c | 2 +- c/echo.h | 2 +- doc/api-c.txt | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README b/README index e227d3d..de049d1 100644 --- a/README +++ b/README @@ -7,12 +7,12 @@ | | |_ |_ ___ | | | | | | | | | |_______ |_ |___| _| | | | | |_ |_____| _| |___________| |________| |___| |___| |_________| - ___ ___ _ _ ___ __ ___ ___ ___ _ ___ ___ _ ___ _ - | _| | | | | \ | _| | _| | | _| | | | _| | - | |_| | | | | | | | | | |_| | | |_| | | | |_ _ _ ___ ___ | | | |_| | - |_ | | | | | | | | | | _| | | | | | | | _| | | | __| _ \ | | |_ | | - _| | | | | | | | | | | |_| | | | | | | | |_ | | | __| /_ | |_ _| | | - |___|___|___|_|_|__/ |___|_|_|___|_|_|_|___| \_/|___|_|_\_| |_|_|___|_| + ___ ___ _ _ ___ __ ___ ___ ___ _ ___ ___ _ ___ ___ + | _| | | | | \ | _| | _| | | _| | | | _|_ | + | |_| | | | | | | | | | |_| | | |_| | | | |_ _ _ ___ ___ | | | |_ _| | + |_ | | | | | | | | | | _| | | | | | | | _| | | | __| _ \ | | |_ | _| + _| | | | | | | | | | | |_| | | | | | | | |_ | | | __| /_ | |_ _| | |_ + |___|___|___|_|_|__/ |___|_|_|___|_|_|_|___| \_/|___|_|_\_| |_|_|___|___| ============================================================================= 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); diff --git a/doc/api-c.txt b/doc/api-c.txt index 541a895..8e5c61c 100644 --- a/doc/api-c.txt +++ b/doc/api-c.txt @@ -22,7 +22,7 @@ change the blob, just use the included blob2c tool. It's invoked as follows: *** Initialization *** -void echo_init(const void **list) +void echo_init(const void* const* list) Initializes Echo. Loads the instrument list, loads the Z80 engine and gets it running. You need to call this before you can use Echo (usually when -- cgit v1.2.3