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: rework for 64bit, part 4
[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
23b47ba
..
0f28059
100644
(file)
--- a/
libpcsxcore/new_dynarec/assem_arm.c
+++ b/
libpcsxcore/new_dynarec/assem_arm.c
@@
-296,7
+296,7
@@
static int isclean(void *addr)
}
// get source that block at addr was compiled from (host pointers)
}
// get source that block at addr was compiled from (host pointers)
-static void get_bounds(void *addr,
u_int *start,u_int
*end)
+static void get_bounds(void *addr,
u_char **start, u_char *
*end)
{
u_int *ptr = addr;
#ifndef HAVE_ARMV7
{
u_int *ptr = addr;
#ifndef HAVE_ARMV7
@@
-325,8
+325,8
@@
static void get_bounds(void *addr,u_int *start,u_int *end)
#endif
if((*ptr&0xFF000000)!=0xeb000000) ptr++;
assert((*ptr&0xFF000000)==0xeb000000); // bl instruction
#endif
if((*ptr&0xFF000000)!=0xeb000000) ptr++;
assert((*ptr&0xFF000000)==0xeb000000); // bl instruction
- *start=source;
- *end=source+len;
+ *start=
(u_char *)
source;
+ *end=
(u_char *)
source+len;
}
/* Register allocation */
}
/* Register allocation */