mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
More buildfix
This commit is contained in:
1 parent
0fc3e2b777
commit
34d35dcf8b
4 files changed
+4
-3
No files matched your search
@@ -372,6 +372,8 @@ int u8_is_locale_utf8(const char *locale)
|
||||
return 0;
|
||||
}
|
||||
|
||||
UTF8::UTF8(const char *c) : c_(c), size_((int)strlen(c)), index_(0) {}
|
||||
|
||||
bool AnyEmojiInString(std::string_view str, size_t byteCount) {
|
||||
int i = 0;
|
||||
while (i < byteCount) {
|
||||
|
||||
@@ -39,7 +39,7 @@ class UTF8 {
|
||||
public:
|
||||
static const uint32_t INVALID = (uint32_t)-1;
|
||||
// TODO: Try to get rid of this constructor.
|
||||
explicit UTF8(const char *c) : c_(c), size_((int)strlen(c)), index_(0) {}
|
||||
explicit UTF8(const char *c);
|
||||
explicit UTF8(std::string_view view) : c_(view.data()), size_((int)view.size()), index_(0) {}
|
||||
explicit UTF8(std::string_view view, int index) : c_(view.data()), size_((int)view.size()), index_(index) {}
|
||||
bool end() const { return index_ == size_; }
|
||||
|
||||
+1
-1
Submodule ext/rcheevos updated: 64fcb9ea3c...68c70da18f.
@@ -24,7 +24,6 @@ set(ALL_SOURCE_FILES
|
||||
${SRC_DIR}/rc_compat.h
|
||||
${SRC_DIR}/rc_compat.h
|
||||
${SRC_DIR}/rc_compat.c
|
||||
${SRC_DIR}/rc_util.h
|
||||
${SRC_DIR}/rc_util.c
|
||||
${SRC_DIR}/rc_client.c
|
||||
${SRC_DIR}/rc_client_internal.h
|
||||
|
||||
Reference in new issue
Block a user