Add perfomance_monitor to demo carts #395
This commit is contained in:
parent
39703b5d5e
commit
586a404418
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
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -1082,18 +1082,24 @@ 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[] =
|
||||
{
|
||||
{"fire.tic", DemoFire, sizeof DemoFire},
|
||||
{"font.tic", DemoFont, sizeof DemoFont},
|
||||
{"music.tic", DemoMusic, sizeof DemoMusic},
|
||||
{"p3d.tic", DemoP3D, sizeof DemoP3D},
|
||||
{"palette.tic", DemoPalette, sizeof DemoPalette},
|
||||
{"quest.tic", GameQuest, sizeof GameQuest},
|
||||
{"sfx.tic", DemoSFX, sizeof DemoSFX},
|
||||
{"tetris.tic", GameTetris, sizeof GameTetris},
|
||||
{"fire.tic", DemoFire, sizeof DemoFire},
|
||||
{"font.tic", DemoFont, sizeof DemoFont},
|
||||
{"music.tic", DemoMusic, sizeof DemoMusic},
|
||||
{"p3d.tic", DemoP3D, sizeof DemoP3D},
|
||||
{"palette.tic", DemoPalette, sizeof DemoPalette},
|
||||
{"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");
|
||||
|
|
Loading…
Reference in New Issue