Mesen/Core/FdsLoader.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

22 lines
583 B
C++

#pragma once
#include "stdafx.h"
#include "BaseLoader.h"
struct RomData;
class FdsLoader : public BaseLoader
{
private:
static constexpr size_t FdsDiskSideCapacity = 65500;
private:
void AddGaps(vector<uint8_t>& diskSide, uint8_t* readBuffer);
vector<uint8_t> LoadBios();
public:
using BaseLoader::BaseLoader;
vector<uint8_t> RebuildFdsFile(vector<vector<uint8_t>> diskData, bool needHeader);
void LoadDiskData(vector<uint8_t>& romFile, vector<vector<uint8_t>> &diskData, vector<vector<uint8_t>> &diskHeaders);
void LoadRom(RomData& romData, vector<uint8_t>& romFile);
};