Skip to content
Browse files

MonoGame Support

Removing code that is not supported by MonoGame but it supported by WP7
as compile time directives.
  • Loading branch information...
1 parent 8e2a506 commit 976e64fb89051dacd36b684919b93c93ce01c6b6 @totallyevil totallyevil committed
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);
}

0 comments on commit 976e64f

Please sign in to comment.
Something went wrong with that request. Please try again.