From 4f993d5ffe5baefddc5cdd2aeca6c2484837bd37 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 May 2021 14:47:07 +0200 Subject: [PATCH] Activated YM2413 emulation for SMS by default --- platform/common/emu.c | 6 +++--- platform/common/minimp3 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/common/emu.c b/platform/common/emu.c index dfbb38df..86a01324 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -687,8 +687,8 @@ void emu_prep_defconfig(void) { memset(&defaultConfig, 0, sizeof(defaultConfig)); defaultConfig.EmuOpt = EOPT_EN_SRAM | EOPT_EN_SOUND | EOPT_16BPP | - EOPT_EN_CD_LEDS | EOPT_GZIP_SAVES | 0x10/*?*/; - defaultConfig.s_PicoOpt = POPT_EN_STEREO|POPT_EN_FM|POPT_EN_PSG|POPT_EN_Z80 | + EOPT_GZIP_SAVES | 0x10/*?*/; + defaultConfig.s_PicoOpt = POPT_EN_YM2413|POPT_EN_STEREO|POPT_EN_FM|POPT_EN_PSG|POPT_EN_Z80 | POPT_EN_MCD_PCM|POPT_EN_MCD_CDDA|POPT_EN_MCD_GFX | POPT_EN_DRC|POPT_ACC_SPRITES | POPT_EN_32X|POPT_EN_PWM; @@ -1687,7 +1687,7 @@ static void emu_loop_prep(void) void emu_loop(void) { int frames_done, frames_shown; /* actual frames for fps counter */ - int frame_nb = 0; + int frame_nb = 0; int target_frametime_x3; unsigned int timestamp_x3 = 0; unsigned int timestamp_aim_x3 = 0; diff --git a/platform/common/minimp3 b/platform/common/minimp3 index ef9e212f..b18d274b 160000 --- a/platform/common/minimp3 +++ b/platform/common/minimp3 @@ -1 +1 @@ -Subproject commit ef9e212fa29bb72d23558da21bb5694fd2d01768 +Subproject commit b18d274b998cd4406070ddc1f370f53392241af0