From 614d070841d90c4572cb0a74135c2607e8a10af0 Mon Sep 17 00:00:00 2001 From: Ryan Myers Date: Tue, 26 Oct 2021 20:03:04 -0400 Subject: [PATCH] Move sched.h to fix some include issues I was having, and remove the need for long innclude paths in other files --- generate_ctx.sh | 2 +- {lib/src/mips1/sc => include}/sched.h | 0 src/unknown_078050.h | 2 +- src/video.h | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename {lib/src/mips1/sc => include}/sched.h (100%) diff --git a/generate_ctx.sh b/generate_ctx.sh index 24c8afc7..d78e9143 100755 --- a/generate_ctx.sh +++ b/generate_ctx.sh @@ -1,4 +1,4 @@ #!/bin/bash -find include/ src/ -type f -name "*.h" | sed -e 's/.*/#include "\0"/' > ctx_includes.c +find include/ src/ lib/ -type f -name "*.h" | sed -e 's/.*/#include "\0"/' > ctx_includes.c python3 tools/python/m2ctx.py ctx_includes.c diff --git a/lib/src/mips1/sc/sched.h b/include/sched.h similarity index 100% rename from lib/src/mips1/sc/sched.h rename to include/sched.h diff --git a/src/unknown_078050.h b/src/unknown_078050.h index c1a0fd1c..b10a75ea 100644 --- a/src/unknown_078050.h +++ b/src/unknown_078050.h @@ -4,7 +4,7 @@ #include "types.h" #include "structs.h" #include "f3ddkr.h" -#include "lib/src/mips1/sc/sched.h" +#include "sched.h" #include "libultra_internal.h" typedef union { diff --git a/src/video.h b/src/video.h index bf9a448a..6c810e53 100644 --- a/src/video.h +++ b/src/video.h @@ -7,7 +7,7 @@ #include "PR/libultra.h" #include "PR/os_message.h" #include "PR/os_vi.h" -#include "lib/src/mips1/sc/sched.h" +#include "sched.h" #define REFRESH_50HZ 50 #define REFRESH_60HZ 60