mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
Fixed incorrect duplication.
This commit is contained in:
parent
3765c5fbb5
commit
e61392d3fb
@ -268,7 +268,7 @@ void Machine::output_pixels(unsigned int count)
|
||||
{
|
||||
for(int c = 0; c < 5; c++)
|
||||
{
|
||||
if((_objectMotion[c]^8^_hMoveCounter) == 0xf)
|
||||
if(((_objectMotion[c] >> 4)^8^_hMoveCounter) == 0xf)
|
||||
{
|
||||
_hMoveFlags &= ~(1 << c);
|
||||
}
|
||||
@ -540,7 +540,7 @@ unsigned int Machine::perform_bus_operation(CPU6502::BusOperation operation, uin
|
||||
case 0x22:
|
||||
case 0x23:
|
||||
case 0x24:
|
||||
_objectMotion[decodedAddress - 0x20] = (*value) >> 4;
|
||||
_objectMotion[decodedAddress - 0x20] = *value;
|
||||
break;
|
||||
|
||||
case 0x25: _playerGraphicsLatchEnable[0] = *value; break;
|
||||
|
@ -106,7 +106,7 @@ class Machine: public CPU6502::Processor<Machine> {
|
||||
|
||||
// object counters
|
||||
uint8_t _objectCounter[5];
|
||||
uint8_t _pixelCounter[5];
|
||||
int _pixelCounter[5];
|
||||
|
||||
// joystick state
|
||||
uint8_t _piaDataDirection[2];
|
||||
|
Loading…
Reference in New Issue
Block a user