mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-06 16:27:51 -05:00
core: Replace all instances of ResultCode with Result
This commit is contained in:
@ -74,7 +74,7 @@ void ProgressServiceBackend::CommitDirectory(std::string_view dir_name) {
|
||||
SignalUpdate();
|
||||
}
|
||||
|
||||
void ProgressServiceBackend::FinishDownload(ResultCode result) {
|
||||
void ProgressServiceBackend::FinishDownload(Result result) {
|
||||
impl.total_downloaded_bytes = impl.total_bytes;
|
||||
impl.status = DeliveryCacheProgressImpl::Status::Done;
|
||||
impl.result = result;
|
||||
|
@ -49,7 +49,7 @@ struct DeliveryCacheProgressImpl {
|
||||
};
|
||||
|
||||
Status status;
|
||||
ResultCode result = ResultSuccess;
|
||||
Result result = ResultSuccess;
|
||||
DirectoryName current_directory;
|
||||
FileName current_file;
|
||||
s64 current_downloaded_bytes; ///< Bytes downloaded on current file.
|
||||
@ -90,7 +90,7 @@ public:
|
||||
void CommitDirectory(std::string_view dir_name);
|
||||
|
||||
// Notifies the application that the operation completed with result code result.
|
||||
void FinishDownload(ResultCode result);
|
||||
void FinishDownload(Result result);
|
||||
|
||||
private:
|
||||
explicit ProgressServiceBackend(Core::System& system, std::string_view event_name);
|
||||
|
Reference in New Issue
Block a user