From 6c3942eab08f568b8db92ca9dfa03174e0a688b4 Mon Sep 17 00:00:00 2001 From: jsuya Date: Fri, 21 Dec 2018 10:09:03 +0200 Subject: [PATCH] Player : Copy source exu's code to destination exu Summary: exactness_play -s -t 1.exu -o 2.exu The 2.exu has only the screenshot and image. If it contain the binary code information, 2.exu becomes completed exu. Test Plan: exactness_play -s -t 1.exu -o 2.exu and change some font(elementary_config) and test in ea_gen tool Reviewers: JackDanielZ Reviewed By: JackDanielZ Subscribers: myoungwoon, akanad, bowonryu, YOhoho Differential Revision: https://phab.enlightenment.org/D7472 --- src/bin/player.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/player.c b/src/bin/player.c index 886fc21..8d192b0 100644 --- a/src/bin/player.c +++ b/src/bin/player.c @@ -1371,6 +1371,7 @@ int main(int argc, char **argv) if (_src_type == FTYPE_EXU) tmp = exactness_unit_file_read(_src_filename); if (_src_type == FTYPE_REC) tmp = legacy_rec_file_read(_src_filename); _dest_unit->actions = tmp->actions; + _dest_unit->codes = tmp->codes; } exactness_unit_file_write(_dest_unit, _dest); }