ncannasse 8 anos atrás
pai
commit
16035167b7
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4 4
      hxd/System.hl.hx

+ 4 - 4
hxd/System.hl.hx

@@ -213,9 +213,9 @@ class System {
 
 
 	static function get_allowTimeout() @:privateAccess {
 	static function get_allowTimeout() @:privateAccess {
 		#if hldx
 		#if hldx
-		return dx.Loop.sentinel.pause;
+		return !dx.Loop.sentinel.pause;
 		#elseif hlsdl
 		#elseif hlsdl
-		return sdl.Sdl.sentinel.pause;
+		return !sdl.Sdl.sentinel.pause;
 		#else
 		#else
 		return false;
 		return false;
 		#end
 		#end
@@ -223,9 +223,9 @@ class System {
 
 
 	static function set_allowTimeout(b) @:privateAccess {
 	static function set_allowTimeout(b) @:privateAccess {
 		#if hldx
 		#if hldx
-		return dx.Loop.sentinel.pause = b;
+		return dx.Loop.sentinel.pause = !b;
 		#elseif hlsdl
 		#elseif hlsdl
-		return sdl.Sdl.sentinel.pause = b;
+		return sdl.Sdl.sentinel.pause = !b;
 		#else
 		#else
 		return false;
 		return false;
 		#end
 		#end