Resolves undefined issues, just doesn't fix using libretro... yet.

This commit is contained in:
Zach Bacon 2016-11-17 19:29:10 -05:00
parent 7c23a38147
commit c0f8a8a335
3 changed files with 34 additions and 0 deletions

View File

@ -243,7 +243,9 @@ bool rtcWrite(uint32_t address, uint16_t value)
} break;
default:
#ifndef __LIBRETRO__
log(N_("Unknown RTC command %02x"), rtcClockData.command);
#endif
rtcClockData.state = IDLE;
break;
}

View File

@ -0,0 +1,17 @@
#include "configmanager.h"
int cheatsEnabled = true;
int saveType = 0;
int layerEnable = 0xff00;
int layerSettings = 0xff00;
bool parseDebug = true;
bool cpuIsMultiBoot = false;
int cpuDisableSfx = false;
bool mirroringEnable = true;
int skipBios = 0;
bool speedup = false;
bool speedHack = false;
const char* loadDotCodeFile;
const char* saveDotCodeFile;
int useBios = 0;
int rtcEnabled;
int cpuSaveType = 0;

View File

@ -0,0 +1,15 @@
extern bool cpuIsMultiBoot;
extern int cpuDisableSfx;
extern int cpuSaveType;
extern bool mirroringEnable;
extern bool parseDebug;
extern bool speedHack;
extern bool speedup;
extern int cheatsEnabled;
extern int layerEnable;
extern int layerSettings;
extern int skipBios;
extern int useBios;
extern const char *loadDotCodeFile;
extern const char *saveDotCodeFile;
extern int rtcEnabled;