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

23 lines
476 B
C++

#pragma once
#include "stdafx.h"
#include "BaseLoader.h"
struct NsfHeader;
struct RomData;
class NsfLoader : public BaseLoader
{
private:
void Read(uint8_t* &data, uint8_t& dest);
void Read(uint8_t* &data, uint16_t& dest);
void Read(uint8_t* &data, char* dest, size_t len);
protected:
void InitializeFromHeader(RomData& romData);
void InitHeader(NsfHeader& header);
public:
using BaseLoader::BaseLoader;
void LoadRom(RomData& romData, vector<uint8_t>& romFile);
};