mirror of
https://github.com/izzy2lost/Ghostship.git
synced 2026-06-19 01:17:03 -07:00
Fixed sm64 factories being disabled on torch
This commit is contained in:
+3
-1
@@ -335,9 +335,11 @@ endif()
|
||||
option(USE_STANDALONE "Build as a standalone executable" OFF)
|
||||
option(BUILD_STORMLIB "Build with StormLib support" OFF)
|
||||
|
||||
option(BUILD_SF64 "Build with Star Fox 64 support" OFF)
|
||||
option(BUILD_SM64 "Build with Super Mario 64 support" ON)
|
||||
option(BUILD_MK64 "Build with Mario Kart 64 support" OFF)
|
||||
option(BUILD_SF64 "Build with Star Fox 64 support" OFF)
|
||||
option(BUILD_FZERO "Build with F-Zero X support" OFF)
|
||||
option(BUILD_MARIO_ARTIST "Build with Mario Artist support" OFF)
|
||||
add_subdirectory(Torch)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE torch "${ADDITIONAL_LIBRARY_DEPENDENCIES}")
|
||||
|
||||
|
||||
@@ -191,11 +191,11 @@ bool GameExtractor::GenerateOTR() const {
|
||||
const std::string game_path = Ship::Context::GetAppDirectoryPath();
|
||||
|
||||
Companion::Instance = new Companion(this->mGameData, ArchiveType::O2R, false, assets_path, game_path);
|
||||
Companion::Instance->SetAdditionalFiles({ "meta/mods.toml" });
|
||||
|
||||
try {
|
||||
Companion::Instance->Init(ExportType::Binary);
|
||||
} catch (const std::exception& e) {
|
||||
SPDLOG_INFO("Failed to process O2R {}", e.what());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user