Add perfomance_monitor to demo carts #395
This commit is contained in:
4
Makefile
4
Makefile
@@ -146,6 +146,7 @@ DEMO_ASSETS= \
|
||||
bin/assets/jsdemo.tic.dat \
|
||||
bin/assets/luademo.tic.dat \
|
||||
bin/assets/moondemo.tic.dat \
|
||||
bin/assets/benchmark.tic.dat \
|
||||
bin/assets/config.tic.dat
|
||||
|
||||
all: run
|
||||
@@ -377,5 +378,8 @@ bin/assets/luademo.tic.dat: demos/luademo.tic
|
||||
bin/assets/moondemo.tic.dat: demos/moondemo.tic
|
||||
$(BIN2TXT) $< $@ -z
|
||||
|
||||
bin/assets/benchmark.tic.dat: demos/benchmark.tic
|
||||
$(BIN2TXT) $< $@ -z
|
||||
|
||||
clean: $(TIC_O) $(TIC80_O)
|
||||
del bin\*.o
|
||||
|
||||
1
bin/assets/benchmark.tic.dat
Normal file
1
bin/assets/benchmark.tic.dat
Normal file
File diff suppressed because one or more lines are too long
BIN
demos/benchmark.tic
Normal file
BIN
demos/benchmark.tic
Normal file
Binary file not shown.
@@ -1082,6 +1082,11 @@ static void onConsoleInstallDemosCommand(Console* console, const char* param)
|
||||
#include "../bin/assets/tetris.tic.dat"
|
||||
};
|
||||
|
||||
static const u8 Benchmark[] =
|
||||
{
|
||||
#include "../bin/assets/benchmark.tic.dat"
|
||||
};
|
||||
|
||||
FileSystem* fs = console->fs;
|
||||
|
||||
static const struct {const char* name; const u8* data; s32 size;} Demos[] =
|
||||
@@ -1094,6 +1099,7 @@ static void onConsoleInstallDemosCommand(Console* console, const char* param)
|
||||
{"quest.tic", GameQuest, sizeof GameQuest},
|
||||
{"sfx.tic", DemoSFX, sizeof DemoSFX},
|
||||
{"tetris.tic", GameTetris, sizeof GameTetris},
|
||||
{"benchmark.tic", Benchmark, sizeof Benchmark},
|
||||
};
|
||||
|
||||
printBack(console, "\nadded carts:\n\n");
|
||||
|
||||
Reference in New Issue
Block a user