Skip to content

Commit

Permalink
Add msg when loaded and unloaded correctly the SKAP file
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Jun 12, 2024
1 parent 580b8ea commit 6e9588d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sk_assetpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ u8 sk_assetpack_open(sk_assetpack *ap) {
}
ap->blob_section_start_pos = ftell(fd);
ap->fd = fd;
SK_LOG_INFO("sk_assetpack_open :: `assets.skap` loaded successfully");
return 1;
}

Expand All @@ -83,6 +84,7 @@ void sk_assetpack_close(sk_assetpack *ap) {
fclose(ap->fd);
*ap = (sk_assetpack) {0};
ap = 0;
SK_LOG_INFO("sk_assetpack_close :: `assets.skap` unloaded successfully");
}

u8 sk_assetpack_lookup(sk_assetpack *ap, sk_assetpack_blob_kind kind, const char *name, void *out_obj) {
Expand Down

0 comments on commit 6e9588d

Please sign in to comment.