diff options
| author | coco875 <pereira.jannin@gmail.com> | 2025-07-09 03:15:09 +0200 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-07-08 20:32:34 -0600 |
| commit | e93d95457ebb337dfeced69ffd1f28dc0b9fbf02 (patch) | |
| tree | b05a1023f479cbaa2f2bd558b13cce2f271df2e6 | |
| parent | ae23a730b2213037d784b54fe82d40885e2281b7 (diff) | |
fix a bug that doesn't make problem until now
| -rw-r--r-- | src/factories/DisplayListFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/DisplayListFactory.cpp b/src/factories/DisplayListFactory.cpp index 5c3e165..11bc7f8 100644 --- a/src/factories/DisplayListFactory.cpp +++ b/src/factories/DisplayListFactory.cpp @@ -230,7 +230,7 @@ std::optional<std::tuple<std::string, YAML::Node>> SearchVtx(uint32_t ptr){ auto count = GetSafeNode<uint32_t>(node, "count"); auto end = ALIGN16((count * sizeof(N64Vtx_t))); - if(ptr > offset && ptr <= offset + end){ + if(ptr > offset && ptr < offset + end){ return std::make_tuple(GetSafeNode<std::string>(node, "symbol", name), node); } } |
