diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed9a522dbd..1bb246ba79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index ee175cf4da..8b6da35538 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -2039,7 +2039,10 @@ void System_AudioClear() {} std::vector System_GetCameraDeviceList() { return std::vector(); } bool System_AudioRecordingIsAvailable() { return false; } bool System_AudioRecordingState() { return false; } - +#elif PPSSPP_PLATFORM(MAC) +std::vector __mac_getDeviceList() { return std::vector(); } +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".