From 079bc031471880f18d046afeaf0501bb2818ab82 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 11 Jun 2006 19:16:18 +0000 Subject: [PATCH] Changed to ensure menus are displayed indefinitely. --- generate_dvd.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 <<
-- 
2.39.5