1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-29 16:29:08 +00:00

Corrects the 9918 so that it terminates.

This commit is contained in:
Thomas Harte 2017-11-27 19:48:04 -05:00
parent 7d2adad67e
commit 173e16b107

View File

@ -81,7 +81,7 @@ void TMS9918::run_for(const HalfCycles cycles) {
} }
} }
int_cycles += cycles_left; int_cycles -= cycles_left;
column_ = end_column; column_ = end_column;
if(column_ == 342) { if(column_ == 342) {
column_ = 0; column_ = 0;