dolphin/Source/Core/Core/IOS/DolphinDevice.h
2022-08-02 22:24:06 -07:00

23 lines
493 B
C++

// Copyright 2019 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "Common/Timer.h"
#include "Core/IOS/Device.h"
namespace IOS::HLE
{
class DolphinDevice final : public Device
{
public:
DolphinDevice(Kernel& ios, const std::string& device_name);
std::optional<IPCReply> IOCtlV(const IOCtlVRequest& request) override;
private:
IPCReply GetSystemTime(const IOCtlVRequest& request) const;
Common::Timer m_timer;
};
} // namespace IOS::HLE