mirror of
https://github.com/libretro/Mesen-S.git
synced 2024-11-27 02:20:34 +00:00
12 lines
450 B
C++
12 lines
450 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
class IpsPatcher
|
|
{
|
|
public:
|
|
static bool PatchBuffer(string ipsFilepath, vector<uint8_t> &input, vector<uint8_t> &output);
|
|
static bool PatchBuffer(vector<uint8_t>& ipsData, vector<uint8_t>& input, vector<uint8_t>& output);
|
|
static bool PatchBuffer(std::istream &ipsFile, vector<uint8_t> &input, vector<uint8_t> &output);
|
|
static vector<uint8_t> CreatePatch(vector<uint8_t> originalData, vector<uint8_t> newData);
|
|
}; |