From f05ce967a54b0705e1448e8ace4e7551fce59682 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 26 Apr 2021 23:45:03 -0700 Subject: [PATCH] libretro: Expose bool system properties. --- libretro/libretro.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 3cb6bcb5b5f8..bed739db3f5c 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -937,6 +937,17 @@ float System_GetPropertyFloat(SystemProperty prop) return -1; } +bool System_GetPropertyBool(SystemProperty prop) +{ + switch (prop) + { + case SYSPROP_CAN_JIT: + return true; + default: + return false; + } +} + std::string System_GetProperty(SystemProperty prop) { return ""; } std::vector System_GetPropertyStringVec(SystemProperty prop) { return std::vector(); }