svp bugfixes
[picodrive.git] / Pico / Cart.c
index 7c3f36d..b641130 100644 (file)
@@ -496,6 +496,7 @@ int PicoCartInsert(unsigned char *rom,unsigned int romsize)
   PicoMemResetHooks();\r
   PicoDmaHook = NULL;\r
   PicoResetHook = NULL;\r
+  PicoLineHook = NULL;\r
 \r
   if (!(PicoMCD & 1))\r
     PicoCartDetect();\r
@@ -638,7 +639,8 @@ void PicoCartDetect(void)
     *(int *) (Pico.rom+0x1f0) = 0x20204520;\r
 \r
   // SVP detection\r
-  if (name_cmp("Virtua Racing") == 0)\r
+  if (name_cmp("Virtua Racing") == 0 ||\r
+      name_cmp("VIRTUA RACING") == 0)\r
   {\r
     PicoSVPInit();\r
   }\r