From: Ben Hutchings Date: Sun, 11 Jun 2006 19:16:18 +0000 (+0000) Subject: Changed to ensure menus are displayed indefinitely. X-Git-Tag: 0.7~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=079bc031471880f18d046afeaf0501bb2818ab82;p=videolink.git Changed to ensure menus are displayed indefinitely. --- diff --git a/generate_dvd.cpp b/generate_dvd.cpp index 5e129d4..36b1e3a 100644 --- a/generate_dvd.cpp +++ b/generate_dvd.cpp @@ -55,7 +55,7 @@ void generate_dvd(const dvd_contents & contents, // This is the first (title) menu, displayed when the // disc is first played. file << - " \n" + " \n" "
\n"
 		// Initialise the current location if it is not set
 		// (all general registers are initially 0).
@@ -65,7 +65,7 @@ void generate_dvd(const dvd_contents & contents,
 	else
 	{
 	    file <<
-		"      \n"
+		"      \n"
 		"        
\n";
 	}
 
@@ -170,7 +170,13 @@ void generate_dvd(const dvd_contents & contents,
 	    file <<  " \n";
 	}
 
-	file << "      \n";
+	file <<
+	    // Some DVD players don't seem to obey pause='inf' so make
+	    // them loop.
+	    "        \n"
+	    "          jump cell 1;\n"
+	    "        \n"
+	    "      \n";
     }
 
     file <<