From 2b6d34adbd03a6110d4c2a0a0959eb6e30d3936d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 24 Apr 2023 09:35:45 +0100 Subject: [PATCH] emcc.c: remove savefile_read_ctx. It wasn't ever used! Looks as if I pasted it in here from one of the other implementations, before realising that wasn't how I was going to read save files at all. --- emcc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/emcc.c b/emcc.c index 14e4c06..5338dd4 100644 --- a/emcc.c +++ b/emcc.c @@ -899,11 +899,6 @@ void free_save_file(char *buffer) sfree(buffer); } -struct savefile_read_ctx { - const char *buffer; - int len_remaining; -}; - static bool savefile_read(void *vctx, void *buf, int len) { return js_savefile_read(buf, len);