summaryrefslogtreecommitdiff
path: root/atari/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'atari/misc.c')
-rwxr-xr-xatari/misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/atari/misc.c b/atari/misc.c
index 21b636e2a..d339379db 100755
--- a/atari/misc.c
+++ b/atari/misc.c
@@ -512,8 +512,10 @@ void dbg_pxy(const char * str, short * pxy )
void dbg_rect(const char * str, int * pxy)
{
- printf("%s: x: %d, y: %d, w: %d, h: %d\n", str,
- pxy[0], pxy[1], pxy[2], pxy[3] );
+ printf("%s: x0: %d, y0: %d, x1: %d, y1: %d (w: %d, h: %d)\n", str,
+ pxy[0], pxy[1], pxy[2], pxy[3],
+ pxy[2] - pxy[0],
+ pxy[3] - pxy[1] );
}
/* some LDG functions here to reduce dependencies */