Rename ROM class to Rom

This commit is contained in:
scawful
2024-04-14 14:47:17 -05:00
parent b06e22dc0d
commit 7e46cf1c64
23 changed files with 77 additions and 77 deletions

View File

@@ -106,7 +106,7 @@ RomInfo SNES::ReadRomHeader(uint32_t offset) {
return romInfo;
}
void SNES::Init(ROM& rom) {
void SNES::Init(Rom& rom) {
// Perform a long jump into a FastROM bank (if the ROM speed is FastROM)
// Disable the emulation flag (switch to 65816 native mode)
cpu_.E = 0;

View File

@@ -30,7 +30,7 @@ class SNES : public DirectMemoryAccess {
RomInfo ReadRomHeader(uint32_t offset);
// Initialization
void Init(ROM& rom);
void Init(Rom& rom);
// Main emulation loop
void Run();
@@ -72,7 +72,7 @@ class SNES : public DirectMemoryAccess {
return static_cast<Cpu::UpdateMode>(cpu_mode_);
}
void SetupMemory(ROM& rom) {
void SetupMemory(Rom& rom) {
// Setup observers for the memory space
memory_.AddObserver(&apu_);
memory_.AddObserver(&ppu_);