Update MrBoom core

This commit is contained in:
Ehmry - 2019-03-03 14:11:01 +01:00
parent 6214718412
commit 26c3d1af45
6 changed files with 78 additions and 2 deletions

2
.gitmodules vendored
View File

@ -53,7 +53,7 @@
path = libretro/cores/dosbox/upstream
url = https://github.com/libretro/dosbox-libretro
[submodule "libretro/cores/mrboom/core"]
path = libretro/cores/mrboom/core
path = libretro/cores/mrboom/upstream
url = https://github.com/libretro/mrboom-libretro.git
[submodule "libretro/cores/gambatte/core"]
path = libretro/cores/gambatte/upstream

View File

@ -0,0 +1,28 @@
CORE_PKGS += stdcxx libc libm
NO_UNDEFINED =
# Uses Genode API to create secondary stack
GIT_VERSION = `git describe --always`
CFLAGS += -O3
CFLAGS += -DMRBOOM -DHAVE_IBXM -D_FORTIFY_SOURCE=0
CFLAGS += -DPLATFORM=\"genode\" -DGIT_VERSION=\"$(GIT_VERSION)\"
CFLAGS += -std=gnu99
CXXFLAGS += -std=c++98
include upstream/Makefile.common
: foreach $(SOURCES_C) |> !libretro_cc |> {libretro_objs}
: foreach $(SOURCES_CXX) |> !libretro_cxx |> {libretro_objs}
: {libretro_objs} |> !libretro_core_link |> {core}
: {core} |> !publish_core |>
: $(TUP_CWD)/archives |> !publish_core_archives |> {package}
: $(TUP_CWD)/runtime |> !publish_core_runtime |> {package}
ifdef DEPOT_KEY
: {binary} |> !depot_bin_tarball |> {tarballs}
: {package} |> !depot_pkg_tarball |> {tarballs}
: foreach {tarballs} |> !public_signature |>
endif

View File

@ -0,0 +1,5 @@
@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@
@DEPOT_USER@/src/libretro-mrboom/@DEPOT_VERSION@

@ -1 +0,0 @@
Subproject commit 48ac3918a20492f651cbd42f97d69c62b3ca67e4

View File

@ -0,0 +1,43 @@
<runtime ram="16M" caps="192" binary="retro_frontend">
<requires>
<audio_out/>
<nitpicker/>
<file_system/>
</requires>
<content>
<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"/>
<game/>
<vfs>
<fs/>
<dir name="dev"> <log label="core"/> </dir>
</vfs>
<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_X" to="A"/>
<map from="KEY_Z" to="B"/>
<map from="KEY_S" to="X"/>
<map from="KEY_A" to="Y"/>
<map from="KEY_Q" to="L"/>
<map from="KEY_W" to="R"/>
<map from="KEY_ENTER" to="START"/>
<map from="KEY_RIGHTSHIFT" to="SELECT"/>
</default-controller>
</config>
</runtime>

@ -0,0 +1 @@
Subproject commit 5dfb5f2a2d1a56c6240dfdc60212be479b9ce5c3