Skip to content
Permalink
Browse files
Merge pull request #7014 from lioncash/const
DSPEmulator: Make the IsLLE() member function const-qualified
  • Loading branch information
JosJuice committed May 30, 2018
2 parents 1825e23 + a7de492 commit 2f561da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
@@ -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;
@@ -27,7 +27,7 @@ class DSPHLE : public DSPEmulator

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;

@@ -26,7 +26,7 @@ class DSPLLE : public DSPEmulator

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;

0 comments on commit 2f561da

Please sign in to comment.