From 64360d13b092b6fc7ca1094af02707da7ff2739f Mon Sep 17 00:00:00 2001 From: kub Date: Thu, 21 Mar 2024 19:08:54 +0100 Subject: [PATCH] core, big endian fix (save/load) --- pico/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pico/state.c b/pico/state.c index 3b93765fa..635c95d2b 100644 --- a/pico/state.c +++ b/pico/state.c @@ -187,7 +187,7 @@ static const char * const chunk_names[CHUNK_DEFAULT_COUNT] = { "32X events", }; -static int write_chunk(chunk_name_e name, int len, void *data, void *file) +static int write_chunk(unsigned char name, int len, void *data, void *file) { size_t bwritten = 0; bwritten += areaWrite(&name, 1, 1, file);