8047fe44bb
-Added audio support -Improved emulation logic -Games are loaded via .studybox files
22 lines
No EOL
511 B
C++
22 lines
No EOL
511 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "BaseLoader.h"
|
|
|
|
struct StudyBoxData;
|
|
struct RomData;
|
|
|
|
class StudyBoxLoader : public BaseLoader
|
|
{
|
|
private:
|
|
uint32_t ReadInt(uint8_t*& data);
|
|
string ReadFourCC(uint8_t*& data);
|
|
vector<uint8_t> ReadArray(uint8_t*& data, uint32_t length);
|
|
|
|
bool LoadStudyBoxTape(vector<uint8_t> studyBoxFile, StudyBoxData& studyBoxData);
|
|
vector<uint8_t> LoadBios();
|
|
|
|
public:
|
|
using BaseLoader::BaseLoader;
|
|
|
|
void LoadRom(RomData& romData, vector<uint8_t>& romFile, string filepath);
|
|
}; |