set int delay in dma fns

This commit is contained in:
scawful
2024-04-24 15:41:31 -04:00
parent f6e610814d
commit 2a5886e5e0
2 changed files with 4 additions and 0 deletions

View File

@@ -289,6 +289,7 @@ class MemoryImpl : public Memory, public Loggable {
// Stack Pointer access.
uint16_t SP() const override { return SP_; }
auto mutable_sp() -> uint16_t& { return SP_; }
void SetSP(uint16_t value) override { SP_ = value; }
void ClearMemory() override { std::fill(memory_.begin(), memory_.end(), 0); }