fix msvc building

This commit is contained in:
zeromus 2023-01-30 18:04:34 -05:00
parent d5a3cecea0
commit 8ea0a3e7e3
3 changed files with 8 additions and 0 deletions

View File

@ -7,7 +7,13 @@
#include "debug.h"
#include "fceu.h"
#include "cart.h"
#ifdef __QT_DRIVER__
#include "Qt/ConsoleUtilities.h"
#else
extern char LoadedRomFName[4096];
static inline const char* getRomFile() { return LoadedRomFName; }
#endif
extern FCEUGI *GameInfo;

View File

@ -559,6 +559,7 @@ xcopy /y /d "$(ProjectDir)\..\src\drivers\win\7z_64.dll" "$(OutDir)"</Command>
<ClCompile Include="..\src\boards\t-262.cpp" />
<ClCompile Include="..\src\boards\tengen.cpp" />
<ClCompile Include="..\src\boards\tf-1201.cpp" />
<ClCompile Include="..\src\debugsymboltable.cpp" />
<ClCompile Include="..\src\drivers\common\args.cpp" />
<ClCompile Include="..\src\drivers\common\cheat.cpp" />
<ClCompile Include="..\src\drivers\common\config.cpp" />

View File

@ -1120,6 +1120,7 @@
<ClCompile Include="..\src\boards\354.cpp">
<Filter>boards</Filter>
</ClCompile>
<ClCompile Include="..\src\debugsymboltable.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\drivers\common\args.h">