diff --git a/src/rhd_vga.c b/src/rhd_vga.c index 12294ad..71b093b 100644 --- a/src/rhd_vga.c +++ b/src/rhd_vga.c @@ -105,8 +105,13 @@ RHDVGASave(RHDPtr rhdPtr) VGA->FB = xcalloc(VGA->FBSize, 1); if (VGA->FB) +#if 1 + ErrorF("%s: memcpy(0x%p, 0x%p, 0x%x)\n",__func__,VGA->FB, + ((CARD8 *) rhdPtr->FbBase) + VGA->FBOffset, VGA->FBSize); +#else memcpy(VGA->FB, ((CARD8 *) rhdPtr->FbBase) + VGA->FBOffset, VGA->FBSize); +#endif else { xf86DrvMsg(rhdPtr->scrnIndex, X_WARNING, "%s: Failed to allocate" " space for storing the VGA framebuffer.\n", __func__);