[ros-diffs] [arty] 26572: Fix selection of CurrentControlSet.
arty at svn.reactos.org
arty at svn.reactos.org
Sun Apr 29 05:35:22 CEST 2007
Author: arty
Date: Sun Apr 29 07:35:21 2007
New Revision: 26572
URL: http://svn.reactos.org/svn/reactos?rev=26572&view=rev
Log:
Fix selection of CurrentControlSet.
Modified:
branches/powerpc/reactos/boot/freeldr/freeldr/reactos/registry.c
Modified: branches/powerpc/reactos/boot/freeldr/freeldr/reactos/registry.c
URL: http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/boot/freeldr/freeldr/reactos/registry.c?rev=26572&r1=26571&r2=26572&view=diff
==============================================================================
--- branches/powerpc/reactos/boot/freeldr/freeldr/reactos/registry.c (original)
+++ branches/powerpc/reactos/boot/freeldr/freeldr/reactos/registry.c Sun Apr 29 07:35:21 2007
@@ -141,6 +141,10 @@
CurrentSet = (LastKnownGood == TRUE) ? LastKnownGoodSet : DefaultSet;
wcscpy(ControlSetKeyName, L"ControlSet");
+ // Swap this binary value for now. We'll decide on a policy for these later
+#ifdef _M_PPC
+ CurrentSet = SWAPD(CurrentSet);
+#endif
switch(CurrentSet)
{
case 1:
More information about the Ros-diffs
mailing list