summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2012-06-06 22:03:33 +0000
committerIan C <ianc@noddybox.co.uk>2012-06-06 22:03:33 +0000
commitd591c69228a0496a16197e62ddccd544f990ba00 (patch)
treed3af0be9274e3f04d86bf6b3f5dc0995ef5ffab5
parent409339566dd218868d43875a1cdbdf3d5bf1c2a8 (diff)
Updated tiles and removed screen skip.
-rw-r--r--WPZX81/WPZX81/Background.pngbin62390 -> 58704 bytes
-rw-r--r--WPZX81/WPZX81/GamePage.xaml.cs2
-rw-r--r--WPZX81/WPZX81/Settings.cs10
3 files changed, 5 insertions, 7 deletions
diff --git a/WPZX81/WPZX81/Background.png b/WPZX81/WPZX81/Background.png
index 98446bf..7e78cf8 100644
--- a/WPZX81/WPZX81/Background.png
+++ b/WPZX81/WPZX81/Background.png
Binary files 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
/// </summary>
public static class Settings
{
-
- /// <summary>
- /// Get the number of ZX81 50 frames per second and done for each update on our display.
- /// </summary>
- public static int FramesPerUpdate {get {return 2;}}
-
/// <summary>
/// Get/set URL to load .P files from.
/// </summary>
@@ -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);