diff options
author | Max Lingua | 2014-01-09 20:57:17 -0500 |
---|---|---|
committer | Max Lingua | 2014-01-18 12:40:58 -0500 |
commit | 17e8a6f220eb524bfebe07067266799268b45e04 (patch) | |
tree | a2ee7ad07ea1d53005802af113f86d8145200f73 /backends/platform/ps2/systemps2.cpp | |
parent | f5748d16eb55ceca7abc12d8d4ca807106ea3161 (diff) | |
download | scummvm-rg350-17e8a6f220eb524bfebe07067266799268b45e04.tar.gz scummvm-rg350-17e8a6f220eb524bfebe07067266799268b45e04.tar.bz2 scummvm-rg350-17e8a6f220eb524bfebe07067266799268b45e04.zip |
PS2: cleaned cast (X*) -> (X *)
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r-- | backends/platform/ps2/systemps2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index a7d782b07c..9882974f18 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -184,7 +184,7 @@ void systemSoundThread(OSystem_PS2 *system) { } void gluePowerOffCallback(void *system) { - ((OSystem_PS2*)system)->powerOffCallback(); + ((OSystem_PS2 *)system)->powerOffCallback(); } void OSystem_PS2::startIrxModules(int numModules, IrxReference *modules) { @@ -491,7 +491,7 @@ void OSystem_PS2::soundThreadCallback(void) { // and feed it into the SPU // non-blocking call, the function will return before the buffer's content // was transferred. - SjPCM_Enqueue((short int*)soundBufL, (short int*)soundBufR, SMP_PER_BLOCK, 0); + SjPCM_Enqueue((short int *)soundBufL, (short int *)soundBufR, SMP_PER_BLOCK, 0); bufferedSamples += SMP_PER_BLOCK; } } @@ -555,7 +555,7 @@ void OSystem_PS2::grabPalette(byte *colors, uint start, uint num) { } void OSystem_PS2::copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h) { - _screen->copyScreenRect((const uint8*)buf, pitch, x, y, w, h); + _screen->copyScreenRect((const uint8 *)buf, pitch, x, y, w, h); } void OSystem_PS2::updateScreen(void) { |