add logging to titlescreen and filereader

This commit is contained in:
Hersi 2022-04-24 01:29:17 +02:00
parent a3ae25cfad
commit 0b809dc798
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
require("common.globals")
--file reader utility functions
---Get game path
@ -86,6 +87,7 @@ function IsFileExists(file)
local ok, err, code = os.rename(file, file)
if not ok then
game.Log("err: "..err..", code: "..code, game.LOGGER_DEBUG)
if code == 13 then
-- Permission denied, but it exists
return true

View File

@ -1,3 +1,4 @@
require("common.globals")
local Common = require("common.util")
local bootScreen = require('titlescreen.boot')