htcfs: implement OpenDirectory/CloseDirectory

This commit is contained in:
Michael Scire
2021-02-13 01:57:24 -08:00
committed by SciresM
parent b371487525
commit e79417c37c
9 changed files with 209 additions and 13 deletions

View File

@@ -24,6 +24,9 @@ namespace ams::htcfs {
ClientImpl m_impl;
public:
Client(htclow::HtclowManager *manager) : m_impl(manager) { /* ... */ }
public:
Result OpenDirectory(s32 *out_handle, const char *path, fs::OpenDirectoryMode mode, bool case_sensitive) { return m_impl.OpenDirectory(out_handle, path, mode, case_sensitive); }
Result CloseDirectory(s32 handle) { return m_impl.CloseDirectory(handle); }
};
void InitializeClient(htclow::HtclowManager *manager);