Skip to content

Commit d4071f4

Browse files
libretro: Expose bool system properties.
1 parent f4a9195 commit d4071f4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

libretro/libretro.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,17 @@ float System_GetPropertyFloat(SystemProperty prop)
924924
return -1;
925925
}
926926

927+
bool System_GetPropertyBool(SystemProperty prop)
928+
{
929+
switch (prop)
930+
{
931+
case SYSPROP_CAN_JIT:
932+
return true;
933+
default:
934+
return false;
935+
}
936+
}
937+
927938
std::string System_GetProperty(SystemProperty prop) { return ""; }
928939
std::vector<std::string> System_GetPropertyStringVec(SystemProperty prop) { return std::vector<std::string>(); }
929940

0 commit comments

Comments
 (0)