mirror of https://github.com/mgba-emu/mgba.git
DS: Fix non-debuggers build
This commit is contained in:
parent
5c3fc0ac0d
commit
3a888f6a36
|
@ -646,7 +646,8 @@ if(M_CORE_DS)
|
||||||
list(APPEND DEBUGGER_SRC
|
list(APPEND DEBUGGER_SRC
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/cli-debugger.c
|
${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/cli-debugger.c
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/debugger.c
|
${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/debugger.c
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/memory-debugger.c)
|
${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/memory-debugger.c
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/src/ds/extra/cli.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
source_group("Virtual files" FILES ${CORE_VFS_SRC} ${VFS_SRC})
|
source_group("Virtual files" FILES ${CORE_VFS_SRC} ${VFS_SRC})
|
||||||
|
|
|
@ -402,6 +402,7 @@ static void _DSCoreRawWrite16(struct mCore* core, uint32_t address, int segment,
|
||||||
static void _DSCoreRawWrite32(struct mCore* core, uint32_t address, int segment, uint32_t value) {
|
static void _DSCoreRawWrite32(struct mCore* core, uint32_t address, int segment, uint32_t value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_DEBUGGERS
|
||||||
static bool _DSCoreSupportsDebuggerType(struct mCore* core, enum mDebuggerType type) {
|
static bool _DSCoreSupportsDebuggerType(struct mCore* core, enum mDebuggerType type) {
|
||||||
UNUSED(core);
|
UNUSED(core);
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
@ -440,6 +441,7 @@ static void _DSCoreDetachDebugger(struct mCore* core) {
|
||||||
DSDetachDebugger(core->board);
|
DSDetachDebugger(core->board);
|
||||||
core->debugger = NULL;
|
core->debugger = NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct mCheatDevice* _DSCoreCheatDevice(struct mCore* core) {
|
static struct mCheatDevice* _DSCoreCheatDevice(struct mCore* core) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue