Skip to content
Browse files

Create necessary folder when using integration

This was making it impossible to use the integration
without first manually creating a Redump folder in the Cache folder.
  • Loading branch information...
JosJuice committed Oct 25, 2019
1 parent c6da1f0 commit 2f1b2c6adf9521f4943924d4b686be639a72501d
Showing with 3 additions and 1 deletion.
  1. +3 −1 Source/Core/DiscIO/VolumeVerifier.cpp
@@ -153,7 +153,9 @@ RedumpVerifier::DownloadStatus RedumpVerifier::DownloadDatfile(const std::string
return system_not_available_match ? DownloadStatus::SystemNotAvailable : DownloadStatus::Fail;

File::IOFile(output_path, "wb").WriteBytes(result->data(), result->size());
if (!File::IOFile(output_path, "wb").WriteBytes(result->data(), result->size()))
ERROR_LOG(DISCIO, "Failed to write downloaded datfile to %s", output_path.c_str());
return DownloadStatus::Success;

0 comments on commit 2f1b2c6

Please sign in to comment.
You can’t perform that action at this time.