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 })); }
public void OnRemapDisplayBlock(Rectangle frame, IndexedBitmap bitmap) { Invoke(new Action(() => { bitmap.CopyTo(Model.Palette, frame, Model.BlocksBitmap); })); }