From 4e6a3d81c6d25a374102c0498c9136ece6fffb74 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 18 Nov 2018 00:39:23 +0100 Subject: [PATCH] machine => target_machine. fixes 9dddfd57752ff4234f60eb2183615d49cb740cf2 --- src/miscfileformats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miscfileformats.c b/src/miscfileformats.c index e3b6f219..de7c3d94 100644 --- a/src/miscfileformats.c +++ b/src/miscfileformats.c @@ -6001,7 +6001,7 @@ void Save_MOTO(T_IO_Context * context) { word chunk_length; - if (target_machine == MACHINE_TO7 || target_machine == MACHINE_MO5) + if (target_machine == MACHINE_TO7 || target_machine == MACHINE_TO770 || target_machine == MACHINE_MO5) chunk_length = 8000; // Do not save palette else { @@ -6106,7 +6106,7 @@ void Save_MOTO(T_IO_Context * context) } if (i&1) // align packed_data[i++] = 0; - if (machine != MACHINE_TO7 && machine != MACHINE_TO770 && machine != MACHINE_MO5) + if (target_machine != MACHINE_TO7 && target_machine != MACHINE_TO770 && target_machine != MACHINE_MO5) { // add TO-SNAP extension // see http://collection.thomson.free.fr/code/articles/prehisto_bulletin/page.php?XI=0&XJ=13