diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-09-27 21:16:51 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-10-06 19:58:37 +0200 |
commit | 23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe (patch) | |
tree | f5535cf4b4bde9054f0e1098eb1fd817b5ff1599 /src/core/hle/kernel | |
parent | FileSys: Add forgotten docstrings. (diff) | |
download | yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.gz yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.bz2 yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.lz yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.xz yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.tar.zst yuzu-23c2fbfc7a900ae3c9f8791a87c5ad672f5778fe.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/archive.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/kernel/archive.cpp b/src/core/hle/kernel/archive.cpp index fa4972994..0a66ab29b 100644 --- a/src/core/hle/kernel/archive.cpp +++ b/src/core/hle/kernel/archive.cpp @@ -181,6 +181,14 @@ public: break; } + case FileCommand::SetSize: + { + u64 size = cmd_buff[1] | ((u64)cmd_buff[2] << 32); + DEBUG_LOG(KERNEL, "SetSize %s %s size=%d", GetTypeName().c_str(), GetName().c_str(), size); + backend->SetSize(size); + break; + } + case FileCommand::Close: { DEBUG_LOG(KERNEL, "Close %s %s", GetTypeName().c_str(), GetName().c_str()); |