Skip to content

Commit

Permalink
refactor: added some more logging in target_cfgfile_load function (#1355
Browse files Browse the repository at this point in the history
)
  • Loading branch information
midwan committed Jun 18, 2024
1 parent 04d2bad commit 5e901c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/osdep/amiberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3184,10 +3184,14 @@ int target_cfgfile_load(struct uae_prefs* p, const char* filename, int type, int
const char* ptr = strstr(const_cast<char*>(filename), ".uae");
if (ptr)
{
write_log(_T("target_cfgfile_load: loading file %s\n"), filename);
result = cfgfile_load(p, filename, &type2, 0, isdefault ? 0 : 1);
}
if (!result)
{
write_log(_T("target_cfgfile_load: loading file %s failed\n"), filename);
return result;
}
if (type > 0)
return result;
if (result)
Expand Down

0 comments on commit 5e901c3

Please sign in to comment.