diff options
Diffstat (limited to 'src/frontend/mame/cheat.cpp')
-rw-r--r-- | src/frontend/mame/cheat.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontend/mame/cheat.cpp b/src/frontend/mame/cheat.cpp index dbbd0ed78bc..1e6d7aaffbd 100644 --- a/src/frontend/mame/cheat.cpp +++ b/src/frontend/mame/cheat.cpp @@ -204,7 +204,7 @@ const char *cheat_parameter::text() // save - save a single cheat parameter //------------------------------------------------- -void cheat_parameter::save(emu_file &cheatfile) const +void cheat_parameter::save(util::core_file &cheatfile) const { // output the parameter tag cheatfile.printf("\t\t<parameter"); @@ -367,7 +367,7 @@ void cheat_script::execute(cheat_manager &manager, uint64_t &argindex) // save - save a single cheat script //------------------------------------------------- -void cheat_script::save(emu_file &cheatfile) const +void cheat_script::save(util::core_file &cheatfile) const { // output the script tag cheatfile.printf("\t\t<script"); @@ -531,7 +531,7 @@ void cheat_script::script_entry::execute(cheat_manager &manager, uint64_t &argin // save - save a single action or output //------------------------------------------------- -void cheat_script::script_entry::save(emu_file &cheatfile) const +void cheat_script::script_entry::save(util::core_file &cheatfile) const { if (m_format.empty()) { @@ -544,7 +544,7 @@ void cheat_script::script_entry::save(emu_file &cheatfile) const else { // output an output - cheatfile.printf("\t\t\t<output format=\"%s\"", m_format.c_str()); + cheatfile.printf("\t\t\t<output format=\"%s\"", m_format); if (!m_condition.is_empty()) cheatfile.printf(" condition=\"%s\"", cheat_manager::quote_expression(m_condition)); @@ -662,7 +662,7 @@ int cheat_script::script_entry::output_argument::values(uint64_t &argindex, uint // save - save a single output argument //------------------------------------------------- -void cheat_script::script_entry::output_argument::save(emu_file &cheatfile) const +void cheat_script::script_entry::output_argument::save(util::core_file &cheatfile) const { cheatfile.printf("\t\t\t\t<argument"); if (m_count != 1) @@ -762,7 +762,7 @@ cheat_entry::~cheat_entry() // save - save a single cheat entry //------------------------------------------------- -void cheat_entry::save(emu_file &cheatfile) const +void cheat_entry::save(util::core_file &cheatfile) const { // determine if we have scripts bool const has_scripts(m_off_script || m_on_script || m_run_script || m_change_script); |