IOS/ES: Allow various utility functions to return timing info

This commit is contained in:
Léo Lam
2021-02-16 12:30:29 +01:00
parent f214df5d2c
commit 5eca82a6f2
11 changed files with 98 additions and 55 deletions

View File

@ -285,6 +285,11 @@ std::shared_ptr<FS::FileSystem> Kernel::GetFS()
return m_fs;
}
std::shared_ptr<FSDevice> Kernel::GetFSDevice()
{
return std::static_pointer_cast<FSDevice>(m_device_map.at("/dev/fs"));
}
std::shared_ptr<ESDevice> Kernel::GetES()
{
return std::static_pointer_cast<ESDevice>(m_device_map.at("/dev/es"));