[Base] Wrap strdup and strcasecmp in xe:: functions
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user