summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_page_table.cpp
diff options
context:
space:
mode:
authorKyle Kienapfel <Docteh@users.noreply.github.com>2022-11-11 13:12:37 +0100
committerKyle Kienapfel <Docteh@users.noreply.github.com>2022-11-14 01:30:55 +0100
commit6fa3faec658893c9fae19116232d24dac08babc7 (patch)
tree4e04753b659357d6595fa22766ae305586fd90d4 /src/core/hle/kernel/k_page_table.cpp
parentMerge pull request #9223 from goldenx86/threadcount (diff)
downloadyuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.gz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.bz2
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.lz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.xz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.zst
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.zip
Diffstat (limited to 'src/core/hle/kernel/k_page_table.cpp')
-rw-r--r--src/core/hle/kernel/k_page_table.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cpp
index 5387bf5fe..612fc76fa 100644
--- a/src/core/hle/kernel/k_page_table.cpp
+++ b/src/core/hle/kernel/k_page_table.cpp
@@ -2301,6 +2301,7 @@ Result KPageTable::SetProcessMemoryPermission(VAddr addr, size_t size,
break;
default:
ASSERT(false);
+ break;
}
}
@@ -2803,6 +2804,7 @@ Result KPageTable::Operate(VAddr addr, size_t num_pages, const KPageGroup& page_
break;
default:
ASSERT(false);
+ break;
}
addr += size;
@@ -2838,6 +2840,7 @@ Result KPageTable::Operate(VAddr addr, size_t num_pages, KMemoryPermission perm,
break;
default:
ASSERT(false);
+ break;
}
R_SUCCEED();
}