Commit de3cb3af authored by Johannes Brandstätter's avatar Johannes Brandstätter Committed by Alexandre Julliard

wined3d: Fix trace output of emulated_textureram.

parent ac2b2e5e
......@@ -1521,7 +1521,8 @@ static void init_driver_info(struct wined3d_driver_info *driver_info,
if (wined3d_settings.emulated_textureram)
{
TRACE("Overriding amount of video memory with %u bytes.\n", wined3d_settings.emulated_textureram);
TRACE("Overriding amount of video memory with 0x%s bytes.\n",
wine_dbgstr_longlong(wined3d_settings.emulated_textureram));
driver_info->vram_bytes = wined3d_settings.emulated_textureram;
}
......
......@@ -256,10 +256,10 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
int TmpVideoMemorySize = atoi(buffer);
if(TmpVideoMemorySize > 0)
{
wined3d_settings.emulated_textureram = TmpVideoMemorySize *1024*1024;
TRACE("Use %iMB = %d byte for emulated_textureram\n",
wined3d_settings.emulated_textureram = (UINT64)TmpVideoMemorySize *1024*1024;
TRACE("Use %iMiB = 0x%s bytes for emulated_textureram\n",
TmpVideoMemorySize,
wined3d_settings.emulated_textureram);
wine_dbgstr_longlong(wined3d_settings.emulated_textureram));
}
else
ERR("VideoMemorySize is %i but must be >0\n", TmpVideoMemorySize);
......
......@@ -257,7 +257,7 @@ struct wined3d_settings
unsigned short pci_vendor_id;
unsigned short pci_device_id;
/* Memory tracking and object counting. */
unsigned int emulated_textureram;
UINT64 emulated_textureram;
char *logo;
int allow_multisampling;
BOOL strict_draw_ordering;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment