Added wiiu to ISLE

This commit is contained in:
Lyelye150 2025-08-06 00:14:52 -04:00 committed by GitHub
parent 43351f1863
commit daa4c5863b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 0 deletions

18
ISLE/wiiu/config.cpp Normal file
View File

@ -0,0 +1,18 @@
#include "config.h"
#ifndef NO_SDL3
#include <SDL3/SDL_Log.h>
#endif
#include <iniparser.h>
void WIIU_SetupDefaultConfigOverrides(dictionary* p_dictionary)
{
#ifndef NO_SDL3
SDL_Log("Overriding default config for wiiu");
#endif
iniparser_set(p_dictionary, "isle:diskpath", "sdmc:/wiiu/apps/isle-u/content/ISLE/LEGO/disk");
iniparser_set(p_dictionary, "isle:cdpath", "sdmc:/wiiu/apps/isle-u/content/ISLE/");
iniparser_set(p_dictionary, "isle:savepath", "sdmc:/wiiu/apps/isle-u/content/ISLE/SAVE");
}

8
ISLE/wiiu/config.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef WIIU_CONFIG_H
#define WIIU_CONFIG_H
#include "dictionary.h"
void WIIU_SetupDefaultConfigOverrides(dictionary* p_dictionary);
#endif // WIIU_CONFIG_H