ref: 2b6d34adbd03a6110d4c2a0a0959eb6e30d3936d
parent: 8c968483f8df7c30f78ff3998a397697a1699615
author: Simon Tatham <anakin@pobox.com>
date: Mon Apr 24 05:35:45 EDT 2023
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.
--- a/emcc.c
+++ b/emcc.c
@@ -899,11 +899,6 @@
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);