diff --git a/source/funkin/backend/system/Main.hx b/source/funkin/backend/system/Main.hx index 7ff01ee7..f7ce58b3 100644 --- a/source/funkin/backend/system/Main.hx +++ b/source/funkin/backend/system/Main.hx @@ -35,7 +35,7 @@ class Main extends Sprite public static var instance:Main; public static var modToLoad:String = null; - public static var forceGPUOnlyBitmapsOff:Bool = #if windows false #else true #end; + public static var forceGPUOnlyBitmapsOff:Bool = #if desktop false #else true #end; public static var noTerminalColor:Bool = false; public static var scaleMode:FunkinRatioScaleMode; diff --git a/source/funkin/backend/utils/CoolUtil.hx b/source/funkin/backend/utils/CoolUtil.hx index ecfd6156..bbfd02fa 100644 --- a/source/funkin/backend/utils/CoolUtil.hx +++ b/source/funkin/backend/utils/CoolUtil.hx @@ -313,7 +313,7 @@ class CoolUtil * @param Looped Whenever the music loops (true) * @param Group A group that this music belongs to (default) */ - @:noUsing public static function playMusic(path:String, Persist:Bool = false, Volume:Int = 1, Looped:Bool = true, DefaultBPM:Int = 102, ?Group:FlxSoundGroup) { + @:noUsing public static function playMusic(path:String, Persist:Bool = false, Volume:Float = 1, Looped:Bool = true, DefaultBPM:Int = 102, ?Group:FlxSoundGroup) { Conductor.reset(); FlxG.sound.playMusic(path, Volume, Looped, Group); if (FlxG.sound.music != null) {