Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: danzel/MonoGame
...
head fork: danzel/MonoGame
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
4 MonoGame.Framework/PSSuite/Audio/Sound.cs
@@ -89,6 +89,7 @@ public Sound(string filename, float volume, bool looping)
this.Looping = looping;
this.Volume = volume;
+ this.Rate = 1.0f;
}
public Sound(byte[] audiodata, float volume, bool looping)
@@ -98,6 +99,7 @@ public Sound(byte[] audiodata, float volume, bool looping)
this.Looping = looping;
this.Volume = volume;
- }
+ this.Rate = 1.0f;
+ }
}
}
View
7 MonoGame.Framework/PSSuite/PSSGamePlatform.cs
@@ -93,7 +93,6 @@ public PSSGamePlatform(Game game)
_game = game;
}
- private bool _initialized;
public static bool IsPlayingVdeo { get; set; }
private int _frameBufferWidth, _frameBufferHeight;
@@ -134,12 +133,6 @@ public override void StartRunLoop()
public override bool BeforeUpdate(GameTime gameTime)
{
- if (!_initialized)
- {
- Game.DoInitialize();
- _initialized = true;
- }
-
// Let the touch panel update states.
TouchPanel.UpdateState();

No commit comments for this range

Something went wrong with that request. Please try again.