translate: Simplify function pointer calls

They can just be called like regular functions
This commit is contained in:
Lioncash
2016-08-24 17:10:59 -04:00
committed by MerryMage
parent 9b874c2e23
commit 37755cbfec
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ IR::Block TranslateArm(LocationDescriptor descriptor, MemoryRead32FuncType memor
bool should_continue = true;
while (should_continue && visitor.cond_state == ConditionalState::None) {
const u32 arm_pc = visitor.ir.current_location.PC();
const u32 arm_instruction = (*memory_read_32)(arm_pc);
const u32 arm_instruction = memory_read_32(arm_pc);
if (auto vfp_decoder = DecodeVFP2<ArmTranslatorVisitor>(arm_instruction)) {
should_continue = vfp_decoder->call(visitor, arm_instruction);