dyncom: Migrate InAPrivilegedMode to armsupp

It's a generic helper function, so it should be here anyway.
This commit is contained in:
Lioncash 2015-03-26 09:21:24 -04:00
parent c4767f3bb2
commit de6eba0288
3 changed files with 7 additions and 4 deletions

View file

@ -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);