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
This commit is contained in:
junsu choi 2018-12-21 10:09:03 +02:00 committed by Daniel Zaoui
parent 8206e75fb9
commit 6c3942eab0
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}