mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 09:09:45 +00:00
8047fe44bb
-Added audio support -Improved emulation logic -Games are loaded via .studybox files
26 lines
576 B
C++
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);
|
|
};
|