From de6eba02885fe12af1b28bb87433310363fac20a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 26 Mar 2015 09:21:24 -0400 Subject: dyncom: Migrate InAPrivilegedMode to armsupp It's a generic helper function, so it should be here anyway. --- src/core/arm/dyncom/arm_dyncom_interpreter.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/arm/dyncom/arm_dyncom_interpreter.cpp') 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); -- cgit v1.2.3