ios, show fps when debugging
authorkoda
Wed, 23 Jan 2013 04:48:04 +0100
changeset 8427 95289aea4bb9
parent 8426 4b66e60c9967
child 8428 73ab5a17ee55
ios, show fps when debugging
project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Wed Jan 23 04:42:18 2013 +0100
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Wed Jan 23 04:48:04 2013 +0100
@@ -160,6 +160,10 @@
     if([[settings objectForKey:@"alternate"] boolValue] == YES)
         [gameParameters addObject:@"--altdmg"];
 
+#ifdef DEBUG
+    [gameParameters addObject:@"--showfps"];
+#endif
+
     if ([HWUtils gameType] == gtSave)
         [gameParameters addObject:self.savePath];