Mesen/Utilities/BpsPatcher.h

13 lines
323 B
C++

#pragma once
#include "stdafx.h"
class BpsPatcher
{
private:
static uint64_t ReadBase128Number(std::istream &file);
public:
static bool PatchBuffer(std::istream &bpsFile, vector<uint8_t> &input, vector<uint8_t> &output);
static bool PatchBuffer(string bpsFilepath, vector<uint8_t> &input, vector<uint8_t> &output);
};