FAMEC idle loops, PSP port sync, minor adjustments
[picodrive.git] / Pico / cd / cell_map.c
index 5358a09..151a3a8 100644 (file)
@@ -1,3 +1,5 @@
+// Convert "cell arrange" address to normal address.
+// (c) Copyright 2007, Grazvydas "notaz" Ignotas
 
 // 64 x32 x16 x8 x4 x4
 static unsigned int cell_map(int celln)
@@ -28,7 +30,7 @@ static unsigned int cell_map(int celln)
       row  = celln & 0x1f;
       row |= (celln & 0x7800) >> 6;
       break;
-    default: // just to make compiler happy
+    default: // never happens, only here to make compiler happy
       col = row = 0;
       break;
   }