all repos — mgba @ 8b17db564aedac910b0d5b5f9d6e83403f1c44ff

mGBA Game Boy Advance Emulator

Perf: Support alternate cores
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Feb 2016 23:02:07 -0800
commit

8b17db564aedac910b0d5b5f9d6e83403f1c44ff

parent

7b610da73563eda211aa3d453990b8c46f7e1ba7

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M src/platform/test/perf-main.csrc/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 };