- Add Support for Downloading Data/Files, do Api Requests
- Refactor Tasks System
  - Now uses std::thread
- The Net  Functions Will Break IDBN server for now
This commit is contained in:
2024-05-22 22:16:40 +02:00
parent a0923acec7
commit 6d7781b209
9 changed files with 415 additions and 39 deletions

View File

@@ -451,7 +451,8 @@ int RenderD7::GetRandomInt(int b, int e) {
}
bool RenderD7::FS::FileExist(const std::string &path) {
return std::filesystem::exists(path);
return std::filesystem::exists(path) &&
std::filesystem::is_regular_file(path);
}
int RenderD7::GetFps() { return (int)rd7i_framerate; }