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