Skip to content

Commit bc08054

Browse files
committed
It should have been a not iOS.
1 parent 14e5527 commit bc08054

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

AutoPong/AutoPong.Core/AutoPongGame.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected override void LoadContent()
4848

4949
protected override void Update(GameTime gameTime)
5050
{
51-
if (OperatingSystem.IsIOS())
51+
if (!OperatingSystem.IsIOS())
5252
{
5353
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
5454
Exit();

NeonShooter/NeonShooter.Core/Game/GameRoot.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected override void Initialize()
5555

5656
EntityManager.Add(PlayerShip.Instance);
5757

58-
if (OperatingSystem.IsIOS())
58+
if (!OperatingSystem.IsIOS())
5959
{
6060
MediaPlayer.IsRepeating = true;
6161
MediaPlayer.Play(Sound.Music);
@@ -74,7 +74,7 @@ protected override void Update(GameTime gameTime)
7474
GameTime = gameTime;
7575
Input.Update();
7676

77-
if (OperatingSystem.IsIOS())
77+
if (!OperatingSystem.IsIOS())
7878
{
7979
// Allows the game to exit
8080
if (Input.WasButtonPressed(Buttons.Back) || Input.WasKeyPressed(Keys.Escape))

NeonShooter/NeonShooter.Core/NeonShooterGame.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected override void LoadContent()
7070

7171
EntityManager.Add(PlayerShip.Instance);
7272

73-
if (OperatingSystem.IsIOS())
73+
if (!OperatingSystem.IsIOS())
7474
{
7575
//Known issue that you get exceptions if you use Media PLayer while connected to your PC
7676
//See http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/c8a243d2-d360-46b1-96bd-62b1ef268c66
@@ -95,7 +95,7 @@ protected override void Update(GameTime gameTime)
9595
GameTime = gameTime;
9696
Input.Update();
9797

98-
if (OperatingSystem.IsIOS())
98+
if (!OperatingSystem.IsIOS())
9999
{
100100
// Allows the game to exit
101101
if (Input.WasButtonPressed(Buttons.Back) || Input.WasKeyPressed(Keys.Escape))

Platformer2D/Platformer2D.Core/PlatformerGame.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected override void LoadContent()
9999

100100
virtualGamePad = new VirtualGamePad(baseScreenSize, globalTransformation, Content.Load<Texture2D>("Sprites/VirtualControlArrow"));
101101

102-
if (OperatingSystem.IsIOS())
102+
if (!OperatingSystem.IsIOS())
103103
{
104104
//Known issue that you get exceptions if you use Media PLayer while connected to your PC
105105
//See http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/c8a243d2-d360-46b1-96bd-62b1ef268c66
@@ -163,7 +163,7 @@ private void HandleInput(GameTime gameTime)
163163
gamePadState = virtualGamePad.GetState(touchState, GamePad.GetState(PlayerIndex.One));
164164
accelerometerState = Accelerometer.GetState();
165165

166-
if (OperatingSystem.IsIOS())
166+
if (!OperatingSystem.IsIOS())
167167
{
168168
// Exit the game when back is pressed.
169169
if (gamePadState.Buttons.Back == ButtonState.Pressed)

0 commit comments

Comments
 (0)