Merge pull request #7014 from lioncash/const

DSPEmulator: Make the IsLLE() member function const-qualified
This commit is contained in:
JosJuice 2018-05-30 07:40:44 +02:00 committed by GitHub
commit 2f561dafd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ class DSPEmulator
{
public:
virtual ~DSPEmulator();
virtual bool IsLLE() = 0;
virtual bool IsLLE() const = 0;
virtual bool Initialize(bool wii, bool dsp_thread) = 0;
virtual void Shutdown() = 0;

View File

@ -27,7 +27,7 @@ public:
bool Initialize(bool wii, bool dsp_thread) override;
void Shutdown() override;
bool IsLLE() override { return false; }
bool IsLLE() const override { return false; }
void DoState(PointerWrap& p) override;
void PauseAndLock(bool do_lock, bool unpause_on_unlock = true) override;

View File

@ -26,7 +26,7 @@ public:
bool Initialize(bool wii, bool dsp_thread) override;
void Shutdown() override;
bool IsLLE() override { return true; }
bool IsLLE() const override { return true; }
void DoState(PointerWrap& p) override;
void PauseAndLock(bool do_lock, bool unpause_on_unlock = true) override;