Author: cwittich
Date: Sun Apr 9 18:15:21 2006
New Revision: 21530
URL: http://svn.reactos.ru/svn/reactos?rev=21530&view=rev
Log:
fix setup in VGA mode
Modified:
trunk/reactos/boot/bootdata/hivesys.inf
Modified: trunk/reactos/boot/bootdata/hivesys.inf
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/boot/bootdata/hivesys.inf?r…
==============================================================================
--- trunk/reactos/boot/bootdata/hivesys.inf (original)
+++ trunk/reactos/boot/bootdata/hivesys.inf Sun Apr 9 18:15:21 2006
@@ -771,6 +771,11 @@
HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Type",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\Vga\Device0","InstalledDisplayDrivers",0x00010000,"vgaddi"
+HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\Vga\Device0","DefaultSettings.VRefresh",0x00010001,1
+HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\Vga\Device0","DefaultSettings.BitsPerPel",0x00010001,8
+HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\Vga\Device0","DefaultSettings.XResolution",0x00010001,640
+HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\Vga\Device0","DefaultSettings.YResolution",0x00010001,480
+
; Windows Installer Service
HKLM,"SYSTEM\CurrentControlSet\Services\MSIserver","Description",0x00000000,"Adds, modifies, and removes applications provided as a Windows Installer (*.msi) package. If this service is disabled, any services that explicitly depend on it will fail to start."
HKLM,"SYSTEM\CurrentControlSet\Services\MSIserver","Group",0x00000000,"Windows Installer"
Author: greatlrd
Date: Sun Apr 9 18:12:42 2006
New Revision: 21529
URL: http://svn.reactos.ru/svn/reactos?rev=21529&view=rev
Log:
Fixing a crash bug But ddraw can leak memmory now. But it is werid that u can not total release the whole dx COM for some program will crash then
Modified:
trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
Modified: trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/directx/ddraw/main/ddra…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/ddraw_main.c Sun Apr 9 18:12:42 2006
@@ -152,13 +152,19 @@
{
ChangeDisplaySettings(NULL, 0);
}
+
Hal_DirectDraw_Release(iface);
//Hel_DirectDraw_Release(iface);
+
RtlZeroMemory(&This->mDDrawGlobal, sizeof(DDRAWI_DIRECTDRAW_GBL));
- RtlZeroMemory(This, sizeof(IDirectDrawImpl));
-
- HeapFree(GetProcessHeap(), 0, This);
+ //RtlZeroMemory(This, sizeof(IDirectDrawImpl));
+
+ if (This!=NULL)
+ {
+
+ // HeapFree(GetProcessHeap(), 0, This);
+ }
}
}
return ref;