Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -4368,7 +4368,6 @@ void execute_arm(u32 cycles)
u32 cycles_per_instruction = global_cycles_per_instruction;
cpu_alert_type cpu_alert;

u32 old_pc;

if(pc_address_block == NULL)
pc_address_block = load_gamepak_page(pc_region & 0x3FF);
Expand All @@ -4390,7 +4389,6 @@ void execute_arm(u32 cycles)
step_debug(pc, cycles_remaining);
cycles_per_instruction = global_cycles_per_instruction;

old_pc = pc;
execute_arm_instruction();
cycles_remaining -= cycles_per_instruction;
} while(cycles_remaining > 0);
Expand All @@ -4406,7 +4404,6 @@ void execute_arm(u32 cycles)
collapse_flags();
step_debug(pc, cycles_remaining);

old_pc = pc;
execute_thumb_instruction();
cycles_remaining -= cycles_per_instruction;
} while(cycles_remaining > 0);
Expand Down