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/fr…
==============================================================================
--- 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: