From d9e16ad89bf22c75d328b1211ecf50d1d8401626 Mon Sep 17 00:00:00 2001 From: root <182859762@qq.com> Date: Sun, 5 May 2024 22:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E8=A7=86=E9=A2=91=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=AF=BC=E5=87=BA=E7=AC=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ Makefile | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d58c4e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +build/ +nba.* +build.sh \ No newline at end of file diff --git a/Makefile b/Makefile index 6d28c61..edffd26 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ CC := emcc CXX := emcc -CXXFLAGS := -c -fbracket-depth=4800 -Oz +CXXFLAGS := -c -fbracket-depth=4800 -Oz -std=c++17 INCLUDES := -I src/nba/include/ -I src/nba/src -I external/fmtlib/include/ -I external/toml11/include/ LDFLAGS := -s ENVIRONMENT=web -s ASSERTIONS=0 -s FILESYSTEM=0 -s STANDALONE_WASM=1 -s ALLOW_MEMORY_GROWTH\ - -s EXPORTED_FUNCTIONS=[_getRom,_getIRam,_getWRam,_go,_run,_main] --lto + -s EXPORTED_FUNCTIONS=[_cyclePerFrame,_getRom,_getIRam,_getWRam,_go,_run,_main] --lto BUILD := build OBJECTS := $(BUILD)/000-serialization.o $(BUILD)/001-tablegen.o $(BUILD)/002-bus.o \ $(BUILD)/003-io.o $(BUILD)/004-serialization.o $(BUILD)/005-timing.o \