mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-07 11:14:18 +03:00

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.
18 lines
459 B
C++
18 lines
459 B
C++
// Copyright 2019 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Core/IOS/Device.h"
|
|
|
|
namespace IOS::HLE::Device
|
|
{
|
|
class DolphinDevice final : public Device
|
|
{
|
|
public:
|
|
// Inherit the constructor from the Device class, since we don't need to do anything special.
|
|
using Device::Device;
|
|
IPCCommandResult IOCtlV(const IOCtlVRequest& request) override;
|
|
};
|
|
} // namespace IOS::HLE::Device
|