diff --git a/.travis.yml b/.travis.yml index a5e258611..c533236f5 100755 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ install: - test -z "$encrypted_c726d225a9d9_key" || mv debug.keystore ~/.android/debug.keystore before_script: script: -- git fetch --depth 50 +- git fetch --depth 250 - cd shell/android-studio - export NUMBER_OF_PROCESSORS=2 - sudo chmod 755 travis-build.sh diff --git a/core/hw/aica/aica_if.cpp b/core/hw/aica/aica_if.cpp index c92bce9b8..3bf48ae49 100644 --- a/core/hw/aica/aica_if.cpp +++ b/core/hw/aica/aica_if.cpp @@ -246,12 +246,12 @@ void Write_SB_ADST(u32 addr, u32 data) SB_ADSTAR+=len; SB_ADSTAG+=len; total_bytes+=len; - SB_ADST = settings.aica.InterruptHack ? 1 : 0x00000000;//dma done + SB_ADST = settings.aica.DelayInterrupt ? 1 : 0x00000000;//dma done SB_ADLEN = 0x00000000; aica_pending_dma = ((total_bytes * 200000000) / 65536) + 1; - if (!settings.aica.InterruptHack) + if (!settings.aica.DelayInterrupt) asic_RaiseInterruptWait(holly_SPU_DMA); } } @@ -334,4 +334,4 @@ void aica_sb_Reset(bool Manual) void aica_sb_Term() { -} \ No newline at end of file +} diff --git a/core/hw/sh4/interpr/sh4_interpreter.cpp b/core/hw/sh4/interpr/sh4_interpreter.cpp index 91c100159..ab47385be 100644 --- a/core/hw/sh4/interpr/sh4_interpreter.cpp +++ b/core/hw/sh4/interpr/sh4_interpreter.cpp @@ -210,7 +210,7 @@ int AicaUpdate(int tag, int c, int j) //aica_sample_cycles-=AICA_SAMPLE_CYCLES; } - if (settings.aica.InterruptHack) + if (settings.aica.DelayInterrupt) aica_periodical(3584); return AICA_TICK; diff --git a/core/nullDC.cpp b/core/nullDC.cpp index db05e160d..7fdc28116 100755 --- a/core/nullDC.cpp +++ b/core/nullDC.cpp @@ -298,7 +298,7 @@ void LoadSettings() settings.aica.LimitFPS = cfgLoadInt("config", "aica.LimitFPS", 1); settings.aica.NoBatch = cfgLoadInt("config", "aica.NoBatch", 0); settings.aica.NoSound = cfgLoadInt("config", "aica.NoSound", 0); - settings.aica.InterruptHack = cfgLoadInt("config", "aica.InterruptHack", 0); + settings.aica.DelayInterrupt = cfgLoadInt("config", "aica.DelayInterrupt", 0); settings.rend.UseMipmaps = cfgLoadInt("config", "rend.UseMipmaps", 1); settings.rend.WideScreen = cfgLoadInt("config", "rend.WideScreen", 0); settings.rend.ModifierVolumes = cfgLoadInt("config", "rend.ModifierVolumes", 1); @@ -358,7 +358,7 @@ void LoadCustom() settings.dynarec.idleskip = cfgGameInt(reios_id,"Dynarec.idleskip", settings.dynarec.idleskip ? 1 : 0) != 0; settings.dynarec.unstable_opt = cfgGameInt(reios_id,"Dynarec.unstable-opt", settings.dynarec.unstable_opt); settings.dynarec.safemode = cfgGameInt(reios_id,"Dynarec.safemode", settings.dynarec.safemode); - settings.aica.InterruptHack = cfgLoadInt(reios_id,"aica.InterruptHack", settings.aica.InterruptHack); + settings.aica.DelayInterrupt = cfgLoadInt(reios_id,"aica.DelayInterrupt", settings.aica.DelayInterrupt); settings.rend.ModifierVolumes = cfgGameInt(reios_id,"rend.ModifierVolumes", settings.rend.ModifierVolumes); settings.rend.Clipping = cfgGameInt(reios_id,"rend.Clipping", settings.rend.Clipping); diff --git a/core/types.h b/core/types.h index 6e7a4a1cf..0dd5865ec 100644 --- a/core/types.h +++ b/core/types.h @@ -653,7 +653,7 @@ struct settings_t u32 DSPEnabled; //0 -> no, 1 -> yes u32 NoBatch; u32 NoSound; //0 ->sound, 1 -> no sound - u32 InterruptHack; + u32 DelayInterrupt; } aica; #if USE_OMX diff --git a/shell/android-studio/reicast/src/main/AndroidManifest.xml b/shell/android-studio/reicast/src/main/AndroidManifest.xml index 82f017e6d..7d921048c 100644 --- a/shell/android-studio/reicast/src/main/AndroidManifest.xml +++ b/shell/android-studio/reicast/src/main/AndroidManifest.xml @@ -16,7 +16,6 @@ - + + Synchronous Rendering Force Queue Rendering Enable Modifier Volumes - Enable Interrupt Hack + Enable Delay Interrupt Show On-Screen FPS Use Software Layer Disable Emulator Sound