mirror of
https://github.com/libretro/mgba.git
synced 2025-02-18 14:48:02 +00:00
build fix.
This commit is contained in:
parent
b2aafdc279
commit
0cd24d4081
@ -37,6 +37,7 @@ bool GBAContextInit(struct GBAContext* context, const char* port) {
|
||||
ARMInit(context->cpu);
|
||||
|
||||
GBAConfigInit(&context->config, port);
|
||||
#ifndef __LIBRETRO__
|
||||
if (port) {
|
||||
if (!_logFile) {
|
||||
char logPath[PATH_MAX];
|
||||
@ -59,7 +60,7 @@ bool GBAContextInit(struct GBAContext* context, const char* port) {
|
||||
GBAConfigLoadDefaults(&context->config, &opts);
|
||||
GBAConfigLoad(&context->config);
|
||||
}
|
||||
|
||||
#endif
|
||||
context->gba->sync = 0;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user