From d591c69228a0496a16197e62ddccd544f990ba00 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 6 Jun 2012 22:03:33 +0000 Subject: Updated tiles and removed screen skip. --- WPZX81/WPZX81/Background.png | Bin 62390 -> 58704 bytes WPZX81/WPZX81/GamePage.xaml.cs | 2 +- WPZX81/WPZX81/Settings.cs | 10 ++++------ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/WPZX81/WPZX81/Background.png b/WPZX81/WPZX81/Background.png index 98446bf..7e78cf8 100644 Binary files a/WPZX81/WPZX81/Background.png and b/WPZX81/WPZX81/Background.png differ diff --git a/WPZX81/WPZX81/GamePage.xaml.cs b/WPZX81/WPZX81/GamePage.xaml.cs index 7857007..f954507 100644 --- a/WPZX81/WPZX81/GamePage.xaml.cs +++ b/WPZX81/WPZX81/GamePage.xaml.cs @@ -75,7 +75,7 @@ namespace WPZX81 // Create a timer for this page timer = new GameTimer(); - timer.UpdateInterval = TimeSpan.FromMilliseconds(20 * Settings.FramesPerUpdate); + timer.UpdateInterval = TimeSpan.FromMilliseconds(20); timer.Update += OnUpdate; timer.Draw += OnDraw; } diff --git a/WPZX81/WPZX81/Settings.cs b/WPZX81/WPZX81/Settings.cs index 4af7c6c..a02104d 100644 --- a/WPZX81/WPZX81/Settings.cs +++ b/WPZX81/WPZX81/Settings.cs @@ -25,12 +25,6 @@ namespace WPZX81 /// public static class Settings { - - /// - /// Get the number of ZX81 50 frames per second and done for each update on our display. - /// - public static int FramesPerUpdate {get {return 2;}} - /// /// Get/set URL to load .P files from. /// @@ -83,7 +77,11 @@ namespace WPZX81 #region Private code +#if DEBUG + private static string pFileUrl = Load("PFileUrl", "http://www.noddybox.co.uk/81"); +#else private static string pFileUrl = Load("PFileUrl", "http://enter-a-url.here/"); +#endif private static bool staticRamAt0x2000 = Load("StaticRamAt0x2000", false); private static bool ramPack = Load("RamPack", true); -- cgit v1.2.3