aboutsummaryrefslogtreecommitdiff
path: root/backends/morphos
diff options
context:
space:
mode:
Diffstat (limited to 'backends/morphos')
-rw-r--r--backends/morphos/morphos.cpp10
-rw-r--r--backends/morphos/morphos_scaler.cpp2
-rw-r--r--backends/morphos/morphos_scaler.h2
-rw-r--r--backends/morphos/morphos_sound.cpp2
-rw-r--r--backends/morphos/morphos_timer.cpp2
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;