X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=maemo%2Fmain.c;h=c382c511028eec5c173e352e151a720a822a5a1c;hb=39ecfba491cd7ae374847b990b189e89ff878f1c;hp=87e0e2c9887ca0ad35555726cb2c237c3bd37999;hpb=84b0e44599886bac368fa48cd82979019adb904d;p=pcsx_rearmed.git diff --git a/maemo/main.c b/maemo/main.c index 87e0e2c9..c382c511 100644 --- a/maemo/main.c +++ b/maemo/main.c @@ -18,16 +18,13 @@ #include "../libpcsxcore/cdriso.h" #include "../libpcsxcore/new_dynarec/new_dynarec.h" #include "../plugins/dfinput/main.h" +#include "../plugins/dfsound/spu_config.h" #include "maemo_common.h" extern int in_enable_vibration; extern int cycle_multiplier; extern int in_type1, in_type2; -// sound plugin -extern int iUseReverb; -extern int iUseInterpolation; - accel_option accelOptions; int ready_to_go, g_emu_want_quit, g_emu_resetting; int g_menuscreen_w, g_menuscreen_h; @@ -198,9 +195,9 @@ int main(int argc, char **argv) Config.PsxAuto = 1; pl_rearmed_cbs.frameskip = -1; strcpy(Config.Bios, "HLE"); - iUseReverb = 0; - iUseInterpolation = 0; - + spu_config.iUseReverb = 1; + spu_config.iUseInterpolation = 1; + spu_config.idiablofix = 0; in_type1 = PSE_PAD_TYPE_STANDARD; in_type2 = PSE_PAD_TYPE_STANDARD; @@ -288,8 +285,8 @@ int main(int argc, char **argv) } } - else if (!strcmp(argv[i], "-spu_reverb")) { if (atol(argv[++i]) > 0) iUseReverb = 2; } - else if (!strcmp(argv[i], "-spu_interpolation")) iUseInterpolation = atol(argv[++i]); + else if (!strcmp(argv[i], "-spu_reverb")) spu_config.iUseReverb = atol(argv[++i]); + else if (!strcmp(argv[i], "-spu_interpolation")) spu_config.iUseInterpolation = atol(argv[++i]); else if (!strcmp(argv[i], "-enhance")) pl_rearmed_cbs.gpu_neon.enhancement_enable = 1; else if (!strcmp(argv[i], "-enhancehack")) pl_rearmed_cbs.gpu_neon.enhancement_no_main = 1;