CPUCoreBase: Make the GetName() member function const qualified

This function should have no need to modify internal class state.
This commit is contained in:
Lioncash
2018-03-24 15:59:20 -04:00
parent c738ddc4aa
commit 397b3fb976
8 changed files with 8 additions and 8 deletions

View File

@ -102,7 +102,7 @@ public:
PanicAlertT("Cannot SingleStep the FIFO. Use Frame Advance instead.");
}
const char* GetName() override { return "FifoPlayer"; }
const char* GetName() const override { return "FifoPlayer"; }
void Run() override
{
while (CPU::GetState() == CPU::State::Running)