summaryrefslogtreecommitdiff
path: root/psp
diff options
context:
space:
mode:
authoraliaspider2014-12-10 12:53:26 +0100
committeraliaspider2014-12-10 12:53:26 +0100
commita926a68eb30710c61ea3c0dbfa2597e96842d31e (patch)
tree161d00ad81625fa57eecb166b30a1719db001ebc /psp
parent6d7fd87e07f157237319b51a8e0583ce0a4a5e6d (diff)
downloadpicogpsp-a926a68eb30710c61ea3c0dbfa2597e96842d31e.tar.gz
picogpsp-a926a68eb30710c61ea3c0dbfa2597e96842d31e.tar.bz2
picogpsp-a926a68eb30710c61ea3c0dbfa2597e96842d31e.zip
cleanups
Diffstat (limited to 'psp')
-rw-r--r--psp/mips_emit.h6
-rw-r--r--psp/mips_stub.S14
2 files changed, 0 insertions, 20 deletions
diff --git a/psp/mips_emit.h b/psp/mips_emit.h
index 7f5981d..09b2e7a 100644
--- a/psp/mips_emit.h
+++ b/psp/mips_emit.h
@@ -47,8 +47,6 @@ u32 execute_ror_flags_reg(u32 value, u32 shift);
void execute_aligned_store32(u32 address, u32 value);
u32 execute_aligned_load32(u32 address);
-void step_debug_mips(u32 pc);
-
void reg_check();
typedef enum
@@ -2520,10 +2518,6 @@ u8 swi_hle_handle[256] =
generate_load_pc(reg_a0, pc); \
generate_indirect_branch_no_cycle_update(type) \
-#define generate_step_debug() \
- generate_load_imm(reg_a0, pc); \
- generate_function_call(step_debug_mips) \
-
#define generate_update_pc_reg() \
generate_load_pc(reg_a0, pc); \
mips_emit_sw(reg_a0, reg_base, (REG_PC * 4)) \
diff --git a/psp/mips_stub.S b/psp/mips_stub.S
index 65d5e9d..aaef70b 100644
--- a/psp/mips_stub.S
+++ b/psp/mips_stub.S
@@ -45,7 +45,6 @@
.global execute_arm_translate
.global invalidate_icache_region
.global invalidate_all_cache
-.global step_debug_mips
.global reg_check
.global memory_map_read
@@ -3403,19 +3402,6 @@ iac_loop:
jr $ra # return
nop
-
-step_debug_mips:
- addiu $sp, $sp, -4
- sw $ra, ($sp)
- collapse_flags
- save_registers
- jal step_debug
- addiu $5, $17, 0
- restore_registers
- lw $ra, ($sp)
- jr $ra
- addiu $sp, $sp, 4
-
memory_map_read:
.space 0x8000