libretro: Fix compile failure from latest Sound changes.

This commit is contained in:
Stephen Anthony 2022-09-03 14:08:09 -02:30
parent 287a035440
commit 574b60588b
2 changed files with 5 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class Sound
@return An array of supported devices
*/
const VariantList& supportedDevices() const {return myDevices;}
const VariantList& supportedDevices() const { return myDevices; }
/**
Play a WAV file.

View File

@ -151,6 +151,10 @@ class SoundLIBRETRO : public Sound
bool toggleMute() override { return !myIsInitializedFlag; }
string about() const override { return ""; }
bool playWav(const char*, uInt32, uInt32) override { return false; }
void stopWav() override { }
uInt32 wavSize() const override { return 0; }
private:
// Indicates if the sound device was successfully initialized
bool myIsInitializedFlag{false};