X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=gpsp.git;a=blobdiff_plain;f=cpu_threaded.c;h=db7155c2cf7afb3679bcb9f051e6efbce25b7629;hp=547b3c0de92cd86cb5a0c4cb795ad15ed46d6b8e;hb=HEAD;hpb=8b6232a675c7b49bd9651805fc92917cc7a92198 diff --git a/cpu_threaded.c b/cpu_threaded.c index 547b3c0..db7155c 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -3177,7 +3177,7 @@ block_exit_type block_exits[MAX_EXITS]; s32 translate_block_##type(u32 pc, translation_region_type \ translation_region, u32 smc_enable) \ { \ - u32 opcode; \ + u32 opcode = 0; \ u32 last_opcode; \ u32 condition; \ u32 last_condition; \ @@ -3192,9 +3192,9 @@ s32 translate_block_##type(u32 pc, translation_region_type \ u32 branch_target; \ u32 cycle_count = 0; \ u8 *translation_target; \ - u8 *backpatch_address; \ - u8 *translation_ptr; \ - u8 *translation_cache_limit; \ + u8 *backpatch_address = NULL; \ + u8 *translation_ptr = NULL; \ + u8 *translation_cache_limit = NULL; \ s32 i; \ u32 flag_status; \ block_exit_type external_block_exits[MAX_EXITS]; \