mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
psp gfx scaling/etc stuff
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@279 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
3aa1e148a2
commit
8ab3e3c1cf
26 changed files with 567 additions and 321 deletions
|
@ -11,7 +11,7 @@ unsigned int DisaPc=0;
|
|||
char *DisaText=NULL; // Text buffer to write in
|
||||
static char Tasm[]="bwl?";
|
||||
static char Comment[64]="";
|
||||
unsigned short (CPU_CALL *DisaWord)(unsigned int a)=NULL;
|
||||
unsigned short (*DisaWord)(unsigned int a)=NULL;
|
||||
|
||||
static unsigned int DisaLong(unsigned int a)
|
||||
{
|
||||
|
|
|
@ -5,16 +5,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(ARM) || defined(GP32) || !defined (__WINS__)
|
||||
#define CPU_CALL
|
||||
#else
|
||||
#define CPU_CALL __fastcall
|
||||
#endif
|
||||
|
||||
extern unsigned int DisaPc;
|
||||
extern char *DisaText; // Text buffer to write in
|
||||
|
||||
extern unsigned short (CPU_CALL *DisaWord)(unsigned int a);
|
||||
extern unsigned short (*DisaWord)(unsigned int a);
|
||||
int DisaGetEa(char *t,int ea,int size);
|
||||
|
||||
int DisaGet();
|
||||
|
|
|
@ -5,7 +5,7 @@ int opend_op_changes_cycles, opend_check_interrupt, opend_check_trace;
|
|||
|
||||
static unsigned char OpData[16]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
|
||||
static unsigned short CPU_CALL OpRead16(unsigned int a)
|
||||
static unsigned short OpRead16(unsigned int a)
|
||||
{
|
||||
return (unsigned short)( (OpData[a&15]<<8) | OpData[(a+1)&15] );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue