diff options
Diffstat (limited to 'emu/emul.c')
-rw-r--r-- | emu/emul.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -152,10 +152,11 @@ void emul_run( emul_t *emul, int nof_steps ) SDL_RenderCopy( emul->renderer, emul->background_texture, NULL, NULL ); - for( int i = 0; i < emul->bus->nof_devices; i++ ) { - device_t *device = emul->bus->devices[i].device; - device->vtable->draw( device, emul->renderer ); - } + emul->bus->base.vtable->draw( emul->bus, emul->renderer ); + //~ for( int i = 0; i < emul->bus->nof_devices; i++ ) { + //~ device_t *device = emul->bus->devices[i].device; + //~ device->vtable->draw( device, emul->renderer ); + //~ } SDL_RenderPresent( emul->renderer ); |