mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 10:31:16 +00:00
18 lines
551 B
C++
18 lines
551 B
C++
#include "config.h"
|
|
|
|
#include "filesystem.h"
|
|
|
|
#include <SDL3/SDL_log.h>
|
|
#include <iniparser.h>
|
|
|
|
void Emscripten_SetupDefaultConfigOverrides(dictionary* p_dictionary)
|
|
{
|
|
SDL_Log("Overriding default config for Emscripten");
|
|
|
|
iniparser_set(p_dictionary, "isle:diskpath", Emscripten_bundledPath);
|
|
iniparser_set(p_dictionary, "isle:cdpath", Emscripten_streamPath);
|
|
iniparser_set(p_dictionary, "isle:savepath", Emscripten_savePath);
|
|
iniparser_set(p_dictionary, "isle:Full Screen", "false");
|
|
iniparser_set(p_dictionary, "isle:Flip Surfaces", "true");
|
|
}
|