[Scummvm-git-logs] scummvm branch-2-8 -> 060acc0abac125b90642031ba8795cc78174daf5

lephilousophe noreply at scummvm.org
Mon Mar 18 14:39:24 UTC 2024


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:
060acc0aba IOS7: Fix build


Commit: 060acc0abac125b90642031ba8795cc78174daf5
    https://github.com/scummvm/scummvm/commit/060acc0abac125b90642031ba8795cc78174daf5
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2024-03-18T15:39:12+01:00

Commit Message:
IOS7: Fix build

Changed paths:
    backends/platform/ios7/ios7_video.mm


diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm
index 0e56821e8bd..7e23c0dafc9 100644
--- a/backends/platform/ios7/ios7_video.mm
+++ b/backends/platform/ios7/ios7_video.mm
@@ -632,8 +632,10 @@ bool iOS7_fetchEvent(InternalEvent *event) {
 }
 
 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
+#if TARGET_OS_IOS
 	UITouch *touch = [touches anyObject];
 	touchesBegan = [touch locationInView:self];
+#endif
 	for (GameController *c : _controllers) {
 		if ([c isKindOfClass:TouchController.class]) {
 			[(TouchController *)c touchesBegan:touches withEvent:event];




More information about the Scummvm-git-logs mailing list