git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit c6ea57209fec26dd8240c9a7f05dbfb7bfe42a86
parent 2d593a95e3561e938de795dbdf57e0f40438b8e1
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun, 28 Feb 2021 20:14:15 +0200

Merge pull request #356 from RobLoach/libretro-updates

libretro: Sync updates from libretro
Diffstat:
Mlibretro/Makefile11+++++++++++
Mlibretro/libretro.c1+
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/libretro/Makefile b/libretro/Makefile @@ -119,6 +119,17 @@ else ifeq ($(platform), classic_armv7_a7) LDFLAGS += -static-libgcc -static-libstdc++ endif endif + +########################### +# Raspberry Pi 4 in 64 mode +else ifneq (,$(findstring rpi4_64,$(platform))) + EXT ?= so + TARGET := $(TARGET_NAME)_libretro.$(EXT) + fpic := -fPIC + SHARED := -shared -Wl,--version-script=$(CORE_DIR)/libretro/link.T -Wl,--no-undefined + CFLAGS += -O2 -march=armv8-a+crc+simd -mtune=cortex-a72 +########################### + ####################################### # Nintendo Switch (libtransistor) else ifeq ($(platform), switch) diff --git a/libretro/libretro.c b/libretro/libretro.c @@ -1128,6 +1128,7 @@ bool retro_load_game(const struct retro_game_info *info) void retro_unload_game(void) { for (int i = 0; i < emulated_devices; i++) { + log_cb(RETRO_LOG_INFO, "Unloading GB: %d\n", emulated_devices); GB_free(&gameboy[i]); } }

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.