mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 01:10:07 +00:00
Merge pull request #234 from lioncash/unused
arm_dyncom_interpreter: Get rid of unused var warnings
This commit is contained in:
commit
7328bfcc79
@ -94,9 +94,8 @@ typedef unsigned int (*shtop_fp_t)(arm_processor *cpu, unsigned int sht_oper);
|
|||||||
|
|
||||||
/* exclusive memory access */
|
/* exclusive memory access */
|
||||||
static int exclusive_detect(ARMul_State* state, ARMword addr){
|
static int exclusive_detect(ARMul_State* state, ARMword addr){
|
||||||
int i;
|
|
||||||
#if 0
|
#if 0
|
||||||
for(i = 0; i < 128; i++){
|
for(int i = 0; i < 128; i++){
|
||||||
if(state->exclusive_tag_array[i] == addr)
|
if(state->exclusive_tag_array[i] == addr)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -108,9 +107,8 @@ static int exclusive_detect(ARMul_State* state, ARMword addr){
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void add_exclusive_addr(ARMul_State* state, ARMword addr){
|
static void add_exclusive_addr(ARMul_State* state, ARMword addr){
|
||||||
int i;
|
|
||||||
#if 0
|
#if 0
|
||||||
for(i = 0; i < 128; i++){
|
for(int i = 0; i < 128; i++){
|
||||||
if(state->exclusive_tag_array[i] == 0xffffffff){
|
if(state->exclusive_tag_array[i] == 0xffffffff){
|
||||||
state->exclusive_tag_array[i] = addr;
|
state->exclusive_tag_array[i] = addr;
|
||||||
//DEBUG_LOG(ARM11, "In %s, add addr 0x%x\n", __func__, addr);
|
//DEBUG_LOG(ARM11, "In %s, add addr 0x%x\n", __func__, addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user