Common: Replace Result with C++23's std::expected.
This commit is contained in:
1 parent
b556bd99d7
commit
dffc7a650d
24 files changed
+164
-197
No files matched your search
@@ -300,7 +300,7 @@ static bool CopySysmenuFilesToFS(FS::FileSystem* fs, const std::string& host_sou
|
||||
else
|
||||
{
|
||||
// Do not overwrite any existing files.
|
||||
if (fs->GetMetadata(IOS::SYSMENU_UID, IOS::SYSMENU_UID, nand_path).Succeeded())
|
||||
if (fs->GetMetadata(IOS::SYSMENU_UID, IOS::SYSMENU_UID, nand_path).has_value())
|
||||
continue;
|
||||
|
||||
File::IOFile host_file{host_path, "rb"};
|
||||
|
||||
Reference in new issue
Block a user