From e58128405c1a1b14b132e5ad5e48c4750a16138f Mon Sep 17 00:00:00 2001 From: superp00t Date: Wed, 23 Aug 2023 18:57:36 -0400 Subject: [PATCH] feat(os): OsCreateDirectory --- bc/os/File.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bc/os/File.cpp b/bc/os/File.cpp index 296ba46..0a53997 100644 --- a/bc/os/File.cpp +++ b/bc/os/File.cpp @@ -160,5 +160,7 @@ int32_t OsGetCurrentDirectory(size_t pathLen, char* pathName) { } int32_t OsCreateDirectory(const char* pathName, int32_t recursive) { + BLIZZARD_ASSERT(pathName); + return Blizzard::File::CreateDirectory(pathName, recursive == 1); }