parent
562e9d6596
commit
1dc0cb8eb9
|
@ -0,0 +1,42 @@
|
|||
# TODO:
|
||||
# this core requires the two folders named Machines/ and Databases/ from standalone blueMSX
|
||||
# copied inside your frontend's system directory. See upstream/README.md
|
||||
|
||||
CORE_PKGS += stdcxx libc libm
|
||||
NO_UNDEFINED =
|
||||
|
||||
DEFINES += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
|
||||
DEBUG = 0
|
||||
LOG_PERFORMANCE = 0
|
||||
HAVE_COMPAT = 0
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
DEFINES += -O0 -g
|
||||
else
|
||||
DEFINES += -O2 -DHAVE_STDINT_H -DNDEBUG
|
||||
CXXFLAGS += -fno-exceptions -fno-rtti
|
||||
endif
|
||||
|
||||
ifeq ($(LOG_PERFORMANCE), 1)
|
||||
DEFINES += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
include upstream/Makefile.common
|
||||
|
||||
DEFINES += $(COREDEFINES)
|
||||
|
||||
CFLAGS += -w
|
||||
CXXFLAGS += -w
|
||||
|
||||
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
|
||||
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
|
||||
|
||||
: {libretro_objs} |> !libretro_core_link |> {core}
|
||||
: {core} |> !publish_core |> {binary}
|
||||
|
||||
: $(TUP_CWD)/archives |> !publish_core_archives |> {package}
|
||||
: $(TUP_CWD)/runtime |> !publish_core_runtime |> {package}
|
||||
|
||||
: {binary} |> !core_publish_bin |>
|
||||
: {package} |> !core_publish_pkg |>
|
|
@ -0,0 +1,4 @@
|
|||
@SDK_USER@/src/vfs/@SDK_VERSION@
|
||||
@SDK_USER@/src/libc/@SDK_VERSION@
|
||||
@SDK_USER@/src/stdcxx/@SDK_VERSION@
|
||||
@DEPOT_USER@/src/retro_frontend/@DEPOT_VERSION@
|
|
@ -0,0 +1,41 @@
|
|||
<runtime ram="16M" caps="128" binary="retro_frontend">
|
||||
|
||||
<requires>
|
||||
<audio_out/>
|
||||
<file_system label="MSX"/>
|
||||
<nitpicker/>
|
||||
<rm/>
|
||||
</requires>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="libretro.so"/>
|
||||
<rom label="retro_frontend"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
<config>
|
||||
<libc stdout="/dev/log" stderr="/dev/log"/>
|
||||
<vfs>
|
||||
<fs label="MSX"/>
|
||||
<dir name="dev"> <log label="core"/> </dir>
|
||||
</vfs>
|
||||
<game path="game.rom"/>
|
||||
<default-controller port="0" device="1">
|
||||
<map from="KEY_LEFT" to="LEFT"/>
|
||||
<map from="KEY_RIGHT" to="RIGHT"/>
|
||||
<map from="KEY_UP" to="UP"/>
|
||||
<map from="KEY_DOWN" to="DOWN"/>
|
||||
|
||||
<map from="KEY_Z" to="B"/>
|
||||
<map from="KEY_X" to="A"/>
|
||||
|
||||
<map from="KEY_ENTER" to="START"/>
|
||||
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
|
||||
</default-controller>
|
||||
</config>
|
||||
|
||||
</runtime>
|
|
@ -1 +1 @@
|
|||
Subproject commit f80426242e1f7ec5fde73ea66710524e5b2b320c
|
||||
Subproject commit 71fe7c9fe6b9049cb98c64ab230ce18b5d8554e0
|
Loading…
Reference in New Issue