Mesen/Core/RomLoader.h
Sour 8047fe44bb Added Study Box tape support (.studybox files)
-Added audio support
-Improved emulation logic
-Games are loaded via .studybox files
2019-12-31 20:24:06 -05:00

26 lines
576 B
C++

#pragma once
#include "stdafx.h"
#include "VirtualFile.h"
#include "RomData.h"
#include "BaseLoader.h"
class ArchiveReader;
class RomLoader : public BaseLoader
{
private:
static constexpr int MaxFilesToCheck = 100;
RomData _romData;
string _filename;
static string FindMatchingRomInFile(string filePath, HashInfo hashInfo, int &iterationCount);
public:
using BaseLoader::BaseLoader;
bool LoadFile(VirtualFile &romFile);
RomData GetRomData();
static string FindMatchingRom(vector<string> romFiles, string romFilename, HashInfo hashInfo, bool useFastSearch);
};