diff options
| -rw-r--r-- | backends/platform/iphone/osys_iphone.cpp | 3 | ||||
| -rw-r--r-- | backends/platform/iphone/osys_iphone.h | 2 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/iphone/osys_iphone.cpp b/backends/platform/iphone/osys_iphone.cpp index cc69d85c61..6f1d82fb2c 100644 --- a/backends/platform/iphone/osys_iphone.cpp +++ b/backends/platform/iphone/osys_iphone.cpp @@ -491,6 +491,7 @@ bool OSystem_IPHONE::pollEvent(Common::Event &event) {  	long curTime = getMillis();  	if (_timerCallback && (curTime >= _timerCallbackNext)) { +		_timerCallback(_timerCallbackTimer);  		_timerCallbackNext = curTime + _timerCallbackTimer;  	} @@ -606,7 +607,7 @@ bool OSystem_IPHONE::pollEvent(Common::Event &event) {  				break;  			case kInputMouseSecondToggled:  				_secondaryTapped = !_secondaryTapped; -				//printf("Mouse second at (%u, %u). State now %s.\n", x, y, _secondaryTapped ? "on" : "off"); +				printf("Mouse second at (%u, %u). State now %s.\n", x, y, _secondaryTapped ? "on" : "off");  				if (_secondaryTapped) {  					_lastSecondaryDown = curTime;  					_gestureStartX = x; diff --git a/backends/platform/iphone/osys_iphone.h b/backends/platform/iphone/osys_iphone.h index 3ee38e62fb..9abd8657e7 100644 --- a/backends/platform/iphone/osys_iphone.h +++ b/backends/platform/iphone/osys_iphone.h @@ -28,7 +28,7 @@  #include "graphics/surface.h"  #define AUDIO_BUFFERS 3 -#define WAVE_BUFFER_SIZE 735 +#define WAVE_BUFFER_SIZE 2048  #define AUDIO_SAMPLE_RATE 44100  typedef void (*SoundProc)(void *param, byte *buf, int len);  | 
