isle-portable/ISLE/switch/config.cpp
It's Rhew! c2b0211304
Switch port (#731)
* - Set defaults if ini exists, but empty.
- Create a new dictionary object, not use null object.

* Switch Port

Todo: Fix: Misc crashes when interacting on island.
Todo: Fix: Joystick pointer is slow to move.
Todo: Fix: Touch doesn't behave.

* Fix: base GetPathInfo fixup in the SDL implementation, with check for null SDL_PathInfo.
Fix: Disable imgui shell functions.

Todo: Display imgui debug if enabled.

* Fix: Correction to suite style guidelines

* - Switch build homebrew NRO
- CI/CD to build Switch

* Fix typo in CI

* clang-format fix

* Clang-format against isleapp.cpp

* Use correct docker container for CI/CD

* Remove SDL fixups and use an SDL3 port with fixes.
Fixes crash bug and world issues!

* Fix: use Clang-Format 17 instead of 21

---------

Co-authored-by: SnepOMatic (Rhew) <github@rhew.co.uk>
2025-11-15 23:51:19 +01:00

13 lines
417 B
C++

#include "config.h"
#include <SDL3/SDL_log.h>
#include <iniparser.h>
void NX_SetupDefaultConfigOverrides(dictionary* p_dictionary)
{
iniparser_set(p_dictionary, "isle:diskpath", "sdmc:/switch/isle/LEGO/");
iniparser_set(p_dictionary, "isle:cdpath", "sdmc:/switch/isle/");
iniparser_set(p_dictionary, "isle:savepath", "sdmc:/switch/isle/");
iniparser_set(p_dictionary, "isle:Cursor Sensitivity", "16.000000");
}