Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,9 @@ else ifeq ($(platform), miyoo)
CC = /opt/miyoo/usr/bin/arm-linux-gcc
CXX = /opt/miyoo/usr/bin/arm-linux-g++
AR = /opt/miyoo/usr/bin/arm-linux-ar
COMMON_CFLAGS += -D_GNU_SOURCE -DUSE_OWN_ADDED_SIZE
COMMON_CFLAGS += -DUSE_OWN_ADDED_SIZE
COMMON_CFLAGS += -fomit-frame-pointer -ffast-math -march=armv5te -mtune=arm926ej-s
COMMON_CFLAGS += -fno-common -ftree-vectorize -funswitch-loops
COMMON_CFLAGS += -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp
COMMON_CFLAGS += -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DMIYOO
else
CC ?= gcc
TARGET := $(TARGET_NAME)_libretro.dll
Expand Down
6 changes: 3 additions & 3 deletions src/libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ static void am_multiple_choice (const char *name, unsigned &var, bool &is_update

static void update_variables(bool startup)
{
#if defined(RS90)
#if defined(RS90) || defined(MIYOO)
store_files_in_memory = false;
#elif defined(_3DS) || defined(GEKKO)
store_files_in_memory = true;
Expand Down Expand Up @@ -1116,7 +1116,7 @@ static void mixChannel(long long tic, SoundChannelState *channel)
#define MB(x) ((x) << 20)

size_t limit_sound_cache_size =
#ifdef RS90
#if defined(RS90) || defined(MIYOO)
MB(5)
#else
MB(15)
Expand All @@ -1137,7 +1137,7 @@ void generate_audio(long long tic)
// We don't want to keep dropping and reloading the same files every frame
if (limit_sound_cache_size <= (touched_sound_size * 3) / 2) {
limit_sound_cache_size = (touched_sound_size * 3) / 2;
#ifdef RS90
#if defined(RS90) || defined(MIYOO)
if (limit_sound_cache_size >= MB(7))
limit_sound_cache_size = MB(7);
#endif
Expand Down
4 changes: 3 additions & 1 deletion src/libretro/libretro_core_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ struct retro_core_option_definition option_defs_us[] = {
BOOL_OPTIONS,
"disabled"
},
#if !defined(_3DS) && !defined(GEKKO) && !defined(RS90)
#if !defined(_3DS) && !defined(GEKKO) && !defined(RS90) && !defined(MIYOO)
{
"ecwolf-memstore",
"Store files in memory",
Expand All @@ -381,13 +381,15 @@ struct retro_core_option_definition option_defs_us[] = {
"disabled"
},
#endif
#if !defined(RS90)
{
"ecwolf-preload-digisounds",
"Preload digitized sounds",
"Increases speed at cost of memory and initial load times",
BOOL_OPTIONS,
"enabled"
},
#endif
{
"ecwolf-panx-adjustment",
"Horizontal panning speed in automap",
Expand Down