Now build without SDL

But of course, display nothing.
This commit is contained in:
Godzil
2020-12-12 19:28:21 +00:00
parent 875f0edb46
commit 88468d6028
3 changed files with 10 additions and 20 deletions

View File

@@ -191,6 +191,7 @@ int ws_executeLine(int16_t *framebuffer, int renderLine)
// update scanline register
ws_ioRam[2]=ws_gpu_scanline;
/* Why twice like that and random cycle count???? */
ws_cycles=nec_execute((ws_cyclesByLine>>1)+(rand()&7));
ws_cycles+=nec_execute((ws_cyclesByLine>>1)+(rand()&7));