162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
updateConsole(true);
# ifdef OF_HAVE_FILES
[[OFFileManager defaultManager] changeCurrentDirectoryPath: @"romfs:/"];
# endif
#endif
#if defined(OF_WII) || defined(OF_PSP) || defined(OF_NINTENDO_DS) || \
defined(OF_NINTENDO_3DS) || defined(OF_NINTENDO_SWITCH)
@try {
return OFApplicationMain(&argc, &argv,
[[TestsAppDelegate alloc] init]);
} @catch (id e) {
OFString *string = [OFString stringWithFormat:
@"\nRuntime error: Unhandled exception:\n%@\n", e];
OFString *backtrace = [OFString stringWithFormat:
|
|
>
|
|
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
updateConsole(true);
# ifdef OF_HAVE_FILES
[[OFFileManager defaultManager] changeCurrentDirectoryPath: @"romfs:/"];
# endif
#endif
#if defined(OF_WII) || defined(OF_WII_U) || defined(OF_PSP) || \
defined(OF_NINTENDO_DS) || defined(OF_NINTENDO_3DS) || \
defined(OF_NINTENDO_SWITCH)
@try {
return OFApplicationMain(&argc, &argv,
[[TestsAppDelegate alloc] init]);
} @catch (id e) {
OFString *string = [OFString stringWithFormat:
@"\nRuntime error: Unhandled exception:\n%@\n", e];
OFString *backtrace = [OFString stringWithFormat:
|