mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 17:49:45 +00:00
Compilation fix
This commit is contained in:
parent
b952017a3a
commit
1626df7e46
2 changed files with 4 additions and 9 deletions
|
@ -448,11 +448,6 @@ namespace vm
|
||||||
return (bptr&)addr;
|
return (bptr&)addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
operator ptr<T, lvl, AT>() const
|
|
||||||
{
|
|
||||||
return ptr<T, lvl, AT>::make(addr());
|
|
||||||
}
|
|
||||||
|
|
||||||
using bptrb<T, lvl, AT>::operator=;
|
using bptrb<T, lvl, AT>::operator=;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -340,9 +340,9 @@ int cellSaveDataListSave2(u32 version, vm::ptr<CellSaveDataSetList> setList, vm:
|
||||||
return CELL_SAVEDATA_ERROR_CBRESULT;
|
return CELL_SAVEDATA_ERROR_CBRESULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
setSaveDataList(saveEntries, listSet->fixedList, listSet->fixedListNum);
|
setSaveDataList(saveEntries, vm::ptr<CellSaveDataDirList>::make(listSet->fixedList.addr()), listSet->fixedListNum);
|
||||||
if (listSet->newData)
|
if (listSet->newData)
|
||||||
addNewSaveDataEntry(saveEntries, listSet->newData);
|
addNewSaveDataEntry(saveEntries, vm::ptr<CellSaveDataListNewData>::make(listSet->newData.addr()));
|
||||||
if (saveEntries.size() == 0) {
|
if (saveEntries.size() == 0) {
|
||||||
cellSysutil->Warning("cellSaveDataListSave2: No save entries found!"); // TODO: Find a better way to handle this error
|
cellSysutil->Warning("cellSaveDataListSave2: No save entries found!"); // TODO: Find a better way to handle this error
|
||||||
return CELL_SAVEDATA_RET_OK;
|
return CELL_SAVEDATA_RET_OK;
|
||||||
|
@ -425,9 +425,9 @@ int cellSaveDataListLoad2(u32 version, vm::ptr<CellSaveDataSetList> setList, vm:
|
||||||
return CELL_SAVEDATA_ERROR_CBRESULT;
|
return CELL_SAVEDATA_ERROR_CBRESULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
setSaveDataList(saveEntries, listSet->fixedList, listSet->fixedListNum);
|
setSaveDataList(saveEntries, vm::ptr<CellSaveDataDirList>::make(listSet->fixedList.addr()), listSet->fixedListNum);
|
||||||
if (listSet->newData)
|
if (listSet->newData)
|
||||||
addNewSaveDataEntry(saveEntries, listSet->newData);
|
addNewSaveDataEntry(saveEntries, vm::ptr<CellSaveDataListNewData>::make(listSet->newData.addr()));
|
||||||
if (saveEntries.size() == 0) {
|
if (saveEntries.size() == 0) {
|
||||||
cellSysutil->Warning("cellSaveDataListLoad2: No save entries found!"); // TODO: Find a better way to handle this error
|
cellSysutil->Warning("cellSaveDataListLoad2: No save entries found!"); // TODO: Find a better way to handle this error
|
||||||
return CELL_SAVEDATA_RET_OK;
|
return CELL_SAVEDATA_RET_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue