diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-06-05 17:42:30 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-06-05 17:59:50 -0400 |
| commit | 6143812268396746285198192329201043572405 (patch) | |
| tree | 8293f71af2a6cba992c1c0f8bb40a80a00daa8a0 /plugins/stack_render_layer/plugin.cpp | |
| parent | f39516ba23e4a415630c6f31e057d9e5b8150fa2 (diff) | |
Stack Offset render layer: Use AnnotationToken to fix Edit Instruction
Fixes #6900
Diffstat (limited to 'plugins/stack_render_layer/plugin.cpp')
| -rw-r--r-- | plugins/stack_render_layer/plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/stack_render_layer/plugin.cpp b/plugins/stack_render_layer/plugin.cpp index 825c0603..24420ceb 100644 --- a/plugins/stack_render_layer/plugin.cpp +++ b/plugins/stack_render_layer/plugin.cpp @@ -57,7 +57,7 @@ public: // (but negative because that is how other tools do it) line.tokens.emplace( line.tokens.begin() + sep + 1, - IntegerToken, + AnnotationToken, fmt::format("{:4x}", -stackOffset.value), -stackOffset.value ); @@ -67,7 +67,7 @@ public: // Stack pointer is not resolved, show ?? line.tokens.emplace( line.tokens.begin() + sep + 1, - IntegerToken, + AnnotationToken, " ??", 0 ); @@ -77,7 +77,7 @@ public: { line.tokens.emplace( line.tokens.begin() + sep + 2, - TextToken, + AnnotationToken, "* " ); } @@ -85,7 +85,7 @@ public: { line.tokens.emplace( line.tokens.begin() + sep + 2, - TextToken, + AnnotationToken, " " ); } |
