From 27a0f8683f1920e393eb1e7da7d7782be275b3ea Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Tue, 7 Jan 2025 13:20:37 -0600 Subject: [PATCH] Fixed mac audio, added support for .zip --- src/port/Engine.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index cc7e62bc..ab454409 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -75,6 +75,11 @@ GameEngine::GameEngine() { if (StringHelper::IEquals(ext, ".otr") || StringHelper::IEquals(ext, ".o2r")) { OTRFiles.push_back(p.path().generic_string()); } + + if (StringHelper::IEquals(ext, ".zip")) { + SPDLOG_WARN("Zip files should be only used for development purposes, not for distribution"); + OTRFiles.push_back(p.path().generic_string()); + } } } } @@ -92,7 +97,7 @@ GameEngine::GameEngine() { auto window = std::make_shared(std::vector>({})); - this->context->Init(OTRFiles, {}, 3, { 32000, 1024 , 2480 }, window, controlDeck); + this->context->Init(OTRFiles, {}, 3, { 32000, 1024, 1680 }, window, controlDeck); Ship::Context::GetInstance()->GetLogger()->set_level( (spdlog::level::level_enum) CVarGetInteger("gDeveloperTools.LogLevel", 1));