Virtu/Virtu/Silverlight/Services/SilverlightDebugService.cs
Sean Fausett 0182641281 Merged machine settings into machine components.
Added save state support to all machine components.
Switched from xml serialization to binary serialization.
Refactored audio service for performance.
Bumped machine version to 0.9.0 for next release.
Miscellaneous cosmetic or minor changes.
2010-11-29 09:08:11 +13:00

27 lines
648 B
C#

using System;
using Jellyfish.Library;
namespace Jellyfish.Virtu.Services
{
public sealed class SilverlightDebugService : DebugService
{
public SilverlightDebugService(Machine machine, MainPage page) :
base(machine)
{
if (page == null)
{
throw new ArgumentNullException("page");
}
_page = page;
}
protected override void OnWriteLine(string message)
{
_page.Dispatcher.Post(() => _page.WriteLine(message + Environment.NewLine));
}
private MainPage _page;
}
}