From 07034df3e28a81ca84b4bc6e44e88ba9bfaa23fb Mon Sep 17 00:00:00 2001 From: Zac Date: Mon, 24 Jun 2024 22:51:55 +0000 Subject: [PATCH] Minor tweaks and readme additions --- README.md | 7 +++++++ include/cat.h | 2 -- src/P2/main.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5e1b4bf2..30067061 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,13 @@ cd scripts ## Building +Before building, you must split the ELF file using Splat. Run the following command to split the ELF: + +```bash +python -m splat split config/sly1.yaml +``` + +This will create a new directory `splat` with the disassembled assembly code and generated C files. You can now build the project. The project can be compiled on Windows or Linux using `make`. It builds the executable `SCUS_971.98`. diff --git a/include/cat.h b/include/cat.h index c777102b..40a0261f 100644 --- a/include/cat.h +++ b/include/cat.h @@ -6,8 +6,6 @@ #ifndef CAT_H #define CAT_H -#include - typedef unsigned int uint; //todo move to util header /** diff --git a/src/P2/main.c b/src/P2/main.c index 512483ff..340731f9 100644 --- a/src/P2/main.c +++ b/src/P2/main.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -13,7 +14,6 @@ #include #include #include -#include #include #include @@ -112,7 +112,7 @@ void Startup() /* todo game systems should be started by iterating over s_StartupSampler and calling each function, updating the progress along the way */ - StartupSplice(); + ///StartupSplice(); StartupCodes(); // ...