Skip to content

Commit

Permalink
Trying to fix error with CI build not running
Browse files Browse the repository at this point in the history
  • Loading branch information
EPICGameGuy committed Dec 17, 2023
1 parent 370c94a commit ed20898
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dependencies/egg-library/src/filesystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ void set_filesystem_type(Type new_type)
bool load_file(const Path& path, std::vector<std::byte>& out_bytes)
{
std::ifstream file(path.to_full_filepath(), std::ios::binary);
printf("Filesystem::load_file: %s\n", path.to_full_filepath());
if (file.is_open() && file.good())
{
// Read the file size
Expand All @@ -46,6 +47,7 @@ bool load_file(const Path& path, std::vector<std::byte>& out_bytes)
bool load_file(const Path& path, std::unique_ptr<std::byte[]>& out_bytes, size_t& size, size_t alignment)
{
std::ifstream file(path.to_full_filepath(), std::ios::binary);
printf("Filesystem::load_file: %s\n", path.to_full_filepath());
if (file.is_open() && file.good())
{
// Read the file size
Expand Down

0 comments on commit ed20898

Please sign in to comment.