mirror of https://github.com/mgba-emu/mgba.git
Perf: Support alternate cores
This commit is contained in:
parent
7b610da735
commit
8b17db564a
|
@ -72,7 +72,11 @@ int main(int argc, char** argv) {
|
||||||
|
|
||||||
void* outputBuffer = malloc(256 * 256 * 4);
|
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 = {
|
struct mCoreThread context = {
|
||||||
.core = core
|
.core = core
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue