* Move AppPlatform_emscripten to the sdl directory

As pointed out by #82, the behavior before this commit is unintuitive.
This commit is contained in:
iProgramInCpp
2023-10-22 10:52:38 +03:00
parent 7e0bd02111
commit c503eccd9d
6 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ cmake --build .
::bundle
echo * Copying bundle data over.
copy reminecraftpe.* ..\dist
copy ..\..\platforms\emscripten\wasm_shell.html ..\dist\reminecraftpe.html
copy ..\..\platforms\sdl\wasm_shell.html ..\dist\reminecraftpe.html
copy ..\..\thirdparty\coi-serviceworker\coi-serviceworker.min.js ..\dist
::for me only

View File

@@ -33,7 +33,7 @@ if(EMSCRIPTEN)
add_executable(reminecraftpe
main.cpp
AppPlatform_sdlbase.cpp
../emscripten/AppPlatform_emscripten.cpp
AppPlatform_emscripten.cpp
../openal/SoundSystemAL.cpp
)
else()

View File

@@ -6,7 +6,7 @@
#include "client/app/App.hpp"
#if defined(__EMSCRIPTEN__)
#include "../emscripten/AppPlatform_emscripten.hpp"
#include "AppPlatform_emscripten.hpp"
typedef AppPlatform_emscripten UsedAppPlatform;
#else
#include "AppPlatform_sdl.hpp"