Update emscripten version

This commit is contained in:
Vladislav Khorev committed 2026-11-09 15:36:42 +06:00
1 parent ea8f64c940
commit 2a7498695a
18 files changed
+76 -66

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
#include "MenuManager.h"
#include "MenuManager.h"
#include "Game.h"
#include "Localization.h"
#include "items/ItemRegistry.h"
@@ -529,7 +529,7 @@ namespace FRG {
#if !defined(EMSCRIPTEN) && !defined(__ANDROID__)
#if !defined(__EMSCRIPTEN__) && !defined(__ANDROID__)
uiManager.setTextButtonCallback("menuExitButton", [this](const std::string&) {
audioPlayer_.playSoundAsync("resources/audio/751089__smallconfusion__mechanical-plastic-click-11.ogg");
Environment::exitGameLoop = true;
@@ -581,7 +581,7 @@ namespace FRG {
#ifndef EMSCRIPTEN
#ifndef __EMSCRIPTEN__
uiManager.setTextButtonCallback("menuExitButton", [this](const std::string&) {
audioPlayer_.playSoundAsync("resources/audio/751089__smallconfusion__mechanical-plastic-click-11.ogg");
Environment::exitGameLoop = true;
@@ -2642,7 +2642,7 @@ namespace FRG {
if (root.contains("soundEnabled"))
audioPlayer_.setSoundEnabled(root["soundEnabled"].get<bool>());
if (root.contains("fullscreen")) {
#ifndef EMSCRIPTEN
#ifndef __EMSCRIPTEN__
Environment::setFullscreen(root["fullscreen"].get<bool>());
#endif
}