Skip to content

Commit

Permalink
We only need the char change on *
Browse files Browse the repository at this point in the history
op
  • Loading branch information
DirtBagXon committed Oct 19, 2020
1 parent a37fc4a commit e2cf886
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cpu/mc6809.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,14 @@ static int indx()

static int indax()
{
signed char a=ar;
char a=ar;
cpu_clock++;
return ((*(regist[((*op)&0x60)>>5]))+a)&0xffff;
}

static int indbx()
{
signed char b=br;
char b=br;
cpu_clock++;
return ((*(regist[((*op)&0x60)>>5]))+b)&0xffff;
}
Expand All @@ -351,7 +351,7 @@ static int inder()

static int ind1x()
{
signed char del=op[1];
char del=op[1];
pc++;pc&=0xffff;
cpu_clock++;
return ((*(regist[((*op)&0x60)>>5]))+del)&0xffff;
Expand All @@ -374,7 +374,7 @@ static int inddx()

static int ind1p()
{
signed char del=op[1];
char del=op[1];
pc++;pc&=0xffff;
cpu_clock++;
return (pc+del)&0xffff;
Expand Down

0 comments on commit e2cf886

Please sign in to comment.