diff options
| author | Eugene Sandulenko | 2013-07-04 04:58:54 -0700 | 
|---|---|---|
| committer | Eugene Sandulenko | 2013-07-04 04:58:54 -0700 | 
| commit | 49210a803a53b84bcabe42fd339a1b205236c34d (patch) | |
| tree | d5916067b55404324fb70a3d3ee0a8f672f92679 /backends/platform/ds/arm9 | |
| parent | 2b980e86e3db2ebc2279761ba29c0be4f24e03dc (diff) | |
| parent | b286a6d033287dce11dfa4216ad11728b892667d (diff) | |
| download | scummvm-rg350-49210a803a53b84bcabe42fd339a1b205236c34d.tar.gz scummvm-rg350-49210a803a53b84bcabe42fd339a1b205236c34d.tar.bz2 scummvm-rg350-49210a803a53b84bcabe42fd339a1b205236c34d.zip | |
Merge pull request #331 from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
Diffstat (limited to 'backends/platform/ds/arm9')
| -rw-r--r-- | backends/platform/ds/arm9/source/dsmain.cpp | 2 | ||||
| -rw-r--r-- | backends/platform/ds/arm9/source/dsmain.h | 2 | ||||
| -rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.cpp | 2 | ||||
| -rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.h | 2 | 
4 files changed, 4 insertions, 4 deletions
| diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp index 830c782b90..9dc66e80d7 100644 --- a/backends/platform/ds/arm9/source/dsmain.cpp +++ b/backends/platform/ds/arm9/source/dsmain.cpp @@ -2280,7 +2280,7 @@ void VBlankHandler(void) {  	//REG_IF = IRQ_VBLANK;  } -int getMillis() { +int getMillis(bool skipRecord) {  	return currentTimeMillis;  //	return frameCount * FRAME_TIME;  } diff --git a/backends/platform/ds/arm9/source/dsmain.h b/backends/platform/ds/arm9/source/dsmain.h index ad49ae276d..5e91fae13a 100644 --- a/backends/platform/ds/arm9/source/dsmain.h +++ b/backends/platform/ds/arm9/source/dsmain.h @@ -88,7 +88,7 @@ void	setGamma(int gamma);  // Timers  void 	setTimerCallback(OSystem_DS::TimerProc proc, int interval);		// Setup a callback function at a regular interval -int 	getMillis();													// Return the current runtime in milliseconds +int 	getMillis(bool skipRecord = false);								// Return the current runtime in milliseconds  void 	doTimerCallback();												// Call callback function if required  // Sound diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp index a4b9c842fc..2f6358d8ee 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.cpp +++ b/backends/platform/ds/arm9/source/osystem_ds.cpp @@ -656,7 +656,7 @@ bool OSystem_DS::pollEvent(Common::Event &event) {  	return false;  } -uint32 OSystem_DS::getMillis() { +uint32 OSystem_DS::getMillis(bool skipRecord) {  	return DS::getMillis();  } diff --git a/backends/platform/ds/arm9/source/osystem_ds.h b/backends/platform/ds/arm9/source/osystem_ds.h index a6001da764..4550e22b2c 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.h +++ b/backends/platform/ds/arm9/source/osystem_ds.h @@ -117,7 +117,7 @@ public:  	virtual void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, u32 keycolor, bool dontScale, const Graphics::PixelFormat *format);  	virtual bool pollEvent(Common::Event &event); -	virtual uint32 getMillis(); +	virtual uint32 getMillis(bool skipRecord = false);  	virtual void delayMillis(uint msecs);  	virtual void getTimeAndDate(TimeDate &t) const; | 
