02-26-2026, 09:27 PM
[CODE=csharp]using System;
using System.Globalization;
using System.IO;
using PixelVision8.Player;
namespace PixelVision8.Runner
{
public static class Program
{
[STAThread]
public static void Main(string[] args)
{
// Fix a bug related to parsing numbers in Europe, among other things
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;
var root = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Content");
// TODO there is a bug where this will not go to the boot error
using (var game = new CSharpRunner(root, typeof(CustomGameChip).ToString()))
{
game.Run();
}
}
}
}[/CODE]
using System.Globalization;
using System.IO;
using PixelVision8.Player;
namespace PixelVision8.Runner
{
public static class Program
{
[STAThread]
public static void Main(string[] args)
{
// Fix a bug related to parsing numbers in Europe, among other things
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;
var root = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Content");
// TODO there is a bug where this will not go to the boot error
using (var game = new CSharpRunner(root, typeof(CustomGameChip).ToString()))
{
game.Run();
}
}
}
}[/CODE]

