Merge pull request #152 from Sonicadvance1/implement_open_syscall

Implements the open syscall
This commit is contained in:
Ryan Houdek authored and GitHub committed 2020-04-29 12:26:46 -07:00
commit fb88100a7e
1 file changed
+1 -2
+1 -2
View File
@@ -33,8 +33,7 @@ std::string FileManager::GetEmulatedPath(const char *pathname) {
}
uint64_t FileManager::Open(const char *pathname, [[maybe_unused]] int flags, [[maybe_unused]] uint32_t mode) {
LogMan::Msg::I("XXX: Trying to open: '%s'", pathname);
return 0;
return ::open(pathname, flags, mode);
}
uint64_t FileManager::Close(int fd) {