mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
RiivolutionPatcher: Load external files with a layer of indirection during the patching process to properly resolve the paths given in the XML.
This also may eventually allow loading patches from sources other than the 1:1 expected file structure host file system, such as memory or an archive file.
This commit is contained in:
@ -13,9 +13,12 @@
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/IOFile.h"
|
||||
#include "Common/StringUtil.h"
|
||||
#include "DiscIO/RiivolutionPatcher.h"
|
||||
|
||||
namespace DiscIO::Riivolution
|
||||
{
|
||||
Patch::~Patch() = default;
|
||||
|
||||
std::optional<Disc> ParseFile(const std::string& filename)
|
||||
{
|
||||
::File::IOFile f(filename, "rb");
|
||||
|
Reference in New Issue
Block a user