enable -Wall and fix warnings reported by it

This commit is contained in:
notaz
2011-09-05 19:31:58 +03:00
parent eb3668fc5d
commit bbba320911
23 changed files with 294 additions and 285 deletions

6
cpu.h
View File

@@ -109,11 +109,13 @@ extern debug_state current_debug_state;
extern u32 instruction_count;
extern u32 last_instruction;
u32 function_cc step_debug(u32 pc, u32 cycles);
u32 execute_arm(u32 cycles);
void execute_arm(u32 cycles);
void raise_interrupt(irq_type irq_raised);
void set_cpu_mode(cpu_mode_type new_mode);
void debug_on();
void debug_off(debug_state new_debug_state);
u32 function_cc execute_load_u8(u32 address);
u32 function_cc execute_load_u16(u32 address);
u32 function_cc execute_load_u32(u32 address);