mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-03 15:12:17 +00:00
850102bbdc
Movies: Rewrote format to support all IO devices and console types Netplay: Now supports all IO devices and console types
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);
|
|
}; |