uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit c41ba2b1e2962b47b72ef6f1969f4885fa0b6306
parent ced41f6d70542a34c61fcf9549898468e3779971
Author: neauoire <aliceffekt@gmail.com>
Date:   Sun, 11 Jul 2021 18:55:09 -0700

Improved file-talk message

Diffstat:
Msrc/uxnemu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uxnemu.c b/src/uxnemu.c @@ -272,7 +272,7 @@ file_talk(Device *d, Uint8 b0, Uint8 w) Uint16 addr = mempeek16(d->dat, b0 - 1); FILE *f = fopen(name, read ? "r" : (offset ? "a" : "w")); if(f) { - fprintf(stderr, "%s %04x %s %s: ", read ? "Loading" : "Saving", addr, read ? "from" : "to", name); + fprintf(stderr, "%s %s %s #%04x, ", read ? "Loading" : "Saving", name, read ? "to" : "from", addr); if(fseek(f, offset, SEEK_SET) != -1) result = read ? fread(&d->mem[addr], 1, length, f) : fwrite(&d->mem[addr], 1, length, f); fprintf(stderr, "%04x bytes\n", result);