Aded initial lua setup

This commit is contained in:
2025-04-10 22:51:39 +02:00
parent febb6f3f80
commit f79b69de0a
5 changed files with 4 additions and 2 deletions

2
.gitmodules vendored
View File

@@ -1,3 +1,3 @@
[submodule "third_party/nugget"] [submodule "third_party/nugget"]
path = third_party/nugget path = third_party/nugget
url = https://github.com/pcsx-redux/nugget.git url = https://github.com/pcsx-redux/nugget

View File

@@ -11,6 +11,7 @@ src/navmesh.cpp \
output.o output.o
include third_party/nugget/psyqo/psyqo.mk include third_party/nugget/psyqo/psyqo.mk
include third_party/nugget/psyqo-lua/psyqo-lua.mk
%.o: %.bin %.o: %.bin
$(PREFIX)-objcopy -I binary --set-section-alignment .data=4 --rename-section .data=.rodata,alloc,load,readonly,data,contents -O $(FORMAT) -B mips $< $@ $(PREFIX)-objcopy -I binary --set-section-alignment .data=4 --rename-section .data=.rodata,alloc,load,readonly,data,contents -O $(FORMAT) -B mips $< $@

1
src/lua.cpp Normal file
View File

@@ -0,0 +1 @@
#include "lua.h"

0
src/lua.h Normal file
View File