notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: use print wrapper to output errors
[pcsx_rearmed.git]
/
libpcsxcore
/
new_dynarec
/
assem_arm.c
diff --git
a/libpcsxcore/new_dynarec/assem_arm.c
b/libpcsxcore/new_dynarec/assem_arm.c
index
1d944c2
..
cb6a88b
100644
(file)
--- a/
libpcsxcore/new_dynarec/assem_arm.c
+++ b/
libpcsxcore/new_dynarec/assem_arm.c
@@
-493,7
+493,7
@@
void alloc_reg(struct regstat *cur,int i,signed char reg)
}
}
}
}
}
}
-
p
rintf("This shouldn't happen (alloc_reg)");exit(1);
+
SysP
rintf("This shouldn't happen (alloc_reg)");exit(1);
}
void alloc_reg64(struct regstat *cur,int i,signed char reg)
}
void alloc_reg64(struct regstat *cur,int i,signed char reg)
@@
-659,7
+659,7
@@
void alloc_reg64(struct regstat *cur,int i,signed char reg)
}
}
}
}
}
}
-
p
rintf("This shouldn't happen");exit(1);
+
SysP
rintf("This shouldn't happen");exit(1);
}
// Allocate a temporary register. This is done without regard to
}
// Allocate a temporary register. This is done without regard to
@@
-782,7
+782,7
@@
void alloc_reg_temp(struct regstat *cur,int i,signed char reg)
}
}
}
}
}
}
-
p
rintf("This shouldn't happen");exit(1);
+
SysP
rintf("This shouldn't happen");exit(1);
}
// Allocate a specific ARM register.
void alloc_arm_reg(struct regstat *cur,int i,signed char reg,char hr)
}
// Allocate a specific ARM register.
void alloc_arm_reg(struct regstat *cur,int i,signed char reg,char hr)
@@
-899,7
+899,7
@@
u_int genjmp(u_int addr)
int offset=addr-(int)out-8;
if(offset<-33554432||offset>=33554432) {
if (addr>2) {
int offset=addr-(int)out-8;
if(offset<-33554432||offset>=33554432) {
if (addr>2) {
-
p
rintf("genjmp: out of range: %08x\n", offset);
+
SysP
rintf("genjmp: out of range: %08x\n", offset);
exit(1);
}
return 0;
exit(1);
}
return 0;
@@
-1033,7
+1033,7
@@
void emit_loadreg(int r, int hr)
{
#ifdef FORCE32
if(r&64) {
{
#ifdef FORCE32
if(r&64) {
-
p
rintf("64bit load in 32bit mode!\n");
+
SysP
rintf("64bit load in 32bit mode!\n");
assert(0);
return;
}
assert(0);
return;
}
@@
-1058,7
+1058,7
@@
void emit_storereg(int r, int hr)
{
#ifdef FORCE32
if(r&64) {
{
#ifdef FORCE32
if(r&64) {
-
p
rintf("64bit store in 32bit mode!\n");
+
SysP
rintf("64bit store in 32bit mode!\n");
assert(0);
return;
}
assert(0);
return;
}
@@
-3288,7
+3288,7
@@
do_writestub(int n)
emit_writeword(rt,(int)&dword);
emit_writeword(r?rth:rt,(int)&dword+4);
#else
emit_writeword(rt,(int)&dword);
emit_writeword(r?rth:rt,(int)&dword+4);
#else
-
p
rintf("STORED_STUB\n");
+
SysP
rintf("STORED_STUB\n");
#endif
}
//emit_pusha();
#endif
}
//emit_pusha();
@@
-3397,7
+3397,7
@@
inline_writestub(int type, int i, u_int addr, signed char regmap[], int target,
emit_writeword(rt,(int)&dword);
emit_writeword(target?rth:rt,(int)&dword+4);
#else
emit_writeword(rt,(int)&dword);
emit_writeword(target?rth:rt,(int)&dword+4);
#else
-
p
rintf("STORED_STUB\n");
+
SysP
rintf("STORED_STUB\n");
#endif
}
//emit_pusha();
#endif
}
//emit_pusha();