file_sys: Move IPS patching code into separate source file

In anticipation of a new BPS patcher.
This commit is contained in:
Léo Lam
2019-11-24 20:32:10 +01:00
parent 020cd56ad8
commit 1377be9902
6 changed files with 78 additions and 52 deletions

15
src/core/file_sys/patch.h Normal file
View File

@@ -0,0 +1,15 @@
// Copyright 2019 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <vector>
#include "common/common_types.h"
namespace FileSys::Patch {
bool ApplyIpsPatch(const std::vector<u8>& patch, std::vector<u8>& buffer);
} // namespace FileSys::Patch