1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Resolved type conversion error.

This commit is contained in:
Thomas Harte 2016-11-05 12:57:01 -04:00
parent 30c670f8de
commit fa65cc2058

View File

@ -243,8 +243,8 @@ template <class T> class MOS6522 {
_registers.timer[0] --;\ _registers.timer[0] --;\
\ \
_registers.timer[1] --; \ _registers.timer[1] --; \
if(_registers.next_timer[0] >= 0) { _registers.timer[0] = _registers.next_timer[0]; _registers.next_timer[0] = -1; }\ if(_registers.next_timer[0] >= 0) { _registers.timer[0] = (uint16_t)_registers.next_timer[0]; _registers.next_timer[0] = -1; }\
if(_registers.next_timer[1] >= 0) { _registers.timer[1] = _registers.next_timer[1]; _registers.next_timer[1] = -1; }\ if(_registers.next_timer[1] >= 0) { _registers.timer[1] = (uint16_t)_registers.next_timer[1]; _registers.next_timer[1] = -1; }\
// IRQ is raised on the half cycle after overflow // IRQ is raised on the half cycle after overflow
#define phase1() \ #define phase1() \