Skip to content

Commit

Permalink
Add info about PHYSFS_init() fail
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed Feb 7, 2025
1 parent ef94b2e commit b1e00a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bool Init(pntr_app* app) {

// Initialize PhysFS
if (PHYSFS_init((const char*)ChaiLove::environ_cb) == 0) {
pntr_app_log(PNTR_APP_LOG_ERROR, "PHYSFS_init() failed");
pntr_app_log_ex(PNTR_APP_LOG_ERROR, "PHYSFS_init() failed: %s", PHYSFS_getLastError());
return false;
}

Expand Down

0 comments on commit b1e00a3

Please sign in to comment.