Merge branch 'master' of https://github.com/xenia-project/xenia into canary_experimental

This commit is contained in:
Gliniak
2022-07-17 21:27:52 +02:00
169 changed files with 39917 additions and 37685 deletions

View File

@@ -48,7 +48,7 @@ std::unique_ptr<MappedMemory> DiscImageEntry::OpenMapped(
size_t real_offset = data_offset_ + offset;
size_t real_length = length ? std::min(length, data_size_) : data_size_;
return mmap_->Slice(mode, real_offset, real_length);
return mmap_->Slice(real_offset, real_length);
}
} // namespace vfs

View File

@@ -12,6 +12,7 @@
#include "xenia/base/filesystem.h"
#include "xenia/base/logging.h"
#include "xenia/base/math.h"
#include "xenia/base/string.h"
#include "xenia/kernel/xfile.h"
#include "xenia/vfs/devices/null_entry.h"
@@ -50,7 +51,7 @@ Entry* NullDevice::ResolvePath(const std::string_view path) {
}
for (auto& child : root->children()) {
if (!strcasecmp(child->path().c_str(), path.data())) {
if (!xe_strcasecmp(child->path().c_str(), path.data())) {
return child.get();
}
}