mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-16 10:38:32 +01:00
android: Allow saving to quickslot from UI
Idk why this was done by the original author as there are no conflicts
This commit is contained in:
parent
43dbe42b29
commit
88c70b085e
@ -533,7 +533,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback, Choreographer.Fram
|
|||||||
val slot = i
|
val slot = i
|
||||||
var enableClick = isSaving
|
var enableClick = isSaving
|
||||||
val text = if (slot == NativeLibrary.QUICKSAVE_SLOT) {
|
val text = if (slot == NativeLibrary.QUICKSAVE_SLOT) {
|
||||||
enableClick = false
|
|
||||||
getString(R.string.emulation_quicksave_slot)
|
getString(R.string.emulation_quicksave_slot)
|
||||||
} else {
|
} else {
|
||||||
getString(R.string.emulation_empty_state_slot, slot)
|
getString(R.string.emulation_empty_state_slot, slot)
|
||||||
@ -557,8 +556,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback, Choreographer.Fram
|
|||||||
savestates?.forEach {
|
savestates?.forEach {
|
||||||
var enableClick = true
|
var enableClick = true
|
||||||
val text = if(it.slot == NativeLibrary.QUICKSAVE_SLOT) {
|
val text = if(it.slot == NativeLibrary.QUICKSAVE_SLOT) {
|
||||||
// do not allow saving in quicksave slot
|
|
||||||
enableClick = !isSaving
|
|
||||||
getString(R.string.emulation_occupied_quicksave_slot, it.time)
|
getString(R.string.emulation_occupied_quicksave_slot, it.time)
|
||||||
} else{
|
} else{
|
||||||
getString(R.string.emulation_occupied_state_slot, it.slot, it.time)
|
getString(R.string.emulation_occupied_state_slot, it.slot, it.time)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user