https://bugs.winehq.org/show_bug.cgi?id=39978
Bug ID: 39978 Summary: emulated_textureram has no sense. It is always real VideoMemory Product: Wine Version: 1.9.1 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru
Created attachment 53416 --> https://bugs.winehq.org/attachment.cgi?id=53416 change key name to be different form native
Current wine has a reading from registry ~~~ if ( !get_config_key( hkey, appkey, "VideoMemorySize", buffer, size) ) { int TmpVideoMemorySize = atoi(buffer); if(TmpVideoMemorySize > 0) { wined3d_settings.emulated_textureram = (UINT64)TmpVideoMemorySize *1024*1024; TRACE("Use %iMiB = 0x%s bytes for emulated_textureram\n",
~~~ assuming user can change this value. It doesn't happen. The value will change to real value before this reading will occur. There must be other registry key, for example "EmuVideoMemorySize". In this case this method is working. The patch attached.