mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-14 04:48:42 +00:00
22 lines
490 B
C++
22 lines
490 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "VirtualFile.h"
|
|
#include "RomData.h"
|
|
class ArchiveReader;
|
|
|
|
class RomLoader
|
|
{
|
|
private:
|
|
RomData _romData;
|
|
string _filename;
|
|
|
|
static string FindMatchingRomInFile(string filePath, HashInfo hashInfo);
|
|
|
|
public:
|
|
bool LoadFile(VirtualFile romFile);
|
|
bool LoadFile(string filename, vector<uint8_t> &fileData);
|
|
|
|
RomData GetRomData();
|
|
static string FindMatchingRom(vector<string> romFiles, string romFilename, HashInfo hashInfo, bool useFastSearch);
|
|
};
|