Index: /trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
===================================================================
--- /trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp	(revision 51632)
+++ /trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp	(revision 51633)
@@ -1883,10 +1883,10 @@
                     rc = SSMR3GetU32(pSSM, &u32);
                     AssertRCReturn(rc, rc);
-                }
-
-                if (u32)
-                {
-                    LogRel(("2D pending command while 2D is not supported\n"));
-                    return VERR_NOT_SUPPORTED;
+
+                    if (u32)
+                    {
+                        LogRel(("2D pending command while 2D is not supported\n"));
+                        return VERR_NOT_SUPPORTED;
+                    }
                 }
 #endif
