add memory namespace, update comments

This commit is contained in:
scawful
2024-04-13 23:56:41 -05:00
parent e45322d070
commit f653517026
14 changed files with 153 additions and 61 deletions

View File

@@ -20,12 +20,14 @@ namespace yaze {
namespace app {
namespace emu {
class SNES : public DMA {
using namespace memory;
class SNES : public DirectMemoryAccess {
public:
SNES() = default;
~SNES() = default;
ROMInfo ReadRomHeader(uint32_t offset);
RomInfo ReadRomHeader(uint32_t offset);
// Initialization
void Init(ROM& rom);
@@ -95,7 +97,7 @@ class SNES : public DMA {
audio::Apu apu_{memory_, audio_ram_, clock_};
// Helper classes
ROMInfo rom_info_;
RomInfo rom_info_;
Debugger debugger;
// Currently loaded ROM