diff options
author | chai <chaifix@163.com> | 2018-09-09 18:03:05 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-09 18:03:05 +0800 |
commit | e3ddc74a36e4336d28e9e09586b5194c2e6e6dc6 (patch) | |
tree | 979992cd174fe5b488b58ffc831c6d7a67491fd4 /src/lua/modules/_embed/boot.lua.h | |
parent | 090bd8229421073305e5e202ac3347e95bbea36d (diff) |
*update
Diffstat (limited to 'src/lua/modules/_embed/boot.lua.h')
-rw-r--r-- | src/lua/modules/_embed/boot.lua.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/modules/_embed/boot.lua.h b/src/lua/modules/_embed/boot.lua.h index 8ff89ee..f7ffc43 100644 --- a/src/lua/modules/_embed/boot.lua.h +++ b/src/lua/modules/_embed/boot.lua.h @@ -1,8 +1,8 @@ /* boot.lua */ static const char* boot_lua = R"( -jin._argv[2] = jin._argv[2] or '.' +jin.args[2] = jin.args[2] or '.' jin.filesystem.init() -jin.filesystem.mount(jin._argv[2]) +jin.filesystem.mount(jin.args[2]) ------------------------------------------------------------------------- -- Config game @@ -15,7 +15,7 @@ end jin.config.width = jin.config.width or 576 jin.config.height = jin.config.height or 448 jin.config.vsync = jin.config.vsync or true -jin.config.title = jin.config.title or ("jin v" .. jin.version()) +jin.config.title = jin.config.title or ("jin v" .. jin.version) jin.config.resizable = jin.config.resizable or false jin.config.fullscreen = jin.config.fullscreen or false jin.config.fps = jin.config.fps or 60 |