From 47661d0acd776f8fc5778212f0930848db473969 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 26 Aug 2023 14:42:52 -0230 Subject: [PATCH] libretro: fix build issues with new bezel code. --- src/emucore/OSystem.cxx | 2 +- src/os/libretro/FBBackendLIBRETRO.hxx | 1 + src/os/libretro/Makefile.common | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/emucore/OSystem.cxx b/src/emucore/OSystem.cxx index a7ac4ad81..8e7886d3a 100644 --- a/src/emucore/OSystem.cxx +++ b/src/emucore/OSystem.cxx @@ -60,7 +60,7 @@ #include "StateManager.hxx" #include "TimerManager.hxx" #ifdef GUI_SUPPORT -#include "HighScoresManager.hxx" + #include "HighScoresManager.hxx" #endif #include "Version.hxx" #include "TIA.hxx" diff --git a/src/os/libretro/FBBackendLIBRETRO.hxx b/src/os/libretro/FBBackendLIBRETRO.hxx index 6d1cdf5c7..a19949874 100644 --- a/src/os/libretro/FBBackendLIBRETRO.hxx +++ b/src/os/libretro/FBBackendLIBRETRO.hxx @@ -100,6 +100,7 @@ class FBBackendLIBRETRO : public FBBackend void showCursor(bool) override { } bool fullScreen() const override { return true; } void getRGB(uInt32, uInt8*, uInt8*, uInt8*) const override { } + void getRGBA(uInt32, uInt8*, uInt8*, uInt8*, uInt8*) const override { } void readPixels(uInt8*, size_t, const Common::Rect&) const override { } bool isCurrentWindowPositioned() const override { return true; } Common::Point getCurrentWindowPos() const override { return Common::Point{}; } diff --git a/src/os/libretro/Makefile.common b/src/os/libretro/Makefile.common index 724fd4adb..ddd3e8520 100644 --- a/src/os/libretro/Makefile.common +++ b/src/os/libretro/Makefile.common @@ -12,6 +12,7 @@ SOURCES_CXX := \ $(CORE_DIR)/common/AudioQueue.cxx \ $(CORE_DIR)/common/AudioSettings.cxx \ $(CORE_DIR)/common/Base.cxx \ + $(CORE_DIR)/common/Bezel.cxx \ $(CORE_DIR)/common/DevSettingsHandler.cxx \ $(CORE_DIR)/common/FpsMeter.cxx \ $(CORE_DIR)/common/FSNodeZIP.cxx \