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

This commit is contained in:
Léo Lam committed 2021-02-18 18:53:33 +01:00
1 parent f214df5d2c
commit 5eca82a6f2
11 files changed
+98 -55

No files matched your search

+5
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"));