mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
cellVideoExport: fix file paths
This commit is contained in:
parent
6b8aef9fdd
commit
0e73c4598e
1 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ error_code cellVideoExportFromFileWithCopy(vm::cptr<char> srcHddDir, vm::cptr<ch
|
|||
|
||||
cellVideoExport.notice("cellVideoExportFromFileWithCopy: param: title=%s, game_title=%s, game_comment=%s, editable=%d", param->title, param->game_title, param->game_comment, param->editable);
|
||||
|
||||
const std::string file_path = fmt::format("%s/%s", srcHddDir, srcHddFile);
|
||||
const std::string file_path = fmt::format("%s/%s", srcHddDir.get_ptr(), srcHddFile.get_ptr());
|
||||
|
||||
if (!check_movie_path(file_path))
|
||||
{
|
||||
|
@ -292,7 +292,7 @@ error_code cellVideoExportFromFile(vm::cptr<char> srcHddDir, vm::cptr<char> srcH
|
|||
|
||||
cellVideoExport.notice("cellVideoExportFromFile: param: title=%s, game_title=%s, game_comment=%s, editable=%d", param->title, param->game_title, param->game_comment, param->editable);
|
||||
|
||||
const std::string file_path = fmt::format("%s/%s", srcHddDir, srcHddFile);
|
||||
const std::string file_path = fmt::format("%s/%s", srcHddDir.get_ptr(), srcHddFile.get_ptr());
|
||||
|
||||
if (!check_movie_path(file_path))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue