https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d0c237a6ab7bb700c54a9…
commit d0c237a6ab7bb700c54a93c56c7fffda5a97d8e4
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Mon Feb 1 21:12:59 2021 +0100
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Mon Feb 1 21:13:59 2021 +0100
[SYSDM] Fix sunrise regression CORE-17451
This fixes a regression with the AlphaBlending on single left-click
on the ros logo in general tab.
That regression was introduced by
0.4.15-dev-178-g d635ce0cc0336a9b77d243ddce946876f48ec4f6
So it can be seen as an addendum to (#2707).
We luckily did not have any affected releases yet.
---
dll/cpl/sysdm/general.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dll/cpl/sysdm/general.c b/dll/cpl/sysdm/general.c
index 938cb820e8c..e8f38e5a6b3 100644
--- a/dll/cpl/sysdm/general.c
+++ b/dll/cpl/sysdm/general.c
@@ -234,11 +234,10 @@ Cleanup:
if (hCreditsBitmap != NULL)
DeleteObject(hCreditsBitmap);
+ InvalidateRect(hwnd, NULL, FALSE);
top = 0;
timerid = 0;
}
-
- InvalidateRect(hwnd, NULL, FALSE);
break;
case WM_TIMER:
top += ANIM_STEP;
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bfedf9760cb464aaa1a55…
commit bfedf9760cb464aaa1a55b19bc6899c02edba96d
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Sat Jan 30 18:51:07 2021 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Mon Feb 1 19:57:12 2021 +0100
[FREELDR] Disable SSE instructions for GCC x64
Even if all x64 CPUs can handle SSE instructions, prevent GCC x64 to
generate them, as FreeLoader is not ready to handle them.
---
boot/freeldr/freeldr/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/boot/freeldr/freeldr/CMakeLists.txt b/boot/freeldr/freeldr/CMakeLists.txt
index 95dc2e31224..f4610d4c12f 100644
--- a/boot/freeldr/freeldr/CMakeLists.txt
+++ b/boot/freeldr/freeldr/CMakeLists.txt
@@ -225,6 +225,10 @@ if(NOT MSVC AND ARCH STREQUAL "i386" AND SARCH STREQUAL "xbox")
# Prevent a warning when doing a memcmp with address 0
set_source_files_properties(arch/i386/xbox/xboxmem.c PROPERTIES COMPILE_FLAGS "-Wno-nonnull")
endif()
+if(ARCH STREQUAL "amd64" AND NOT MSVC)
+ # Prevent using SSE (not support in freeldr)
+ target_compile_options(freeldr_common PUBLIC -mno-sse)
+endif()
set(PCH_SOURCE
${FREELDR_BOOTLIB_SOURCE}