#include "tizen/src/option.h"
#include "tizen/src/emul_state.h"
#include "tizen/src/skin/maruskin_operation.h"
+#include "tizen/src/maru_err_table.h"
#endif
//#define DEBUG_NET
if (!accel_initalised) {
fprintf(stderr, "No accelerator found!\n");
+#ifdef CONFIG_MARU
+ maru_register_exit_msg(MARU_EXIT_UNKNOWN, "No accelerator found.");
+#endif
exit(1);
}
for(;;) {
if (!popt->name) {
error_report("invalid option");
+#ifdef CONFIG_MARU
+ maru_register_exit_msg(MARU_EXIT_UNKNOWN, "invalid option.");
+#endif
exit(1);
}
if (!strcmp(popt->name, r + 1))
if (popt->flags & HAS_ARG) {
if (optind >= argc) {
error_report("requires an argument");
+#ifdef CONFIG_MARU
+ maru_register_exit_msg(MARU_EXIT_UNKNOWN, "requires an argument.");
+#endif
exit(1);
}
optarg = argv[optind++];