Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MonoGame Support

Removing code that is not supported by MonoGame but it supported by WP7
as compile time directives.
  • Loading branch information...
commit 976e64fb89051dacd36b684919b93c93ce01c6b6 1 parent 8e2a506
@totallyevil totallyevil authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/tests/Game1.cs
View
3  tests/tests/Game1.cs
@@ -29,9 +29,10 @@ public Game1()
// Frame rate is 30 fps by default for Windows Phone.
TargetElapsedTime = TimeSpan.FromTicks(333333);
+#if !MONOGAME
// Extend battery life under lock.
InactiveSleepTime = TimeSpan.FromSeconds(1);
-
+#endif
CCApplication application = new AppDelegate(this, graphics);
this.Components.Add(application);
}
Please sign in to comment.
Something went wrong with that request. Please try again.