mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
ARM64 disassembler improvements (show many kinds of branch targets properly)
This commit is contained in:
1 parent
4c4e95743a
commit
8914cd9914
6 files changed
+76
-11
No files matched your search
@@ -18,6 +18,17 @@
|
||||
#include "Common.h"
|
||||
#include "StringUtils.h"
|
||||
|
||||
void truncate_cpy(char *dest, size_t destSize, const char *src) {
|
||||
size_t len = strlen(src);
|
||||
if (len >= destSize - 1) {
|
||||
memcpy(dest, src, destSize - 1);
|
||||
dest[destSize - 1] = '\0';
|
||||
} else {
|
||||
memcpy(dest, src, len);
|
||||
dest[len] = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
long parseHexLong(std::string s) {
|
||||
long value = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user