mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed two Emscripten compiler warnings.
This commit is contained in:
parent
8596aca68c
commit
73beeeaeaf
|
@ -23,10 +23,6 @@ GuiAlternativeEmulators::GuiAlternativeEmulators(Window* window)
|
||||||
|
|
||||||
// Horizontal sizes for the system and label entries.
|
// Horizontal sizes for the system and label entries.
|
||||||
float systemSizeX = mMenu.getSize().x / 3.27f;
|
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.
|
for (auto it = SystemData::sSystemVector.cbegin(); // Line break.
|
||||||
it != SystemData::sSystemVector.cend(); ++it) {
|
it != SystemData::sSystemVector.cend(); ++it) {
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
// remove files etc.
|
// 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
|
#define _FILE_OFFSET_BITS 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue