summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/winmain.h
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-04-17 13:41:27 -0400
committer Brad Hughes <bradhugh@outlook.com>2016-04-17 16:22:51 -0400
commitef4f80b4a4278305c17edb2837d407f8a66d9957 (patch)
treed4f6374d2ca9aa32fa2f4953affb553ea834bb2e /src/osd/windows/winmain.h
parent4e2fefdd150c6124d70e86f00393bbd95f51e54b (diff)
Create diagnostic module for profiling and crash diagnostics
Diffstat (limited to 'src/osd/windows/winmain.h')
-rw-r--r--src/osd/windows/winmain.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/osd/windows/winmain.h b/src/osd/windows/winmain.h
index 216333dbd13..94d422a545b 100644
--- a/src/osd/windows/winmain.h
+++ b/src/osd/windows/winmain.h
@@ -249,8 +249,14 @@ struct MouseButtonEventArgs
int ypos;
};
+// Forward declarations
+struct _EXCEPTION_POINTERS;
+
class windows_osd_interface : public osd_common_t
{
+ // Access to exception filter static method
+ friend int main(int argc, char *argv[]);
+
public:
// construction/destruction
windows_osd_interface(windows_options &options);
@@ -297,6 +303,7 @@ private:
windows_options & m_options;
static const int DEFAULT_FONT_HEIGHT = 200;
+ static long __stdcall exception_filter(struct _EXCEPTION_POINTERS *info);
};
#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
@@ -337,11 +344,4 @@ extern const options_entry mame_win_options[];
extern int osd_num_processors;
-
-//============================================================
-// FUNCTION PROTOTYPES
-//============================================================
-
-void winmain_dump_stack();
-
#endif