mirror of https://github.com/mgba-emu/mgba.git
Switch, 3DS: Disuse VFileFILE
This commit is contained in:
parent
deeeb8ea56
commit
e8f8dd429e
|
@ -27,8 +27,7 @@ source_group("3DS-specific code" FILES ${OS_SRC})
|
|||
if(USE_VFS_3DS)
|
||||
list(APPEND OS_DEFINES USE_VFS_3DS)
|
||||
else()
|
||||
list(APPEND OS_DEFINES USE_VFS_FILE)
|
||||
list(APPEND CORE_VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-file.c ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-dirent.c)
|
||||
list(APPEND CORE_VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-fd.c ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-dirent.c)
|
||||
endif()
|
||||
set(CORE_VFS_SRC ${CORE_VFS_SRC} PARENT_SCOPE)
|
||||
set(OS_DEFINES ${OS_DEFINES} PARENT_SCOPE)
|
||||
|
|
|
@ -4,8 +4,8 @@ find_program(BUILD_ROMFS build_romfs)
|
|||
find_library(GLAPI_LIBRARY glapi REQUIRED)
|
||||
find_library(EGL_LIBRARY EGL REQUIRED)
|
||||
|
||||
set(OS_DEFINES _GNU_SOURCE USE_VFS_FILE IOAPI_NO_64)
|
||||
list(APPEND CORE_VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-file.c ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-dirent.c)
|
||||
set(OS_DEFINES _GNU_SOURCE IOAPI_NO_64)
|
||||
list(APPEND CORE_VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-fd.c ${CMAKE_SOURCE_DIR}/src/util/vfs/vfs-dirent.c)
|
||||
list(APPEND GUI_SRC ${CMAKE_CURRENT_SOURCE_DIR}/gui-font.c)
|
||||
|
||||
include_directories(AFTER ${OPENGLES3_INCLUDE_DIR} ${OPENGL_EGL_INCLUDE_DIR})
|
||||
|
|
Loading…
Reference in New Issue