Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Fix warnings in core/frontend/input.h with [[maybe_unused]]

bunnei2ac114879888
diff --git a/src/core/frontend/input.h b/src/core/frontend/input.h
index 95c2848eba..11c2e96caf 100644
--- a/src/core/frontend/input.h
+++ b/src/core/frontend/input.h
@@ -33,7 +33,9 @@ public:
virtual bool GetAnalogDirectionStatus([[maybe_unused]] AnalogDirection direction) const {
return {};
}
- virtual bool SetRumblePlay(f32 amp_low, f32 freq_low, f32 amp_high, f32 freq_high) const {
+ virtual bool SetRumblePlay([[maybe_unused]] f32 amp_low, [[maybe_unused]] f32 freq_low,
+ [[maybe_unused]] f32 amp_high,
+ [[maybe_unused]] f32 freq_high) const {
return {};
}
};