mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
allow compiling without 32x and sms code
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@877 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
46bcb89971
commit
f3a57b2d6c
10 changed files with 74 additions and 13 deletions
|
@ -56,6 +56,7 @@ char *PDebugMain(void)
|
|||
|
||||
char *PDebug32x(void)
|
||||
{
|
||||
#ifndef NO_32X
|
||||
char *dstrp = dstr;
|
||||
unsigned short *r;
|
||||
int i;
|
||||
|
@ -85,6 +86,9 @@ char *PDebug32x(void)
|
|||
sprintf(dstrp, "gb,vb %08x,%08x %08x,%08x\n", sh2_gbr(0), sh2_vbr(0), sh2_gbr(1), sh2_vbr(1)); MVP;
|
||||
sprintf(dstrp, "IRQs/mask: %02x/%02x %02x/%02x\n",
|
||||
Pico32x.sh2irqi[0], Pico32x.sh2irq_mask[0], Pico32x.sh2irqi[1], Pico32x.sh2irq_mask[1]); MVP;
|
||||
#else
|
||||
dstr[0] = 0;
|
||||
#endif
|
||||
|
||||
return dstr;
|
||||
}
|
||||
|
@ -329,6 +333,7 @@ void PDebugDumpMem(void)
|
|||
dump_ram_noswab(Pico_mcd->bram, "dumps/bram.bin");
|
||||
}
|
||||
|
||||
#ifndef NO_32X
|
||||
if (PicoAHW & PAHW_32X)
|
||||
{
|
||||
dump_ram(Pico32xMem->sdram, "dumps/sdram.bin");
|
||||
|
@ -338,6 +343,7 @@ void PDebugDumpMem(void)
|
|||
dump_ram(Pico32xMem->data_array[0], "dumps/data_array0.bin");
|
||||
dump_ram(Pico32xMem->data_array[1], "dumps/data_array1.bin");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void PDebugZ80Frame(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue