X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2Fcell_map.c;h=151a3a83a44823a68649c84019b0ddadc712e8ea;hb=c060a9ab9c428e1ed9c4159b56529a2a36031e44;hp=5358a090cc216f53f7fca62c5aa7bf8ee4839301;hpb=fa1e5e2948e9b06dec3353081081173f7ae4d742;p=picodrive.git diff --git a/Pico/cd/cell_map.c b/Pico/cd/cell_map.c index 5358a09..151a3a8 100644 --- a/Pico/cd/cell_map.c +++ b/Pico/cd/cell_map.c @@ -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; }