summaryrefslogtreecommitdiff
path: root/src/core/arm/dyncom
diff options
context:
space:
mode:
authorGravatar Lioncash2015-03-26 09:21:24 -0400
committerGravatar Lioncash2015-03-26 09:22:02 -0400
commitde6eba02885fe12af1b28bb87433310363fac20a (patch)
tree5c44673e6e969ba1b6a211c4b98a55313f213e6c /src/core/arm/dyncom
parentMerge pull request #672 from purpasmart96/citra_moar_app_mem (diff)
downloadyuzu-de6eba02885fe12af1b28bb87433310363fac20a.tar.gz
yuzu-de6eba02885fe12af1b28bb87433310363fac20a.tar.xz
yuzu-de6eba02885fe12af1b28bb87433310363fac20a.zip
dyncom: Migrate InAPrivilegedMode to armsupp
It's a generic helper function, so it should be here anyway.
Diffstat (limited to 'src/core/arm/dyncom')
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index 2765cb36e..1fc342d02 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -3690,10 +3690,6 @@ static int clz(unsigned int x) {
3690 return n; 3690 return n;
3691} 3691}
3692 3692
3693static bool InAPrivilegedMode(ARMul_State* core) {
3694 return (core->Mode != USER32MODE);
3695}
3696
3697unsigned InterpreterMainLoop(ARMul_State* state) { 3693unsigned InterpreterMainLoop(ARMul_State* state) {
3698 Common::Profiling::ScopeTimer timer_execute(profile_execute); 3694 Common::Profiling::ScopeTimer timer_execute(profile_execute);
3699 3695