summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author npwoods <npwoods@alumni.cmu.edu>2017-06-24 22:48:13 -0400
committer Vas Crabb <cuavas@users.noreply.github.com>2017-06-25 12:48:13 +1000
commit1b28df0b39225c3017e7bc843c14b58f548162ac (patch)
tree7ceec13527959f1631fd2d6d9d1dc9eb3f8f700c /scripts/src
parent69828a8ff9dfe5e56ac00accfddc991f5dce7d61 (diff)
Reintroduced a state save menu, take two (#2358)
* This turns the current state save feature to a menu; one can still press 0-9, but you can also browse a menu when loading and saving state * Fixed some issues requested by Vas Crabb * Updated state menu to support arbitrary character slots * WIP, transitioned 'entry_char' to std::string Still need to address Joystick and FR keyboard concerns * Reimplemented state save support with joystick buttons * Changed the state menu to be "code driven" rather than "character driven" When the menu is displayed, it will look at the filenames, and translate them to a visual representation as per the user's locale * Vas feedback
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/mame/frontend.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/src/mame/frontend.lua b/scripts/src/mame/frontend.lua
index 9e0144916a4..ac2746d1429 100644
--- a/scripts/src/mame/frontend.lua
+++ b/scripts/src/mame/frontend.lua
@@ -159,6 +159,8 @@ files {
MAME_DIR .. "src/frontend/mame/ui/sndmenu.cpp",
MAME_DIR .. "src/frontend/mame/ui/sndmenu.h",
MAME_DIR .. "src/frontend/mame/ui/starimg.ipp",
+ MAME_DIR .. "src/frontend/mame/ui/state.cpp",
+ MAME_DIR .. "src/frontend/mame/ui/state.h",
MAME_DIR .. "src/frontend/mame/ui/toolbar.ipp",
MAME_DIR .. "src/frontend/mame/ui/utils.cpp",
MAME_DIR .. "src/frontend/mame/ui/utils.h",