Example #1
0
        public void OnRemapDisplayChar(Rectangle frame, IndexedBitmap bitmap)
        {
            Invoke(new Action(() =>
            {
                bitmap.CopyTo(Model.Palette, frame, Model.CharsBitmap);
#if DEBUG_WINDOW
                bitmap.CopyTo(Model.Palette, frame, DEBUG_WINDOW.DEBUG_IMAGE);
#endif
            }));
        }
Example #2
0
 public void OnRemapDisplayBlock(Rectangle frame, IndexedBitmap bitmap)
 {
     Invoke(new Action(() =>
     {
         bitmap.CopyTo(Model.Palette, frame, Model.BlocksBitmap);
     }));
 }