Skip to content

Commit

Permalink
libretro: Expose bool system properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Apr 27, 2021
1 parent 98a060f commit f05ce96
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> System_GetPropertyStringVec(SystemProperty prop) { return std::vector<std::string>(); }

Expand Down

0 comments on commit f05ce96

Please sign in to comment.