mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
bugfix
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@187 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
1c88b865ce
commit
60305cdd4d
2 changed files with 8 additions and 8 deletions
|
@ -133,19 +133,19 @@ int OpMove(int op)
|
||||||
if (movea) size=2; // movea always expands to 32-bits
|
if (movea) size=2; // movea always expands to 32-bits
|
||||||
|
|
||||||
#if SPLIT_MOVEL_PD
|
#if SPLIT_MOVEL_PD
|
||||||
EaCalc (10,0x0e00,tea,size,0,0);
|
|
||||||
if ((tea&0x38)==0x20 && size==2) { // -(An)
|
if ((tea&0x38)==0x20 && size==2) { // -(An)
|
||||||
|
EaCalc (10,0x0e00,tea,size,0,0);
|
||||||
ot(" mov r11,r1\n");
|
ot(" mov r11,r1\n");
|
||||||
ot(" add r0,r10,#2\n");
|
ot(" add r0,r10,#2\n");
|
||||||
EaWrite(0, 1,tea,1,0x0e00,0,0);
|
EaWrite(0, 1,tea,1,0x0e00,0,0);
|
||||||
EaWrite(10, 11,tea,1,0x0e00,1);
|
EaWrite(10, 11,tea,1,0x0e00,1);
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
EaCalc (0,0x0e00,tea,size,0,0);
|
||||||
EaWrite(0, 1,tea,size,0x0e00,0,0);
|
EaWrite(0, 1,tea,size,0x0e00,0,0);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
EaCalc (0,0x0e00,tea,size,0,0);
|
|
||||||
EaWrite(0, 1,tea,size,0x0e00,0,0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if CYCLONE_FOR_GENESIS && !MEMHANDLERS_CHANGE_CYCLES
|
#if CYCLONE_FOR_GENESIS && !MEMHANDLERS_CHANGE_CYCLES
|
||||||
// this is a bit hacky
|
// this is a bit hacky
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
* Warning: if you enable this, you MUST call CycloneInit() before calling
|
* Warning: if you enable this, you MUST call CycloneInit() before calling
|
||||||
* CycloneRun(), or else it will crash.
|
* CycloneRun(), or else it will crash.
|
||||||
*/
|
*/
|
||||||
#define COMPRESS_JUMPTABLE 0
|
#define COMPRESS_JUMPTABLE 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Address mask for memory hadlers. The bits set will be masked out of address
|
* Address mask for memory hadlers. The bits set will be masked out of address
|
||||||
|
@ -126,4 +126,4 @@
|
||||||
* Bart Trzynadlowski's doc (http://www.trzy.org/files/68knotes.txt).
|
* Bart Trzynadlowski's doc (http://www.trzy.org/files/68knotes.txt).
|
||||||
* Enable this if you are emulating a 16 bit system.
|
* Enable this if you are emulating a 16 bit system.
|
||||||
*/
|
*/
|
||||||
#define SPLIT_MOVEL_PD 0
|
#define SPLIT_MOVEL_PD 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue