summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-07-08 20:59:02 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-07-08 20:59:02 (GMT)
commit71db5a3a8a7a337ba63a47b6472baf99581d8400 (patch)
treed72b34ef6d8e7147d7164b2f4629870f02b82fce
parent6aa139281feca7cbe806efffe4ee787891d87d00 (diff)
Used the right CSS segment to render virtual addresses.
-rw-r--r--src/glibext/gbufferline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c
index 3dcbbd4..68070f5 100644
--- a/src/glibext/gbufferline.c
+++ b/src/glibext/gbufferline.c
@@ -361,14 +361,14 @@ void g_buffer_line_fill_virt(GBufferLine *line, MemoryDataSize size, const vmpa2
i = len - 1;
if (i > 0)
- g_buffer_line_append_text(line, BLC_VIRTUAL, position, i, RTT_PHYS_ADDR_PAD, NULL);
+ g_buffer_line_append_text(line, BLC_VIRTUAL, position, i, RTT_VIRT_ADDR_PAD, NULL);
- g_buffer_line_append_text(line, BLC_VIRTUAL, &position[i], len - i, RTT_PHYS_ADDR, NULL);
+ g_buffer_line_append_text(line, BLC_VIRTUAL, &position[i], len - i, RTT_VIRT_ADDR, NULL);
}
else
- g_buffer_line_append_text(line, BLC_VIRTUAL, position, len, RTT_PHYS_ADDR_PAD, NULL);
+ g_buffer_line_append_text(line, BLC_VIRTUAL, position, len, RTT_VIRT_ADDR_PAD, NULL);
}