mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
[gamecode] Correct 64-bit debug views
I had forgotten that value needs to be incremented by 2 for 64-bit values because it's only 32-bit.
This commit is contained in:
parent
24c085c1bd
commit
30f2abb0ad
1 changed files with 3 additions and 3 deletions
|
@ -1415,7 +1415,7 @@ pr_debug_double_view (qfot_type_t *type, pr_type_t *value, void *_data)
|
|||
if (type->basic.width > 1) {
|
||||
dstring_appendstr (dstr, "[");
|
||||
}
|
||||
for (int i = 0; i < type->basic.width; i++, value++) {
|
||||
for (int i = 0; i < type->basic.width; i++, value += 2) {
|
||||
if (i) {
|
||||
dstring_appendstr (dstr, ", ");
|
||||
}
|
||||
|
@ -1435,7 +1435,7 @@ pr_debug_long_view (qfot_type_t *type, pr_type_t *value, void *_data)
|
|||
if (type->basic.width > 1) {
|
||||
dstring_appendstr (dstr, "[");
|
||||
}
|
||||
for (int i = 0; i < type->basic.width; i++, value++) {
|
||||
for (int i = 0; i < type->basic.width; i++, value += 2) {
|
||||
if (i) {
|
||||
dstring_appendstr (dstr, ", ");
|
||||
}
|
||||
|
@ -1455,7 +1455,7 @@ pr_debug_ulong_view (qfot_type_t *type, pr_type_t *value, void *_data)
|
|||
if (type->basic.width > 1) {
|
||||
dstring_appendstr (dstr, "[");
|
||||
}
|
||||
for (int i = 0; i < type->basic.width; i++, value++) {
|
||||
for (int i = 0; i < type->basic.width; i++, value += 2) {
|
||||
if (i) {
|
||||
dstring_appendstr (dstr, ", ");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue