This commit is contained in:
Vitor Santos Costa 2018-12-14 10:40:01 +00:00
parent 9dc86c735b
commit 705cb09f8d

View File

@ -463,15 +463,14 @@ X_API YAP_file_type_t Yap_InitDefaults(void *x, char *saved_state, int argc,
memset(iap, 0, sizeof(YAP_init_args)); memset(iap, 0, sizeof(YAP_init_args));
#if __ANDROID__ #if __ANDROID__
iap->boot_file_type = YAP_BOOT_PL; iap->boot_file_type = YAP_BOOT_PL;
iap->INPUT_STARTUP = NULL; return YAP_B
iap->assetManager = NULL;
#else #else
iap->boot_file_type = YAP_QLY; iap->boot_file_type = YAP_QLY;
iap->INPUT_STARTUP = saved_state; iap->INPUT_STARTUP = saved_state;
#endif
iap->Argc = argc; iap->Argc = argc;
iap->Argv = argv; iap->Argv = argv;
return YAP_QLY; return YAP_QLY;
#endif
} }
/** /**