Further work on SPU implementation

This commit is contained in:
Connor McLaughlin
2019-10-11 02:20:21 +10:00
parent bc51cc6d7d
commit f852b8dd90
9 changed files with 710 additions and 20 deletions

View File

@ -2,6 +2,8 @@
#include "types.h"
#include <memory>
class AudioStream;
namespace GL {
class Texture;
}
@ -14,6 +16,8 @@ public:
HostInterface();
virtual ~HostInterface();
AudioStream* GetAudioStream() const { return m_audio_stream.get(); }
bool InitializeSystem(const char* filename, const char* exp1_filename);
virtual void SetDisplayTexture(GL::Texture* texture, u32 offset_x, u32 offset_y, u32 width, u32 height, float aspect_ratio) = 0;
@ -26,6 +30,8 @@ public:
bool SaveState(const char* filename);
protected:
std::unique_ptr<AudioStream> m_audio_stream;
std::unique_ptr<System> m_system;
bool m_running = false;
};