[c-host] provide a platform agnostic method of passing args to app_main

This commit is contained in:
Geoffrey McRae
2019-05-09 19:30:09 +10:00
parent fc907b802f
commit 4617829d41
5 changed files with 63 additions and 30 deletions

View File

@@ -174,7 +174,7 @@ int main(int argc, char * argv[])
signal(SIGINT, sigHandler);
int result = app_main();
int result = app_main(argc, argv);
os_shmemUnmap();
close(app.shmFD);