Swordfish90 / LibretroDroid

GNU General Public License v3.0
75 stars 17 forks source link

DOSBOX_PURE setting variables does not take effect #92

Open android-1995 opened 2 years ago

android-1995 commented 2 years ago

I know that DOSBOX_PURE is the core of the test, however I think this bug still needs to be reported.

      val data = GLRetroViewData(this).apply {
          coreFilePath = "libdosbox_pure_libretro_android.so"
          gameFilePath = "${filesDir}/example.dosz"
          gameFileBytes = null
          systemDirectory = filesDir.absolutePath
          savesDirectory = filesDir.absolutePath

          /* For example, the Variable I set will not take effect */
          variables = arrayOf(Variable("dosbox_pure_cpu_type", "386"))

          saveRAMState = null
          shader = LibretroDroid.SHADER_DEFAULT
          rumbleEventsEnabled = true
          preferLowLatencyAudio = true
      }
      retroView = GLRetroView(this, data)