Skip to content

Commit

Permalink
Update memory.cpp
Browse files Browse the repository at this point in the history
Missed that in the other commit. I have a bit of a headache.
  • Loading branch information
Kawa-oneechan committed Nov 10, 2019
1 parent 35a062e commit 1c11eb9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,6 @@ void m68k_write_memory_8(unsigned int address, unsigned int value)
auto asValue = ((value >> 3) & 1) == 1;
auto dataWidth = (value >> 4) & 3;
auto increaseStep = (dataWidth == 0) ? 1 : (dataWidth == 1) ? 2 : 4;
if (dmaTarget == 0xE000000)
dmaTarget += 0;
if (asValue && dataWidth == 2 && dmaTarget >= 0x1000000 && dmaTarget < 0xA000000)
{
//Do it quicker!
Expand Down Expand Up @@ -380,7 +378,7 @@ void HandleBlitter(unsigned int function)
{
case 0: return;
case 1: //Blit
case 2: //Clear
case 2: //Set
case 3: //Invert
{
auto strideSkip = ((function & 0x10) >> 4) == 1; //1 2 3
Expand Down Expand Up @@ -423,7 +421,7 @@ void HandleBlitter(unsigned int function)
}
}
}
else if (fun == 2) //Clear
else if (fun == 2) //Set
{
/*
Copies the value of ADDRESS A to B.
Expand Down

0 comments on commit 1c11eb9

Please sign in to comment.