mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
gcc 4.2 warning fixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@501 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
385760631f
commit
d95259bdaa
5 changed files with 20 additions and 16 deletions
|
@ -288,7 +288,7 @@ int OpJsr(int op)
|
|||
// --------------------- Opcodes 0x50c8+ ---------------------
|
||||
|
||||
// ARM version of 68000 condition codes:
|
||||
static char *Cond[16]=
|
||||
static const char * const Cond[16]=
|
||||
{
|
||||
"", "", "hi","ls","cc","cs","ne","eq",
|
||||
"vc","vs","pl","mi","ge","lt","gt","le"
|
||||
|
@ -402,7 +402,7 @@ int OpBranch(int op)
|
|||
int size=0,use=0,checkpc=0;
|
||||
int offset=0;
|
||||
int cc=0;
|
||||
char *asr_r11="";
|
||||
const char *asr_r11="";
|
||||
|
||||
offset=(char)(op&0xff);
|
||||
cc=(op>>8)&15;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue