StateSaves dir now in new structure

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1143 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-11-12 07:57:30 +00:00
parent 1a7fd90538
commit a8c6e370e3
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
#define CONFIG_DIR "Config"
#define GAMECONFIG_DIR "GameConfig"
#define CACHE_DIR "Cache"
#define SAVESTATES_DIR "SaveStates"
#define STATESAVES_DIR "StateSaves"
#define SCREENSHOTS_DIR "ScreenShots"
#define LOGS_DIR "Logs"
@ -75,7 +75,7 @@
#define FULL_GAMECONFIG_DIR FULL_USERDATA_DIR GAMECONFIG_DIR DIR_SEP
#define FULL_CONFIG_DIR FULL_USERDATA_DIR CONFIG_DIR DIR_SEP
#define FULL_CACHE_DIR FULL_USERDATA_DIR CACHE_DIR
#define FULL_SAVESTATES_DIR FULL_USERDATA_DIR SAVESTATES_DIR
#define FULL_STATESAVES_DIR FULL_USERDATA_DIR STATESAVES_DIR
#define FULL_SCREENSHOTS_DIR FULL_USERDATA_DIR SCREENSHOTS_DIR
#define FULL_LOGS_DIR FULL_USERDATA_DIR LOGS_DIR

View File

@ -217,7 +217,7 @@ void State_Shutdown()
}
std::string MakeStateFilename(int state_number) {
return StringFromFormat("StateSaves/%s.s%02i", Core::GetStartupParameter().GetUniqueID().c_str(), state_number);
return StringFromFormat(FULL_STATESAVES_DIR "%s.s%02i", Core::GetStartupParameter().GetUniqueID().c_str(), state_number);
}
void State_Save(int slot)