Merge pull request #20989 from warmenhoven/warmenhoven/pr/libretro-mac-buildfix

libretro: fix mac build
This commit is contained in:
Henrik Rydgård
2025-11-11 16:21:40 +01:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+6
View File
@@ -234,6 +234,12 @@ jobs:
cxx: clang++
args: ./b.sh --headless --unittest --fat --no-png --no-sdl2
id: macos
- os: macos-latest
extra: libretro_mac
cc: clang
cxx: clang++
args: ./b.sh --libretro
id: macos-libretro
- os: macos-latest
extra: ios
cc: clang
+4 -1
View File
@@ -2039,7 +2039,10 @@ void System_AudioClear() {}
std::vector<std::string> System_GetCameraDeviceList() { return std::vector<std::string>(); }
bool System_AudioRecordingIsAvailable() { return false; }
bool System_AudioRecordingState() { return false; }
#elif PPSSPP_PLATFORM(MAC)
std::vector<std::string> __mac_getDeviceList() { return std::vector<std::string>(); }
int __mac_startCapture(int width, int height) { return 0; }
int __mac_stopCapture() { return 0; }
#endif
// TODO: To avoid having to define these here, these should probably be turned into system "requests".