mirror of https://github.com/mgba-emu/mgba.git
Windows: MSVC fixes
This commit is contained in:
parent
0ff2d67317
commit
4d648c4f7c
|
@ -453,7 +453,7 @@ static void _GBCoreUnloadROM(struct mCore* core) {
|
|||
mCheatDeviceDestroy(gbcore->cheatDevice);
|
||||
gbcore->cheatDevice = NULL;
|
||||
}
|
||||
return GBUnloadROM(core->board);
|
||||
GBUnloadROM(core->board);
|
||||
}
|
||||
|
||||
static void _GBCoreChecksum(const struct mCore* core, void* data, enum mCoreChecksumType type) {
|
||||
|
|
|
@ -535,7 +535,7 @@ static void _GBACoreUnloadROM(struct mCore* core) {
|
|||
mCheatDeviceDestroy(gbacore->cheatDevice);
|
||||
gbacore->cheatDevice = NULL;
|
||||
}
|
||||
return GBAUnloadROM(core->board);
|
||||
GBAUnloadROM(core->board);
|
||||
}
|
||||
|
||||
static void _GBACoreChecksum(const struct mCore* core, void* data, enum mCoreChecksumType type) {
|
||||
|
|
|
@ -117,9 +117,6 @@ if(NOT WIN32)
|
|||
else()
|
||||
set_target_properties(${BINARY_NAME}-sdl PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
|
||||
endif()
|
||||
if (WIN32 AND MSVC)
|
||||
set_target_properties(${BINARY_NAME}-sdl PROPERTIES LINK_FLAGS "/SUBSYSTEM:CONSOLE")
|
||||
endif()
|
||||
install(TARGETS ${BINARY_NAME}-sdl DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-sdl)
|
||||
if(UNIX)
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/doc/mgba.6 DESTINATION ${MANDIR}/man6 COMPONENT ${BINARY_NAME}-sdl)
|
||||
|
|
Loading…
Reference in New Issue