Add crash dump functionality

This commit is contained in:
slipstream/RoL
2017-01-17 20:04:19 +00:00
parent 6b86549b7e
commit 4f77d037f3
4 changed files with 125 additions and 1 deletions

View File

@@ -44,6 +44,7 @@
#include "win-d3d.h"
#include "win-d3d-fs.h"
//#include "win-opengl.h"
#include "win-crashdump.h"
#ifndef MAPVK_VK_TO_VSC
#define MAPVK_VK_TO_VSC 0
@@ -556,6 +557,8 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
char emulator_title[200];
LARGE_INTEGER qpc_freq;
HACCEL haccel; /* Handle to accelerator table */
InitCrashDump(); // First thing to do before anything else is to make sure crash dumps get created.
process_command_line();