Add /dev/dolphin for homebrew to get information about Dolphin

Adds a /dev/dolphin interface that can be used by
Dolphin-aware software to get information like the
real system time and the Dolphin version.
This commit is contained in:
Florian Bach 2019-11-01 23:30:30 +01:00
parent a7d4be79ae
commit 2d55a6b0b7
8 changed files with 189 additions and 2 deletions

View file

@ -212,6 +212,11 @@ void ConfigCache::RestoreConfig(SConfig* config)
static ConfigCache config_cache;
void SetEmulationSpeedReset(bool value)
{
config_cache.bSetEmulationSpeed = value;
}
static GPUDeterminismMode ParseGPUDeterminismMode(const std::string& mode)
{
if (mode == "auto")