|
@@ -34,7 +34,6 @@ using System.Collections.Generic;
|
|
|
using Microsoft.Xna.Framework;
|
|
|
using Microsoft.Xna.Framework.Audio;
|
|
|
using Microsoft.Xna.Framework.Content;
|
|
|
-using Microsoft.Xna.Framework.GamerServices;
|
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
|
using Microsoft.Xna.Framework.Input;
|
|
|
using Microsoft.Xna.Framework.Media;
|
|
@@ -124,9 +123,10 @@ namespace Spine {
|
|
|
|
|
|
protected override void Update (GameTime gameTime) {
|
|
|
// Allows the game to exit
|
|
|
+#if !WINDOWS_STOREAPP
|
|
|
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)
|
|
|
this.Exit();
|
|
|
-
|
|
|
+#endif
|
|
|
// TODO: Add your update logic here
|
|
|
|
|
|
base.Update(gameTime);
|