1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 22:02:15 +00:00

fs: fix missed operation rename

This commit is contained in:
Michael Scire 2021-04-30 09:02:58 -07:00
parent 10ad6934ac
commit 15381409dc

View file

@ -195,7 +195,7 @@ namespace ams::mitm::fs {
Result LayeredRomfsStorage::OperateRange(void *dst, size_t dst_size, OperationId op_id, s64 offset, s64 size, const void *src, size_t src_size) { Result LayeredRomfsStorage::OperateRange(void *dst, size_t dst_size, OperationId op_id, s64 offset, s64 size, const void *src, size_t src_size) {
switch (op_id) { switch (op_id) {
case OperationId::InvalidateCache: case OperationId::Invalidate:
case OperationId::QueryRange: case OperationId::QueryRange:
if (size == 0) { if (size == 0) {
if (op_id == OperationId::QueryRange) { if (op_id == OperationId::QueryRange) {