mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-19 01:31:29 -06:00
android: Add toast popup while saving states through UI
This commit is contained in:
parent
f92b9b463c
commit
9130c92f9d
@ -542,6 +542,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback, Choreographer.Fram
|
||||
add(text).setEnabled(enableClick).setOnMenuItemClickListener {
|
||||
if(isSaving) {
|
||||
NativeLibrary.saveState(slot)
|
||||
Toast.makeText(context,
|
||||
getString(R.string.quicksave_saving),
|
||||
Toast.LENGTH_SHORT).show()
|
||||
} else {
|
||||
NativeLibrary.loadState(slot)
|
||||
binding.drawerLayout.close()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user