Adds images for Save State and Load State pause items
This commit is contained in:
parent
db9bd94667
commit
b98b9d60ca
@ -190,11 +190,11 @@ class EmulationViewController: UIViewController
|
||||
// Specifically, if you pause a game, open the save states menu, go back, return to menu, select a new game, then try to pause it, it will crash
|
||||
// As a dirty workaround, we just use a weak reference, and force unwrap it if needed
|
||||
|
||||
let saveStateItem = PauseItem(image: UIImage(named: "SmallPause")!, text: NSLocalizedString("Save State", comment: ""), action: { [unowned self] _ in
|
||||
let saveStateItem = PauseItem(image: UIImage(named: "SaveSaveState")!, text: NSLocalizedString("Save State", comment: ""), action: { [unowned self] _ in
|
||||
pauseViewController.presentSaveStateViewControllerWithMode(.Saving, delegate: self)
|
||||
})
|
||||
|
||||
let loadStateItem = PauseItem(image: UIImage(named: "SmallPause")!, text: NSLocalizedString("Load State", comment: ""), action: { [unowned self] _ in
|
||||
let loadStateItem = PauseItem(image: UIImage(named: "LoadSaveState")!, text: NSLocalizedString("Load State", comment: ""), action: { [unowned self] _ in
|
||||
pauseViewController.presentSaveStateViewControllerWithMode(.Loading, delegate: self)
|
||||
})
|
||||
|
||||
|
||||
26
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/Contents.json
vendored
Normal file
26
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "LoadSaveState.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "LoadSaveState@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "LoadSaveState@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "template"
|
||||
}
|
||||
}
|
||||
BIN
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/LoadSaveState.png
vendored
Normal file
BIN
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/LoadSaveState.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/LoadSaveState@2x.png
vendored
Normal file
BIN
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/LoadSaveState@2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/LoadSaveState@3x.png
vendored
Normal file
BIN
Resources/Assets.xcassets/Pause Icons/LoadSaveState.imageset/LoadSaveState@3x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
26
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/Contents.json
vendored
Normal file
26
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "SaveSaveState.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "SaveSaveState@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "SaveSaveState@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "template"
|
||||
}
|
||||
}
|
||||
BIN
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/SaveSaveState.png
vendored
Normal file
BIN
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/SaveSaveState.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/SaveSaveState@2x.png
vendored
Normal file
BIN
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/SaveSaveState@2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/SaveSaveState@3x.png
vendored
Normal file
BIN
Resources/Assets.xcassets/Pause Icons/SaveSaveState.imageset/SaveSaveState@3x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in New Issue
Block a user