diff --git a/front/libretro/core.c b/front/libretro/core.c index e77fed6f..fb193b59 100644 --- a/front/libretro/core.c +++ b/front/libretro/core.c @@ -352,7 +352,7 @@ void retro_init(void) { load_bios(glabios_bin, (int)glabios_bin_len, 0xFE000), load_bios(vxtx_bin, (int)vxtx_bin_len, 0xE0000), vxtu_uart_create(&realloc, 0x3F8, 4), - vxtu_pic_create(&realloc), + vxtu_pic_create(&realloc, NULL), vxtu_dma_create(&realloc), vxtu_pit_create(&realloc), ppi, diff --git a/front/web/main.c b/front/web/main.c index 26c1c67f..93e344d3 100644 --- a/front/web/main.c +++ b/front/web/main.c @@ -245,7 +245,7 @@ void wasm_initialize_emulator(int freq, int afreq, int bsize) { APPEND_DEVICE(load_bios(glabios_bin, (int)glabios_bin_len, 0xFE000)); APPEND_DEVICE(load_bios(vxtx_bin, (int)vxtx_bin_len, 0xE0000)); APPEND_DEVICE(vxtu_uart_create(&ALLOCATOR, 0x3F8, 4)); - APPEND_DEVICE(vxtu_pic_create(&ALLOCATOR)); + APPEND_DEVICE(vxtu_pic_create(&ALLOCATOR, NULL)); APPEND_DEVICE(vxtu_dma_create(&ALLOCATOR)); APPEND_DEVICE(vxtu_pit_create(&ALLOCATOR)); APPEND_DEVICE(ppi);