Skip to content

Commit

Permalink
Merge pull request #5 from jwt2706/dev
Browse files Browse the repository at this point in the history
fix header paths
  • Loading branch information
jwt2706 authored Apr 29, 2024
2 parents 140260a + 9c40b9f commit e5da328
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ http_archive(
build_file_content = """
cc_library(
name = "sdl2",
hdrs = glob(["include/*.h"]),
srcs = glob(["src/*.c"]),
hdrs = glob(["include/**/*.h"]),
srcs = glob(["src/**/*.c"]),
visibility = ["//visibility:public"],
)
""",
Expand Down
2 changes: 1 addition & 1 deletion src/chip8.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "chip8.h"
#include "../include/chip8.h"

unsigned char fontset[80] = {
0xF0, 0x90, 0x90, 0x90, 0xF0, // 0
Expand Down
2 changes: 1 addition & 1 deletion src/load.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include "chip8.h"
#include "../include/chip8.h"

int loadRom(struct chip8* chip8, const char* filename) {
FILE* rom = fopen(filename, "rb");
Expand Down

0 comments on commit e5da328

Please sign in to comment.