Mercurial > repos > simple16
diff src/main.c @ 19:04fc17376999
Sort of working tile rendering and tile test ROM
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Mar 2016 23:43:31 -0700 |
parents | ae58e7c3c328 |
children | 4c9dbfa30a66 |
line wrap: on
line diff
--- a/src/main.c Sun Mar 27 22:14:26 2016 -0700 +++ b/src/main.c Mon Mar 28 23:43:31 2016 -0700 @@ -63,7 +63,7 @@ { console *system = context->system; vdp_run(&system->video, context->cycles); - system->video.hscroll = value; + vdp_write_hscroll(&system->video, value); } uint16_t horizontal_port_read(cpu *context, uint8_t port) @@ -111,8 +111,6 @@ } } - - int main(int argc, char **argv) { if (argc < 2) {