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
gpu_neon: try to make the compiler save some callee-save regs
[pcsx_rearmed.git]
/
libpcsxcore
/
psxbios.c
diff --git
a/libpcsxcore/psxbios.c
b/libpcsxcore/psxbios.c
index
7a38436
..
8e993c3
100644
(file)
--- a/
libpcsxcore/psxbios.c
+++ b/
libpcsxcore/psxbios.c
@@
-1065,7
+1065,7
@@
void psxBios_qsort() { // 0x31
}
void psxBios_malloc() { // 0x33
}
void psxBios_malloc() { // 0x33
- u
nsigned int
*chunk, *newchunk = NULL;
+ u
32
*chunk, *newchunk = NULL;
unsigned int dsize = 0, csize, cstat;
int colflag;
#ifdef PSXBIOS_LOG
unsigned int dsize = 0, csize, cstat;
int colflag;
#ifdef PSXBIOS_LOG
@@
-1405,7
+1405,8
@@
void psxBios_FlushCache() { // 44
#ifdef PSXBIOS_LOG
PSXBIOS_LOG("psxBios_%s\n", biosA0n[0x44]);
#endif
#ifdef PSXBIOS_LOG
PSXBIOS_LOG("psxBios_%s\n", biosA0n[0x44]);
#endif
-
+ psxCpu->Notify(R3000ACPU_NOTIFY_CACHE_ISOLATED, NULL);
+ psxCpu->Notify(R3000ACPU_NOTIFY_CACHE_UNISOLATED, NULL);
pc0 = ra;
}
pc0 = ra;
}
@@
-2029,10
+2030,10
@@
void psxBios_UnDeliverEvent() { // 0x20
char ffile[64], *pfile;
int nfile;
char ffile[64], *pfile;
int nfile;
-static void buopen(int mcd,
u8 *ptr, u8
*cfg)
+static void buopen(int mcd,
char *ptr, char
*cfg)
{
int i;
{
int i;
-
u8
*fptr = ptr;
+
char
*fptr = ptr;
strcpy(FDesc[1 + mcd].name, Ra0+5);
FDesc[1 + mcd].offset = 0;
strcpy(FDesc[1 + mcd].name, Ra0+5);
FDesc[1 + mcd].offset = 0;
@@
-2063,7
+2064,7
@@
static void buopen(int mcd, u8 *ptr, u8 *cfg)
fptr[6] = 0x00;
fptr[7] = 0x00;
strcpy(fptr+0xa, FDesc[1 + mcd].name);
fptr[6] = 0x00;
fptr[7] = 0x00;
strcpy(fptr+0xa, FDesc[1 + mcd].name);
- pptr = fptr2 = fptr;
+ pptr = fptr2 =
(u8 *)
fptr;
for(j=2; j<=nblk; j++) {
int k;
for(i++; i<16; i++) {
for(j=2; j<=nblk; j++) {
int k;
for(i++; i<16; i++) {