GetBlockCount() public méthode

public GetBlockCount ( ) : int
Résultat int
        void CheckGfxHeaderTilesToUpdate(GfxHeaderData header)
        {
            if (tileModifiedEvent == null)
            {
                return;
            }
            if (header.DestAddr < 0x8000 || header.DestAddr > 0x9fff)
            {
                return;
            }

            for (int t = 0; t < header.GetBlockCount(); t++)
            {
                int tile = t + (header.DestAddr - 0x8000) / 16;
                tileModifiedEvent(header.DestBank, tile);
            }
        }
Exemple #2
0
        void CheckGfxHeaderTilesToUpdate(GfxHeaderData header)
        {
            if (tileModifiedEvent == null)
                return;
            if (header.DestAddr < 0x8000 || header.DestAddr > 0x9fff)
                return;

            for (int t=0; t<header.GetBlockCount(); t++) {
                int tile = t+(header.DestAddr-0x8000)/16;
                tileModifiedEvent(header.DestBank, tile);
            }
        }