il faut sauver le logo Corewar

vm was not able to fetch visualizer logo
This commit is contained in:
Tanguy MAZE 2019-07-17 12:00:18 +02:00
parent 748d10f4f3
commit 007153906d

View File

@ -18,7 +18,7 @@ static int print_logo(t_vm *vm)
char buf[ART_MAX_SIZE + 1]; char buf[ART_MAX_SIZE + 1];
int rd; int rd;
fd = open("./art/corewar_3D_logo.txt", O_RDONLY); fd = open("./srcs/art/corewar_3D_logo.txt", O_RDONLY);
if ((rd = read(fd, &buf, ART_MAX_SIZE)) == -1) if ((rd = read(fd, &buf, ART_MAX_SIZE)) == -1)
{ {
destroy_ncurses_exit(vm); destroy_ncurses_exit(vm);