This commit is contained in:
Vitor Santos Costa
2018-03-14 00:41:05 +00:00
parent 1a8c26b886
commit c33a0d72db
15 changed files with 264 additions and 298 deletions

View File

@@ -78,7 +78,8 @@ static int init_standard_system(int argc, char *argv[], YAP_init_args *iap) {
BootMode = YAP_parse_yap_arguments(argc, argv, iap);
iap->Embedded = false;
/* init memory */
iap->boot_file_type = BootMode = YAP_Init(iap);
iap->boot_file_type = BootMode;
YAP_Init(iap);
if (iap->ErrorNo) {
/* boot failed */
YAP_Error(iap->ErrorNo, 0L, iap->ErrorCause);