diff options
author | Lioncash <mathew1800@gmail.com> | 2015-03-26 09:21:24 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-03-26 09:22:02 -0400 |
commit | de6eba02885fe12af1b28bb87433310363fac20a (patch) | |
tree | 5c44673e6e969ba1b6a211c4b98a55313f213e6c /src/core/arm/dyncom/arm_dyncom_interpreter.cpp | |
parent | c4767f3bb2da17c8b14df78f47db10696f91960a (diff) |
dyncom: Migrate InAPrivilegedMode to armsupp
It's a generic helper function, so it should be here anyway.
Diffstat (limited to 'src/core/arm/dyncom/arm_dyncom_interpreter.cpp')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom_interpreter.cpp | 4 |
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 2765cb36..1fc342d0 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) { return n; } -static bool InAPrivilegedMode(ARMul_State* core) { - return (core->Mode != USER32MODE); -} - unsigned InterpreterMainLoop(ARMul_State* state) { Common::Profiling::ScopeTimer timer_execute(profile_execute); |