diff options
| author | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 | 
|---|---|---|
| committer | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 | 
| commit | 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch) | |
| tree | c44c4e61f18ddd537f7082cb48869cf33d422fbd /backends/morphos | |
| parent | 86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff) | |
| download | scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2 scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip  | |
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'backends/morphos')
| -rw-r--r-- | backends/morphos/morphos.cpp | 10 | ||||
| -rw-r--r-- | backends/morphos/morphos_scaler.cpp | 2 | ||||
| -rw-r--r-- | backends/morphos/morphos_scaler.h | 2 | ||||
| -rw-r--r-- | backends/morphos/morphos_sound.cpp | 2 | ||||
| -rw-r--r-- | backends/morphos/morphos_timer.cpp | 2 | 
5 files changed, 9 insertions, 9 deletions
diff --git a/backends/morphos/morphos.cpp b/backends/morphos/morphos.cpp index 09ad5ffd62..21d1c3436f 100644 --- a/backends/morphos/morphos.cpp +++ b/backends/morphos/morphos.cpp @@ -277,7 +277,7 @@ bool OSystem_MorphOS::OpenATimer(MsgPort **port, IORequest **req, ULONG unit, bo  {  	*req = NULL;  	const char *err_msg = NULL; -	 +  	*port = CreateMsgPort();  	if (*port)  	{ @@ -601,7 +601,7 @@ void OSystem_MorphOS::CreateScreen(CS_DSPTYPE dspType)  		CloseScreen(ScummScreen);  		ScummScreen = NULL;  	} -	 +  	ScummScrWidth  = ScummBufferWidth << ScummScale;  	ScummScrHeight = ScummBufferHeight << ScummScale; @@ -976,7 +976,7 @@ void OSystem_MorphOS::warpMouse(int x, int y)  	{  		InputEvent* 	 FakeIE;  		IEPointerPixel* NewPixel; -	 +  		/*  		 * Fake a mousemove input event  		 */ @@ -1476,7 +1476,7 @@ void OSystem_MorphOS::initSize(uint w, uint h, int overlayScale)  	 * Allocate image buffer  	 */  	ScummBuffer = AllocVec(w*h, MEMF_CLEAR); -	 +  	if (ScummBuffer == NULL)  	{  		puts("Couldn't allocate image buffer"); @@ -1484,7 +1484,7 @@ void OSystem_MorphOS::initSize(uint w, uint h, int overlayScale)  	}  	OvlSavedBuffer = AllocVec(w*h, MEMF_CLEAR); -	 +  	if (OvlSavedBuffer == NULL)  	{  		FreeVec(ScummBuffer); diff --git a/backends/morphos/morphos_scaler.cpp b/backends/morphos/morphos_scaler.cpp index f896d7200e..df8e56d0a5 100644 --- a/backends/morphos/morphos_scaler.cpp +++ b/backends/morphos/morphos_scaler.cpp @@ -86,7 +86,7 @@ MorphOSScaler::MorphOSScaler(APTR buffer, int width, int height, ULONG *col_tabl  		pixfmt == PIXFMT_RGB16PC || pixfmt == PIXFMT_BGR16PC ||  		pixfmt == PIXFMT_BGRA32)  		ScummPCMode = true; -	 +  	colorMask = (MakeColor(pixfmt, 255, 0, 0) - minr) | (MakeColor(pixfmt, 0, 255, 0) - ming) | (MakeColor(pixfmt, 0, 0, 255) - minb);  	lowPixelMask = minr | ming | minb;  	qcolorMask = (MakeColor(pixfmt, 255, 0, 0) - 3*minr) | (MakeColor(pixfmt, 0, 255, 0) - 3*ming) | (MakeColor(pixfmt, 0, 0, 255) - 3*minb); diff --git a/backends/morphos/morphos_scaler.h b/backends/morphos/morphos_scaler.h index 77627f9a31..30778bd144 100644 --- a/backends/morphos/morphos_scaler.h +++ b/backends/morphos/morphos_scaler.h @@ -59,7 +59,7 @@ class MorphOSScaler  		uint32 dest_pitch;  		uint32 dest_pixfmt;  		APTR handle; -		 +  		uint32 colorMask;  		uint32 lowPixelMask;  		uint32 qcolorMask; diff --git a/backends/morphos/morphos_sound.cpp b/backends/morphos/morphos_sound.cpp index 06ae054b69..4de6a2b1a6 100644 --- a/backends/morphos/morphos_sound.cpp +++ b/backends/morphos/morphos_sound.cpp @@ -209,7 +209,7 @@ int morphos_sound_thread(OSystem_MorphOS *syst, ULONG SampleType)  					WaitIO((IORequest *) req);  				syst->fill_sound((byte *) ahiBuf[ahiCurBuf], AHI_BUF_SIZE); -	 +  				req->ahir_Std.io_Message.mn_Node.ln_Pri = 0;  				req->ahir_Std.io_Command = CMD_WRITE;  				req->ahir_Std.io_Data    = ahiBuf[ahiCurBuf]; diff --git a/backends/morphos/morphos_timer.cpp b/backends/morphos/morphos_timer.cpp index 6eaf80b30c..b382aaa9b1 100644 --- a/backends/morphos/morphos_timer.cpp +++ b/backends/morphos/morphos_timer.cpp @@ -120,7 +120,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine)  		signals = Wait(signal_mask);  		GetSysTime(&start_callback); -		 +  		if (signals & port_bit)  		{  			TimerServiceMessage *tmsg;  | 
