diff --git a/src/builtin_fs.rs b/src/builtin_fs.rs index 98165c2..16911de 100644 --- a/src/builtin_fs.rs +++ b/src/builtin_fs.rs @@ -240,7 +240,7 @@ fn test_builtin_fs() { FSNode::Directory("memes", vec![ FSNode::File("nothing.txt", &[]), FSNode::Directory("secret stuff", vec![ - FSNode::File("passwords.txt", &b"12345678"), + FSNode::File("passwords.txt", b"12345678"), ]), ]), FSNode::File("test2.txt", &[]), diff --git a/src/framework/backend_null.rs b/src/framework/backend_null.rs index cbbe76d..52d6017 100644 --- a/src/framework/backend_null.rs +++ b/src/framework/backend_null.rs @@ -44,8 +44,9 @@ impl BackendEventLoop for NullEventLoop { game.loops = 0; state_ref.frame_time = 0.0; } - std::thread::sleep(std::time::Duration::from_millis(10)); - game.draw(ctx).unwrap(); + std::thread::sleep(std::time::Duration::from_millis(5)); + + //game.draw(ctx).unwrap(); } }