Perf: Support alternate cores
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Feb 2016 23:02:07 -0800
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
src/platform/test/perf-main.c
→
src/platform/test/perf-main.c
@@ -72,7 +72,11 @@ }
void* outputBuffer = malloc(256 * 256 * 4); - struct mCore* core = GBACoreCreate(); + struct mCore* core = mCoreFind(args.fname); + if (!core) { + freeArguments(&args); + return 1; + } struct mCoreThread context = { .core = core };