diff options
author | notaz | 2010-12-25 21:29:45 +0200 |
---|---|---|
committer | notaz | 2010-12-25 21:29:53 +0200 |
commit | 4f3639fab62fa95f4bdc620b2e3500e717a0fcf3 (patch) | |
tree | 9c7942b833f2b6c39ec7afd44d10f1c3436b92fd /frontend/main.c | |
parent | a7ce1fc5856aa569f831dc3f41d4d812374e95b5 (diff) | |
download | pcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.tar.gz pcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.tar.bz2 pcsx_rearmed-4f3639fab62fa95f4bdc620b2e3500e717a0fcf3.zip |
menu: add config save/load
Diffstat (limited to 'frontend/main.c')
-rw-r--r-- | frontend/main.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/frontend/main.c b/frontend/main.c index 7e33f2e..36b6a6a 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -185,21 +185,7 @@ int main(int argc, char *argv[]) strcpy(Config.Cdr, "builtin_cdr"); strcpy(Config.Pad1, "builtin_pad"); strcpy(Config.Pad2, "builtin_pad"); - - // try to load config - // if the config file doesn't exist - if (LoadConfig() == -1) { - // Uh oh, no config file found, use some defaults - Config.PsxAuto = 1; - - // create & load default memcards if they don't exist - CreateMemcard("card1.mcd", Config.Mcd1); - CreateMemcard("card2.mcd", Config.Mcd2); - - LoadMcds(Config.Mcd1, Config.Mcd2); - - SaveConfig(); - } + Config.PsxAuto = 1; snprintf(Config.PatchesDir, sizeof(Config.PatchesDir), "." PATCHES_DIR); /* |