From 1e54db260811d0d759e76be725d50f4b59d0fc41 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 11 Sep 2023 03:17:23 +0200 Subject: *: rename /kdev/ to /dev/ --- ports/doom/files/doomgeneric_camellia.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ports/doom') diff --git a/ports/doom/files/doomgeneric_camellia.c b/ports/doom/files/doomgeneric_camellia.c index 3fe6032..596e3d7 100644 --- a/ports/doom/files/doomgeneric_camellia.c +++ b/ports/doom/files/doomgeneric_camellia.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -39,11 +40,11 @@ static void kb_thread(void *arg) { } void DG_Init(void) { - if (fb_setup(&fb, "/kdev/video/") < 0) { + if (fb_setup(&fb, "/dev/video/") < 0) { puts("DG_Init: fb_setup error"); abort(); } - kb = _sys_open("/kdev/ps2/kb", 12, 0); + kb = camellia_open("/dev/ps2/kb", OPEN_READ); if (kb < 0) { puts("DG_Init: can't open keyboard"); abort(); -- cgit v1.2.3