mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00: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:
parent
175f225ac1
commit
6ec4af7ea4
5 changed files with 260 additions and 51 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue