- updated windows exception handler to catch all error types
This commit is contained in:
parent
ffa52b02f5
commit
3ccdd1a0c7
|
@ -183,6 +183,9 @@ Config::Config(std::pair<ConfigType,ConfigType> type, std::pair<string,string> f
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
|
//string test = "C:\\Code\\megaglest\\mk\\windoze\\.\\..\\..\\data\\glest_game\\glest.ini";
|
||||||
|
//updatePathClimbingParts(test);
|
||||||
|
|
||||||
updatePathClimbingParts(fileName.first);
|
updatePathClimbingParts(fileName.first);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -9548,7 +9548,7 @@ void Renderer::renderVideoLoading(int progressPercent) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
anim -= 0.1;
|
anim -= 0.1f;
|
||||||
if(anim < 0.f) {
|
if(anim < 0.f) {
|
||||||
anim= 0.f;
|
anim= 0.f;
|
||||||
cycle.reset();
|
cycle.reset();
|
||||||
|
|
|
@ -5267,7 +5267,7 @@ int glestMainWrapper(int argc, char** argv) {
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
wstring dumpfilepath = utf8_decode(".");
|
wstring dumpfilepath = utf8_decode(".");
|
||||||
//google_breakpad::ExceptionHandler handler(dumpfilepath, NULL, MinidumpCallback, NULL, true);
|
//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
|
#else
|
||||||
google_breakpad::MinidumpDescriptor descriptor(".");
|
google_breakpad::MinidumpDescriptor descriptor(".");
|
||||||
errorHandlerPtr.reset(new google_breakpad::ExceptionHandler(descriptor, NULL, MinidumpCallback, NULL, true,-1));
|
errorHandlerPtr.reset(new google_breakpad::ExceptionHandler(descriptor, NULL, MinidumpCallback, NULL, true,-1));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user