|
|
@@ -99,7 +99,7 @@ namespace Platformer2D
|
|
|
|
|
|
virtualGamePad = new VirtualGamePad(baseScreenSize, globalTransformation, Content.Load<Texture2D>("Sprites/VirtualControlArrow"));
|
|
|
|
|
|
- if (OperatingSystem.IsIOS())
|
|
|
+ if (!OperatingSystem.IsIOS())
|
|
|
{
|
|
|
//Known issue that you get exceptions if you use Media PLayer while connected to your PC
|
|
|
//See http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/c8a243d2-d360-46b1-96bd-62b1ef268c66
|
|
|
@@ -163,7 +163,7 @@ namespace Platformer2D
|
|
|
gamePadState = virtualGamePad.GetState(touchState, GamePad.GetState(PlayerIndex.One));
|
|
|
accelerometerState = Accelerometer.GetState();
|
|
|
|
|
|
- if (OperatingSystem.IsIOS())
|
|
|
+ if (!OperatingSystem.IsIOS())
|
|
|
{
|
|
|
// Exit the game when back is pressed.
|
|
|
if (gamePadState.Buttons.Back == ButtonState.Pressed)
|