[Scummvm-git-logs] scummvm master -> 583227655aee53693297e3e204ec6d19e5179358

sev- noreply at scummvm.org
Sun Aug 13 08:51:19 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
583227655a BACKENDS: Fix incorrect enum member name


Commit: 583227655aee53693297e3e204ec6d19e5179358
    https://github.com/scummvm/scummvm/commit/583227655aee53693297e3e204ec6d19e5179358
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-08-13T10:50:56+02:00

Commit Message:
BACKENDS: Fix incorrect enum member name

Changed paths:
    backends/platform/sdl/macosx/macosx.cpp
    backends/platform/sdl/ps3/ps3.cpp


diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp
index c21e8bcdba6..b0e68f62ec4 100644
--- a/backends/platform/sdl/macosx/macosx.cpp
+++ b/backends/platform/sdl/macosx/macosx.cpp
@@ -149,7 +149,7 @@ bool OSystem_MacOSX::hasFeature(Feature f) {
 #endif
 
 #if defined(__VEC__) || defined(__VEC) // PowerPC Altivec extensions
-	if (f == kFeatureAltivec)
+	if (f == kFeatureCpuAltivec)
 		return true;
 #endif
 
diff --git a/backends/platform/sdl/ps3/ps3.cpp b/backends/platform/sdl/ps3/ps3.cpp
index e1fdd8b4ca5..fbeb43b9f1d 100644
--- a/backends/platform/sdl/ps3/ps3.cpp
+++ b/backends/platform/sdl/ps3/ps3.cpp
@@ -133,7 +133,7 @@ bool OSystem_PS3::hasFeature(Feature f) {
 		return false;
 	}
 
-	if (f == kFeatureAltivec) return true;
+	if (f == kFeatureCpuAltivec) return true;
 
 	return OSystem_SDL::hasFeature(f);
 }




More information about the Scummvm-git-logs mailing list