From 68e700ea54b25084f4e7929746f1379865d754bd Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Wed, 1 May 2019 16:43:04 +0100 Subject: PSP2: Fix warning --- backends/platform/sdl/psp2/psp2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backends/platform') diff --git a/backends/platform/sdl/psp2/psp2.cpp b/backends/platform/sdl/psp2/psp2.cpp index 28b0edf263..6919343001 100644 --- a/backends/platform/sdl/psp2/psp2.cpp +++ b/backends/platform/sdl/psp2/psp2.cpp @@ -142,8 +142,10 @@ void OSystem_PSP2::setFeatureState(Feature f, bool enable) { case kFeatureTouchpadMode: ConfMan.setBool("touchpad_mouse_mode", enable); break; + default: + OSystem_SDL::setFeatureState(f, enable); + break; } - OSystem_SDL::setFeatureState(f, enable); } bool OSystem_PSP2::getFeatureState(Feature f) { -- cgit v1.2.3