git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@35184 e17a0e51-4ae3-4d35-97c3-1a29b211df97

This commit is contained in:
SND\weimingzhi_cp 2009-11-03 08:01:07 +00:00
parent 1d8aa3305f
commit 394c8136b4
2 changed files with 2 additions and 5 deletions

View File

@ -3,6 +3,7 @@ November 3, 2009 Wei Mingzhi <weimingzhi@gmail.com>
* macosx/plugins/HIDInput/src/PlugPAD.c: Implemented PADstartPoll() and
PADpoll().
* plugins/dfxvideo/key.c: Handle Fullscreen toggle message for Mac OS X.
* macosx/plugins/DFXVideo/macsrc/PluginGLView.m: Fixed one byte-order issue.
November 2, 2009 Wei Mingzhi <weimingzhi@gmail.com>

View File

@ -569,13 +569,9 @@ void BlitScreen16NS(unsigned char * surf,long x,long y)
row = 0;
// make sure the reads are aligned
while ((int)pD & 0x3) {
#ifdef __POWERPC__
*((unsigned long *)((surf)+(column*lPitch)+(row<<2))) =
(*(pD+0)<<16)|(*(pD+1)<<8)|*(pD+2);
#else
*((unsigned long *)((surf)+(column*lPitch)+(row<<2))) =
(*(pD+2)<<16)|(*(pD+1)<<8)|*(pD+0);
#endif
pD+=3;
row++;
}