From 73beeeaeafb5a28a0c464d892d3a6e514033049b Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 13 Jan 2022 20:07:04 +0100 Subject: [PATCH] Fixed two Emscripten compiler warnings. --- es-app/src/guis/GuiAlternativeEmulators.cpp | 4 ---- es-core/src/utils/FileSystemUtil.cpp | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/es-app/src/guis/GuiAlternativeEmulators.cpp b/es-app/src/guis/GuiAlternativeEmulators.cpp index eb599239c..0771d9899 100644 --- a/es-app/src/guis/GuiAlternativeEmulators.cpp +++ b/es-app/src/guis/GuiAlternativeEmulators.cpp @@ -23,10 +23,6 @@ GuiAlternativeEmulators::GuiAlternativeEmulators(Window* window) // Horizontal sizes for the system and label entries. float systemSizeX = mMenu.getSize().x / 3.27f; - float labelSizeX = mMenu.getSize().x / 1.53f; - - if (Renderer::getScreenHeightModifier() > 1.0f) - labelSizeX += 8.0f * Renderer::getScreenHeightModifier(); for (auto it = SystemData::sSystemVector.cbegin(); // Line break. it != SystemData::sSystemVector.cend(); ++it) { diff --git a/es-core/src/utils/FileSystemUtil.cpp b/es-core/src/utils/FileSystemUtil.cpp index 708949cbc..3c0ace8aa 100644 --- a/es-core/src/utils/FileSystemUtil.cpp +++ b/es-core/src/utils/FileSystemUtil.cpp @@ -8,7 +8,8 @@ // remove files etc. // -#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) +#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && \ + !defined(__NetBSD__) && !defined(__EMSCRIPTEN__) #define _FILE_OFFSET_BITS 64 #endif