- updated windows exception handler to catch all error types

This commit is contained in:
Mark Vejvoda 2013-02-01 05:26:07 +00:00
parent ffa52b02f5
commit 3ccdd1a0c7
3 changed files with 5 additions and 2 deletions

View File

@ -183,6 +183,9 @@ Config::Config(std::pair<ConfigType,ConfigType> type, std::pair<string,string> f
}
#if defined(WIN32)
//string test = "C:\\Code\\megaglest\\mk\\windoze\\.\\..\\..\\data\\glest_game\\glest.ini";
//updatePathClimbingParts(test);
updatePathClimbingParts(fileName.first);
#endif

View File

@ -9548,7 +9548,7 @@ void Renderer::renderVideoLoading(int progressPercent) {
}
}
else {
anim -= 0.1;
anim -= 0.1f;
if(anim < 0.f) {
anim= 0.f;
cycle.reset();

View File

@ -5267,7 +5267,7 @@ int glestMainWrapper(int argc, char** argv) {
#if defined(WIN32)
wstring dumpfilepath = utf8_decode(".");
//google_breakpad::ExceptionHandler handler(dumpfilepath, NULL, MinidumpCallback, NULL, true);
errorHandlerPtr.reset(new google_breakpad::ExceptionHandler(dumpfilepath, NULL, MinidumpCallback, NULL, true));
errorHandlerPtr.reset(new google_breakpad::ExceptionHandler(dumpfilepath, NULL, MinidumpCallback, NULL, google_breakpad::ExceptionHandler::HANDLER_ALL));
#else
google_breakpad::MinidumpDescriptor descriptor(".");
errorHandlerPtr.reset(new google_breakpad::ExceptionHandler(descriptor, NULL, MinidumpCallback, NULL, true,-1));