mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
tweaking win32 port
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@339 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
4b2b67ebc7
commit
8831ef19a0
9 changed files with 79 additions and 142 deletions
|
@ -86,7 +86,8 @@ int TexScreenLinear()
|
|||
int y=0,line=0;
|
||||
unsigned short *ps=NULL;
|
||||
|
||||
TexScreen->LockRect(0,&lock,NULL,0); if (lock.pBits==NULL) return 1;
|
||||
TexScreen->LockRect(0,&lock,NULL,0);
|
||||
if (lock.pBits==NULL) return 1;
|
||||
|
||||
dest=(unsigned char *)lock.pBits;
|
||||
ps=EmuScreen;
|
||||
|
@ -98,7 +99,7 @@ int TexScreenLinear()
|
|||
|
||||
for (x=0; x<EmuWidth; x++,addr+=2)
|
||||
{
|
||||
*(unsigned int *)(dest+addr)=*ps++;
|
||||
*(unsigned int *)(dest+addr)=0xf0f0f0f0;//*ps++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue