From 747d53790c8b5d2401f0a06fd554784a57fde2ec Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 17 Apr 2015 23:43:54 +0300 Subject: [PATCH] Compilation fix --- rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp b/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp index f9beb90c6b..a52f450692 100644 --- a/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp @@ -454,7 +454,7 @@ __noinline s32 savedata_op( psf.SetString("TITLE", statSet->setParam->title); } - switch (const auto mode = statSet->reCreateMode & 0xffff) + switch (const u32 mode = statSet->reCreateMode & 0xffff) { case CELL_SAVEDATA_RECREATE_NO: case CELL_SAVEDATA_RECREATE_NO_NOBROKEN: @@ -522,7 +522,7 @@ __noinline s32 savedata_op( std::string filepath = dir_path; - switch (const auto type = fileSet->fileType) + switch (const u32 type = fileSet->fileType) { case CELL_SAVEDATA_FILETYPE_SECUREFILE: case CELL_SAVEDATA_FILETYPE_NORMALFILE: @@ -564,7 +564,7 @@ __noinline s32 savedata_op( std::unique_ptr file; - switch (const auto op = fileSet->fileOperation) + switch (const u32 op = fileSet->fileOperation) { case CELL_SAVEDATA_FILEOP_READ: {