Rename ROM class to Rom
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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_);
|
||||
|
||||
Reference in New Issue
Block a user