Core/burn/drv/taito/d_retofinv.cpp
// Calculate offsets for tiles on screen
Calculate offsets for tiles on screen
Calculate offsets for tiles on screen
static void DrvCalculateOffsets()
{
	for (INT32 offs = 0; offs < 36 * 28; offs++) {
		INT32 col = (offs % 36) - 2;
		INT32 row = (offs / 36) + 2;
		if (col & 0x20)
			DrvTileOfst[offs] = ((col & 0x1f) << 5) + row;
		else
			DrvTileOfst[offs] = (row << 5) + col;
	}
}
static void DrvCalculateOffsets ( ) { for ( INT32 offs = 0 ; offs < 36 * 28 ; offs ++ ) { INT32 col = ( offs % 36 ) - 2 ; INT32 row = ( offs / 36 ) + 2 ; if ( col & 0x20 ) DrvTileOfst [ offs ] = ( ( col & 0x1f ) << 5 ) + row ; else DrvTileOfst [ offs ] = ( row << 5 ) + col ; } }
Calculate offsets for tiles on screen
Calculate offsets for tiles on screen