mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Make vm::var unmoveable
Fix bugs with discarding vm::make_var result
This commit is contained in:
parent
8abe6489ed
commit
7bccdbf157
7 changed files with 65 additions and 61 deletions
|
@ -80,7 +80,8 @@ error_code cellPhotoImport(u32 version, vm::cptr<char> dstHddPath, vm::ptr<CellP
|
|||
sysutil_register_cb([=](ppu_thread& ppu) -> s32
|
||||
{
|
||||
vm::var<CellPhotoImportFileData> filedata;
|
||||
filedata->data_sub = vm::var<CellPhotoImportFileDataSub>();
|
||||
vm::var<CellPhotoImportFileDataSub> sub;
|
||||
filedata->data_sub = sub;
|
||||
funcFinish(ppu, CELL_OK, filedata, userdata);
|
||||
return CELL_OK;
|
||||
});
|
||||
|
@ -95,7 +96,8 @@ error_code cellPhotoImport2(u32 version, vm::cptr<char> dstHddPath, vm::ptr<Cell
|
|||
sysutil_register_cb([=](ppu_thread& ppu) -> s32
|
||||
{
|
||||
vm::var<CellPhotoImportFileData> filedata;
|
||||
filedata->data_sub = vm::var<CellPhotoImportFileDataSub>();
|
||||
vm::var<CellPhotoImportFileDataSub> sub;
|
||||
filedata->data_sub = sub;
|
||||
funcFinish(ppu, CELL_OK, filedata, userdata);
|
||||
return CELL_OK;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue