mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-04-28 13:47:59 +03: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
967263fc80
commit
d43597b520
1 changed files with 0 additions and 3 deletions
|
@ -549,7 +549,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)
|
||||||
|
@ -573,8 +572,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…
Add table
Add a link
Reference in a new issue