Tools/ConnectionPatcher: Pause program when an error happens
Similar to what is done in mmaps_generator and vmap4_extractor. This hopefully reduces the number of problems that Windows users have when patching fails.
This commit is contained in:
1 parent
66101f2abc
commit
84e89ce9c8
1 file changed
+2
@@ -216,6 +216,8 @@ int main(int argc, char** argv)
|
||||
catch (std::exception const& ex)
|
||||
{
|
||||
std::cerr << "EX: " << ex.what() << std::endl;
|
||||
std::cerr << "An error occurred. Press ENTER to continue...";
|
||||
std::cin.get();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user