changeset 85:aa14e5673881 src

Add a bit more debug info. Now print PGCN in debug.
author jcdutton
date Sun, 01 Sep 2002 10:57:15 +0000
parents ba1121a07120
children 129ac4af16a4
files vm.c
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vm.c	Sat Aug 31 11:05:27 2002 +0000
+++ b/vm.c	Sun Sep 01 10:57:15 2002 +0000
@@ -110,8 +110,9 @@
       fprintf(MSG_OUT, "libdvdnav: Unknown Domain: -\n");
       break;
   }
-  fprintf(MSG_OUT, "libdvdnav: VTS:%d PG:%u CELL:%u BLOCK:%u VTS_TTN:%u TTN:%u TT_PGCN:%u\n", 
+  fprintf(MSG_OUT, "libdvdnav: VTS:%d PGC:%d PG:%u CELL:%u BLOCK:%u VTS_TTN:%u TTN:%u TT_PGCN:%u\n", 
                    (vm->state).vtsN,
+                   get_PGCN(vm),
                    (vm->state).pgN,
                    (vm->state).cellN,
                    (vm->state).blockN,
@@ -1684,7 +1685,7 @@
   }
   fprintf(MSG_OUT, "libdvdnav: get_PGCN failed. Trying to find pgcN in domain %d \n", 
          (vm->state).domain);
-  assert(0); 
+  /* assert(0);*/ 
   return -1; /*  error */
 }
 
@@ -1817,6 +1818,7 @@
     pgcit = get_MENU_PGCIT(vm, vm->vtsi, (vm->state).registers.SPRM[0]);
     break;
   case VMGM_DOMAIN:
+  case FP_DOMAIN:
     pgcit = get_MENU_PGCIT(vm, vm->vmgi, (vm->state).registers.SPRM[0]);
     break;
   default:
@@ -1832,6 +1834,9 @@
 
 /*
  * $Log$
+ * Revision 1.31  2002/09/01 10:57:15  jcdutton
+ * Add a bit more debug info. Now print PGCN in debug.
+ *
  * Revision 1.30  2002/08/31 10:51:01  jcdutton
  * Handle badly written DVDs better.
  * If a Cell has a Cell command pointer, but the PGC Cell command list does not have an