diff options
author | notaz | 2013-04-01 01:13:10 +0300 |
---|---|---|
committer | notaz | 2013-04-01 01:20:19 +0300 |
commit | 57ab9898652b5e6fe6f790a5ca2bd17bf96936e8 (patch) | |
tree | 1e141bd3259c41f5f7d90941791cf9d31cc43650 | |
parent | c43b5311cb0f9b559b65c94ad4d8f6afaddae27f (diff) | |
download | pcsx_rearmed-57ab9898652b5e6fe6f790a5ca2bd17bf96936e8.tar.gz pcsx_rearmed-57ab9898652b5e6fe6f790a5ca2bd17bf96936e8.tar.bz2 pcsx_rearmed-57ab9898652b5e6fe6f790a5ca2bd17bf96936e8.zip |
fix clang warnings
-rw-r--r-- | libpcsxcore/debug.c | 2 | ||||
-rw-r--r-- | libpcsxcore/new_dynarec/assem_arm.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/libpcsxcore/debug.c b/libpcsxcore/debug.c index 307a002..763dc45 100644 --- a/libpcsxcore/debug.c +++ b/libpcsxcore/debug.c @@ -396,7 +396,7 @@ void ProcessDebug() { if ((psxRegs.code >> 26) == 3) { MarkMap(_JumpTarget_, MAP_EXEC_JAL); } - if (((psxRegs.code >> 26) == 0) && ((psxRegs.code && 0x3F) == 9)) { + if (((psxRegs.code >> 26) == 0) && ((psxRegs.code & 0x3F) == 9)) { MarkMap(_Rd_, MAP_EXEC_JAL); } } diff --git a/libpcsxcore/new_dynarec/assem_arm.c b/libpcsxcore/new_dynarec/assem_arm.c index cb6a88b..8fe88fd 100644 --- a/libpcsxcore/new_dynarec/assem_arm.c +++ b/libpcsxcore/new_dynarec/assem_arm.c @@ -3720,12 +3720,12 @@ generate_map_const(u_int addr,int reg) { #else -static int do_tlb_r() { return 0; } -static int do_tlb_r_branch() { return 0; } -static int gen_tlb_addr_r() { return 0; } -static int do_tlb_w() { return 0; } -static int do_tlb_w_branch() { return 0; } -static int gen_tlb_addr_w() { return 0; } +static int do_tlb_r(int a, ...) { return 0; } +static int do_tlb_r_branch(int a, ...) { return 0; } +static int gen_tlb_addr_r(int a, ...) { return 0; } +static int do_tlb_w(int a, ...) { return 0; } +static int do_tlb_w_branch(int a, ...) { return 0; } +static int gen_tlb_addr_w(int a, ...) { return 0; } #endif // DISABLE_TLB |