Esempio n. 1
0
 // When the editor window is closed, exit the TileEditorMode
 private void EditorWindowClosed(object sender, FormClosedEventArgs e)
 {
     gpu.TileEditorMode = false;
     // Restore the previous graphics mode
     kernel.MemMgr.VICKY.WriteByte(0, previousGraphicMode);
     tileEditor.Dispose();
     tileEditor = null;
 }
Esempio n. 2
0
 // When the editor window is closed, exit the TileEditorMode
 private void EditorWindowClosed(object sender, FormClosedEventArgs e)
 {
     system.GPU.TileEditorMode = false;
     // Restore the previous graphics mode
     //system.VICKY.WriteByte(0, previousGraphicMode);
     FoenixSystem.Current.MemoryManager.WriteByte(MemoryMap.VICKY_BASE_ADDR, previousGraphicMode);
     tileEditor.Dispose();
     tileEditor = null;
 }