mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Core: Add RiivolutionPatcher to apply Riivolution-style patches to a game's file system and memory.
This commit is contained in:
21
Source/Core/DiscIO/RiivolutionPatcher.h
Normal file
21
Source/Core/DiscIO/RiivolutionPatcher.h
Normal file
@ -0,0 +1,21 @@
|
||||
// Copyright 2021 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "DiscIO/RiivolutionParser.h"
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
struct FSTBuilderNode;
|
||||
}
|
||||
|
||||
namespace DiscIO::Riivolution
|
||||
{
|
||||
void ApplyPatchesToFiles(const std::vector<Patch>& patches,
|
||||
std::vector<DiscIO::FSTBuilderNode>* fst,
|
||||
DiscIO::FSTBuilderNode* dol_node);
|
||||
void ApplyPatchesToMemory(const std::vector<Patch>& patches);
|
||||
} // namespace DiscIO::Riivolution
|
Reference in New Issue
Block a user