Add SNES::SetSamples and accessors for snes object

This commit is contained in:
scawful
2024-04-20 07:40:27 -04:00
parent c6df32ffe8
commit 2de3b283cd
3 changed files with 9 additions and 0 deletions

View File

@@ -57,6 +57,8 @@ class SNES : public DirectMemoryAccess {
void SaveState(const std::string& path);
void LoadState(const std::string& path);
void SetSamples(int16_t* sample_data, int wanted_samples);
bool running() const { return running_; }
auto cpu() -> Cpu& { return cpu_; }