Perf: Support alternate cores

This commit is contained in:
Jeffrey Pfau 2016-02-23 23:02:07 -08:00
parent 7b610da735
commit 8b17db564a
1 changed files with 5 additions and 1 deletions

View File

@ -72,7 +72,11 @@ int main(int argc, char** argv) {
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
};