diff options
| author | JosJuice <josjuice@gmail.com> | 2018-05-30 07:40:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-30 07:40:44 +0200 |
| commit | 2f561dafd9e7dedfd3cecf933dac9edf79dc093e (patch) | |
| tree | 55140ce5c2c8099b96640c234d9cccfea4c21b12 /Source/Core | |
| parent | 1825e231a35399c86c65fa328871d58cf987eb14 (diff) | |
| parent | a7de49269650df2cfbd8701f52332843e817aa2b (diff) | |
Merge pull request #7014 from lioncash/const
DSPEmulator: Make the IsLLE() member function const-qualified
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/DSPEmulator.h | 2 | ||||
| -rw-r--r-- | Source/Core/Core/HW/DSPHLE/DSPHLE.h | 2 | ||||
| -rw-r--r-- | Source/Core/Core/HW/DSPLLE/DSPLLE.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/DSPEmulator.h b/Source/Core/Core/DSPEmulator.h index c0a1d42d2f..4d69d8dd69 100644 --- a/Source/Core/Core/DSPEmulator.h +++ b/Source/Core/Core/DSPEmulator.h @@ -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; diff --git a/Source/Core/Core/HW/DSPHLE/DSPHLE.h b/Source/Core/Core/HW/DSPHLE/DSPHLE.h index e3da25b0fd..4a948ece25 100644 --- a/Source/Core/Core/HW/DSPHLE/DSPHLE.h +++ b/Source/Core/Core/HW/DSPHLE/DSPHLE.h @@ -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; diff --git a/Source/Core/Core/HW/DSPLLE/DSPLLE.h b/Source/Core/Core/HW/DSPLLE/DSPLLE.h index be55b17a82..f6797fa1ca 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPLLE.h +++ b/Source/Core/Core/HW/DSPLLE/DSPLLE.h @@ -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; |
