summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emucore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emucore.h')
-rw-r--r--src/emu/emucore.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/emu/emucore.h b/src/emu/emucore.h
index f802ed5a7b9..755df2bcb3f 100644
--- a/src/emu/emucore.h
+++ b/src/emu/emucore.h
@@ -268,35 +268,35 @@ class emu_fatalerror : public emu_exception
{
public:
emu_fatalerror(const char *format, ...)
- : m_exitcode(0)
+ : code(0)
{
va_list ap;
va_start(ap, format);
- sprintf(m_text, format, ap);
+ sprintf(text, format, ap);
va_end(ap);
- osd_break_into_debugger(m_text);
+ osd_break_into_debugger(text);
}
emu_fatalerror(const char *format, va_list ap)
- : m_exitcode(0)
+ : code(0)
{
- vsprintf(m_text, format, ap);
- osd_break_into_debugger(m_text);
+ vsprintf(text, format, ap);
+ osd_break_into_debugger(text);
}
emu_fatalerror(int _exitcode, const char *format, va_list ap)
- : m_exitcode(_exitcode)
+ : code(_exitcode)
{
- vsprintf(m_text, format, ap);
- osd_break_into_debugger(m_text);
+ vsprintf(text, format, ap);
+ osd_break_into_debugger(text);
}
- const char *string() const { return m_text; }
- int exitcode() const { return m_exitcode; }
+ const char *string() const { return text; }
+ int exitcode() const { return code; }
private:
- char m_text[1024];
- int m_exitcode;
+ char text[1024];
+ int code;
};