fix GetGUIDFromName not working with guid strings

This commit is contained in:
avitasia
2026-05-11 16:44:20 -07:00
parent 04e75a5c2e
commit 35f8e7585f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
nampower
Timestamp is 69dd2b77 (Mon Apr 13 10:44:23 2026)
Timestamp is 6a025c3e (Mon May 11 15:46:22 2026)
Preferred load address is 10000000
+1 -1
View File
@@ -27,7 +27,7 @@ namespace Nampower {
constexpr uint32_t MAJOR_VERSION = 4;
constexpr uint32_t MINOR_VERSION = 6;
constexpr uint32_t PATCH_VERSION = 0;
constexpr uint32_t PATCH_VERSION = 1;
constexpr int32_t LUA_REGISTRYINDEX = -10000;
constexpr int32_t LUA_GLOBALSINDEX = -10001;
+1 -1
View File
@@ -408,7 +408,7 @@ namespace Nampower {
}
}
if (!hasHexAndUnitSuffix) {
if (!isHexToken && !hasHexAndUnitSuffix) {
uint64_t result = original(nameStr);
if (result != 0) {
return result;