Fixes and missing changes

This commit is contained in:
Wojtek Figat
2026-02-24 17:59:42 +01:00
parent 7ea3fb1500
commit 195d5b1aa2
10 changed files with 37 additions and 26 deletions

View File

@@ -8,7 +8,7 @@
#include "Engine/Core/Log.h"
#include "Engine/Profiler/ProfilerCPU.h"
bool FileBase::ReadAllBytes(const StringView& path, byte* data, int32 length)
bool FileBase::ReadAllBytes(const StringView& path, void* data, int32 length)
{
PROFILE_CPU_NAMED("File::ReadAllBytes");
ZoneText(*path, path.Length());
@@ -232,7 +232,7 @@ bool FileBase::ReadAllText(const StringView& path, StringAnsi& data)
return false;
}
bool FileBase::WriteAllBytes(const StringView& path, const byte* data, int32 length)
bool FileBase::WriteAllBytes(const StringView& path, const void* data, int32 length)
{
PROFILE_CPU_NAMED("File::WriteAllBytes");
ZoneText(*path, path.Length());