[Scummvm-git-logs] scummvm master -> c22aacea8edb702dcc92f201bfc679206cb5c5a9

mduggan mgithub at guarana.org
Sat Jun 19 13:25:18 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c22aacea8e ULTIMA8: Make proc loop workaround less aggressive


Commit: c22aacea8edb702dcc92f201bfc679206cb5c5a9
    https://github.com/scummvm/scummvm/commit/c22aacea8edb702dcc92f201bfc679206cb5c5a9
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2021-06-19T22:23:33+09:00

Commit Message:
ULTIMA8: Make proc loop workaround less aggressive

The previous threshold caused crashes on U8 in some map transitions.  Set a
much higher value so Crusader will still pause noticably but U8 won't fail.

Changed paths:
    engines/ultima/ultima8/kernel/kernel.cpp


diff --git a/engines/ultima/ultima8/kernel/kernel.cpp b/engines/ultima/ultima8/kernel/kernel.cpp
index b0064f1bb7..0a200d38fa 100644
--- a/engines/ultima/ultima8/kernel/kernel.cpp
+++ b/engines/ultima/ultima8/kernel/kernel.cpp
@@ -173,7 +173,7 @@ void Kernel::runProcesses() {
 			// we can work out what it is avoid the game totally hanging at this
 			// point.
 			//
-			if (num_run > 1000 && !p->is_terminated()) {
+			if (num_run > 8096 && !p->is_terminated()) {
 				warning("Seem to be stuck in process loop - killing current process");
 				p->fail();
 			}




More information about the Scummvm-git-logs mailing list