mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-13 03:47:27 +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);
|
|
}; |