summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emuopts.cpp')
-rw-r--r--src/emu/emuopts.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp
index 284284dd665..b78c64cf598 100644
--- a/src/emu/emuopts.cpp
+++ b/src/emu/emuopts.cpp
@@ -231,33 +231,6 @@ emu_options::emu_options()
}
-std::string emu_options::main_value(const char *name) const
-{
- std::string buffer = value(name);
- int pos = buffer.find_first_of(',');
- if (pos != -1)
- buffer = buffer.substr(0, pos);
- return buffer;
-}
-
-std::string emu_options::sub_value(const char *name, const char *subname) const
-{
- std::string tmp = std::string(",").append(subname).append("=");
- std::string buffer = value(name);
- int pos = buffer.find(tmp);
- if (pos != -1)
- {
- int endpos = buffer.find_first_of(',', pos + 1);
- if (endpos == -1)
- endpos = buffer.length();
- buffer = buffer.substr(pos + tmp.length(), endpos - pos - tmp.length());
- }
- else
- buffer.clear();
- return buffer;
-}
-
-
//-------------------------------------------------
// value_changed - to prevent tagmap
// lookups keep copies of frequently requested