MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / uae_lua_loadall

Function uae_lua_loadall

src/luascript.cpp:166–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void uae_lua_loadall(void)
167{
168 TCHAR tmp[MAX_DPATH];
169 fetch_luapath (tmp, sizeof tmp / sizeof (TCHAR));
170 _tcscat (tmp, _T("default.lua"));
171 if (zfile_exists (tmp))
172 uae_lua_load(tmp);
173 for (int i = 0; i < MAX_LUA_STATES; i++) {
174 if (currprefs.luafiles[i][0]) {
175 uae_lua_load(currprefs.luafiles[i]);
176 }
177 }
178}
179
180void uae_lua_init_state(lua_State *L)
181{

Callers 1

do_start_programFunction · 0.85

Calls 2

zfile_existsFunction · 0.85
uae_lua_loadFunction · 0.85

Tested by

no test coverage detected