Fixed gcc build issues
This commit is contained in:
parent
32a913a32c
commit
b3a3a60bd0
|
@ -15,6 +15,7 @@ target_include_directories(yabgbe
|
||||||
|
|
||||||
target_link_libraries(yabgbe
|
target_link_libraries(yabgbe
|
||||||
SDL2
|
SDL2
|
||||||
|
${CMAKE_DL_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
#ifndef NO_LOG
|
#ifndef NO_LOG
|
||||||
#define DBG_MSG(fmt, ...) if(!disablePrint) printf(fmt, __VA_ARGS__)
|
#define DBG_MSG(fmt, ...) if(!disablePrint) printf(fmt, ##__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define DBG_MSG(fmt, ...) do {} while(0)
|
#define DBG_MSG(fmt, ...) do {} while(0)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "util.hpp"
|
#include "../util.hpp"
|
||||||
|
|
||||||
// The memory bank controller (MBC) needs to map addresses targeted at rom, to get the appropriate data from the ROM
|
// The memory bank controller (MBC) needs to map addresses targeted at rom, to get the appropriate data from the ROM
|
||||||
class IMBC
|
class IMBC
|
||||||
|
|
Loading…
Reference in a new issue