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.
This commit is contained in:
Simon Tatham
2023-04-24 09:35:45 +01:00
parent 8c968483f8
commit 2b6d34adbd

5
emcc.c
View File

@ -899,11 +899,6 @@ void free_save_file(char *buffer)
sfree(buffer); sfree(buffer);
} }
struct savefile_read_ctx {
const char *buffer;
int len_remaining;
};
static bool savefile_read(void *vctx, void *buf, int len) static bool savefile_read(void *vctx, void *buf, int len)
{ {
return js_savefile_read(buf, len); return js_savefile_read(buf, len);