mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
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:
@ -30,6 +30,7 @@
|
||||
#include "Core/IOS/DI/DI.h"
|
||||
#include "Core/IOS/Device.h"
|
||||
#include "Core/IOS/DeviceStub.h"
|
||||
#include "Core/IOS/DolphinDevice.h"
|
||||
#include "Core/IOS/ES/ES.h"
|
||||
#include "Core/IOS/FS/FileSystem.h"
|
||||
#include "Core/IOS/FS/FileSystemProxy.h"
|
||||
@ -372,6 +373,7 @@ void Kernel::AddCoreDevices()
|
||||
std::lock_guard<std::mutex> lock(m_device_map_mutex);
|
||||
AddDevice(std::make_unique<Device::FS>(*this, "/dev/fs"));
|
||||
AddDevice(std::make_unique<Device::ES>(*this, "/dev/es"));
|
||||
AddDevice(std::make_unique<Device::DolphinDevice>(*this, "/dev/dolphin"));
|
||||
}
|
||||
|
||||
void Kernel::AddStaticDevices()
|
||||
|
Reference in New Issue
Block a user