X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=loader%2Femu.c;h=a180d61da0753a66919fe6af1c2f5edaf262c41e;hb=2ce69bdff40e40fb1c1954e0883d95de271cecc7;hp=b425308dce4bafe792b52293116a64c959ae3ab6;hpb=0881206bcd3a0e2992373e7267d998324f4d3d90;p=ginge.git diff --git a/loader/emu.c b/loader/emu.c index b425308..a180d61 100644 --- a/loader/emu.c +++ b/loader/emu.c @@ -496,11 +496,12 @@ void emu_init(void *map_bottom) init_linkpage(); // host stuff - host_screen = host_video_init(&host_stride); - if (host_screen == NULL) { + ret = host_video_init(&host_stride, 0); + if (ret != 0) { printf("can't alloc screen\n"); exit(1); } + host_screen = host_video_flip(); } int emu_read_gpiodev(void *buf, int count)