mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
WFS: Implement GET_HOMEDIR.
This commit is contained in:
parent
1e75455ef5
commit
40c70469e5
@ -130,6 +130,12 @@ IPCCommandResult WFSSRV::IOCtl(const IOCtlRequest& request)
|
||||
INFO_LOG(IOS, "IOCTL_WFS_CHDIR: %s", m_current_directory.c_str());
|
||||
break;
|
||||
|
||||
case IOCTL_WFS_GET_HOMEDIR:
|
||||
INFO_LOG(IOS, "IOCTL_WFS_GET_HOMEDIR: %s", m_home_directory.c_str());
|
||||
Memory::Write_U16(static_cast<u16>(m_home_directory.size()), request.buffer_out);
|
||||
Memory::CopyToEmu(request.buffer_out + 2, m_home_directory.data(), m_home_directory.size());
|
||||
break;
|
||||
|
||||
case IOCTL_WFS_OPEN:
|
||||
{
|
||||
u32 mode = Memory::Read_U32(request.buffer_in);
|
||||
|
Loading…
x
Reference in New Issue
Block a user