aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-01-29 20:45:32 -0500
committerMichael <[email protected]>2017-01-29 20:45:32 -0500
commit90802ccb5599ef2af0f1529fd7cbfeaef177b58d (patch)
tree69355b3b25144dc55e370f9ce1d5ef09ff94aae5 /ShiftOS_TheReturn
parent11f838ea2340b50a7899cf9fb2569b0826aef001 (diff)
downloadshiftos_thereturn-90802ccb5599ef2af0f1529fd7cbfeaef177b58d.tar.gz
shiftos_thereturn-90802ccb5599ef2af0f1529fd7cbfeaef177b58d.tar.bz2
shiftos_thereturn-90802ccb5599ef2af0f1529fd7cbfeaef177b58d.zip
Fix some crashes and UI bugs
Audio manager crashed after loading a second song Color Picker and ArtPad palette entries were not appearing properly. Fonts in Shifter could not have decimal sizes.
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/AudioManager.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/AudioManager.cs b/ShiftOS_TheReturn/AudioManager.cs
index 7d01a52..4f90d76 100644
--- a/ShiftOS_TheReturn/AudioManager.cs
+++ b/ShiftOS_TheReturn/AudioManager.cs
@@ -45,6 +45,8 @@ namespace ShiftOS.Engine
{
Thread.Sleep(5000); //even when the player isn't playing, this will give a good delay between songs.
}
+ _reader.Dispose();
+ _out.Dispose();
}
});
t.IsBackground = true;
@@ -56,6 +58,8 @@ namespace ShiftOS.Engine
_provider.Volume = volume; //persist between songs
_out.Volume = volume;
}
+
+
}
public interface IAudioProvider