mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Add %ARCHIVE_DEFAULT%.
This commit is contained in:
@@ -63,8 +63,6 @@ using json = nlohmann::json;
|
||||
|
||||
#endif
|
||||
|
||||
extern char * arg0;
|
||||
|
||||
#define WORKING_DIR "/"
|
||||
#define SCRIPTS_PATH "sdmc:/3ds/Universal-Updater/scripts/" // The Scripts will be here.
|
||||
#define MUSIC_PATH "sdmc:/3ds/Universal-Updater/Music.wav" // Default Music File / Path.
|
||||
@@ -74,4 +72,5 @@ extern char * arg0;
|
||||
#define ENTRIES_PER_LIST 7
|
||||
#define metaFile "sdmc:/3ds/Universal-Updater/ScriptInfo.json"
|
||||
#define _3DSX_PATH "sdmc:/3ds"
|
||||
#define _NDS_PATH "sdmc:"
|
||||
#define _NDS_PATH "sdmc:"
|
||||
#define ARCHIVES_DEFAULT "sdmc:"
|
||||
@@ -129,7 +129,9 @@ public:
|
||||
void _3dsxpath(std::string v) { this->v_3dsx_install_path = v; if (!this->changesMade) this->changesMade = true; }
|
||||
std::string ndspath() { return this->v_nds_install_path; }
|
||||
void ndspath(std::string v) { this->v_nds_install_path = v; if (!this->changesMade) this->changesMade = true; }
|
||||
|
||||
std::string archivepath() { return this->v_archive_path; }
|
||||
void archivepath(std::string v) { this->v_archive_path = v; if (!this->changesMade) this->changesMade = true; }
|
||||
|
||||
// Mainly helper.
|
||||
bool getBool(const std::string &key);
|
||||
void setBool(const std::string &key, bool v);
|
||||
@@ -150,7 +152,7 @@ private:
|
||||
bool v_logging, v_useBars, v_screenFade, v_progressDisplay, v_firstStartup, v_useScriptColor, v_showSpeed;
|
||||
|
||||
// Some variables.
|
||||
std::string v_3dsx_install_path, v_nds_install_path;
|
||||
std::string v_3dsx_install_path, v_nds_install_path, v_archive_path;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user