From: notaz Date: Sat, 29 Jun 2013 00:38:32 +0000 (+0300) Subject: default config adjustments X-Git-Tag: v1.85~81 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=picodrive.git;a=commitdiff_plain;h=720bfc5d9f6fa22a1ff7bdf00193f20d6be91ca7 default config adjustments --- diff --git a/configure b/configure index 0e96a99..c3309b5 100755 --- a/configure +++ b/configure @@ -123,10 +123,8 @@ if [ "x$sound_drivers" != "x" ]; then done fi -if [ "$need_libpicofe" = "yes" ]; then - if ! test -f "frontend/libpicofe/README"; then - fail "libpicofe is missing, please run 'git submodule init && git submodule update'" - fi +if ! test -f "platform/libpicofe/README"; then + fail "libpicofe is missing, please run 'git submodule update --init'" fi #if [ "$need_warm" = "yes" ]; then diff --git a/platform/common/emu.c b/platform/common/emu.c index d92c598..d0cc988 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -535,7 +535,8 @@ void emu_prep_defconfig(void) memset(&defaultConfig, 0, sizeof(defaultConfig)); defaultConfig.EmuOpt = 0x9d | EOPT_RAM_TIMINGS|EOPT_EN_CD_LEDS; defaultConfig.s_PicoOpt = POPT_EN_STEREO|POPT_EN_FM|POPT_EN_PSG|POPT_EN_Z80 | - POPT_EN_MCD_PCM|POPT_EN_MCD_CDDA|POPT_EN_SVP_DRC|POPT_ACC_SPRITES | + POPT_EN_MCD_PCM|POPT_EN_MCD_CDDA|POPT_EN_MCD_GFX | + POPT_EN_SVP_DRC|POPT_ACC_SPRITES | POPT_EN_32X|POPT_EN_PWM; defaultConfig.s_PsndRate = 44100; defaultConfig.s_PicoRegion = 0; // auto diff --git a/platform/libpicofe b/platform/libpicofe index 6282e17..8ef1ad3 160000 --- a/platform/libpicofe +++ b/platform/libpicofe @@ -1 +1 @@ -Subproject commit 6282e17ef5f37915df1a77b5d7138c666e94d0fb +Subproject commit 8ef1ad3218d7677f3dbf279095cd2fc58966547f diff --git a/platform/libretro.c b/platform/libretro.c index ebf6e65..0521f18 100644 --- a/platform/libretro.c +++ b/platform/libretro.c @@ -571,9 +571,12 @@ void retro_init(void) environ_cb(RETRO_ENVIRONMENT_SET_DISK_CONTROL_INTERFACE, &disk_control); PicoOpt = POPT_EN_STEREO|POPT_EN_FM|POPT_EN_PSG|POPT_EN_Z80 - | POPT_EN_MCD_PCM|POPT_EN_MCD_CDDA|POPT_EN_SVP_DRC - | POPT_ACC_SPRITES|POPT_EN_32X|POPT_EN_PWM - | POPT_DIS_32C_BORDER; + | POPT_EN_MCD_PCM|POPT_EN_MCD_CDDA|POPT_EN_MCD_GFX + | POPT_EN_32X|POPT_EN_PWM + | POPT_ACC_SPRITES|POPT_DIS_32C_BORDER; +#ifdef __arm__ + PicoOpt |= POPT_EN_SVP_DRC; +#endif PsndRate = 44100; PicoAutoRgnOrder = 0x184; // US, EU, JP PicoCDBuffers = 0;