diff options
author | Cameron Cawley | 2019-09-06 12:35:22 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-06 14:48:16 +0200 |
commit | 7a8ddcbe38a828c6c674bd6147bcddfc6734c97b (patch) | |
tree | 23fc67db9e13075a74c88ba6f1b7645c14f7cc3d /backends/platform/psp | |
parent | 713fe80b47ebda1c0f10d80d9d3d7551122e8fa8 (diff) | |
download | scummvm-rg350-7a8ddcbe38a828c6c674bd6147bcddfc6734c97b.tar.gz scummvm-rg350-7a8ddcbe38a828c6c674bd6147bcddfc6734c97b.tar.bz2 scummvm-rg350-7a8ddcbe38a828c6c674bd6147bcddfc6734c97b.zip |
PSP: Replace PSPSaveFileManager with DefaultSaveFileManager
Diffstat (limited to 'backends/platform/psp')
-rw-r--r-- | backends/platform/psp/osys_psp.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp index 5d9e3aba61..91f223bf06 100644 --- a/backends/platform/psp/osys_psp.cpp +++ b/backends/platform/psp/osys_psp.cpp @@ -38,7 +38,7 @@ #include "backends/platform/psp/powerman.h" #include "backends/platform/psp/rtc.h" -#include "backends/saves/psp/psp-saves.h" +#include "backends/saves/default/default-saves.h" #include "backends/timer/default/default-timer.h" #include "graphics/surface.h" #include "audio/mixer_intern.h" @@ -61,6 +61,8 @@ OSystem_PSP::~OSystem_PSP() {} #define PSP_SCREEN_WIDTH 480 #define PSP_SCREEN_HEIGHT 272 +#define PSP_DEFAULT_SAVE_PATH "ms0:/scummvm_savegames" + void OSystem_PSP::initBackend() { DEBUG_ENTER_FUNC(); @@ -93,7 +95,7 @@ void OSystem_PSP::initBackend() { _imageViewer.setInputHandler(&_inputHandler); _imageViewer.setDisplayManager(&_displayManager); - _savefileManager = new PSPSaveFileManager; + _savefileManager = new DefaultSaveFileManager(PSP_DEFAULT_SAVE_PATH) _timerManager = new DefaultTimerManager(); |