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