Browse Source

[curses] fix build

master
asie 2 months ago
parent
commit
154f047a83
2 changed files with 3 additions and 1 deletions
  1. 1
    0
      src/frontend_curses.c
  2. 2
    1
      zeta_curses.sh

+ 1
- 0
src/frontend_curses.c View File

@@ -73,6 +73,7 @@ static void platform_kbd_tick(void) {
}
}

#include "asset_loader.h"
#include "frontend_posix.c"

static int nc_color_map[] = {

+ 2
- 1
zeta_curses.sh View File

@@ -1,4 +1,5 @@
#!/bin/sh
xxd -i res/8x14.bin > res/8x14.c
gcc -o build/zeta86 -g -O2 -std=c11 -Wall -lncursesw \
src/frontend_curses.c src/posix_vfs.c src/zzt.c src/cpu.c res/8x14.c
src/frontend_curses.c src/posix_vfs.c src/zzt.c src/cpu.c res/8x14.c \
src/asset_loader.c

Loading…
Cancel
Save