mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Keybord support improved
*Improved Keyboard:
- Fixed crash when using Null keyboard handler
- Added support for meta keys
- Added support for {caps, num, scroll} lock.
*Small issues fixed in previous module:
- cellGifDec: Fixed wrong information of packet field in
cellGifDecReadHeader.
- cellGifDec: Set DataOutInfo.recordType as 1 since the output is always
an image.
- cellJpgDec: Set colorSpace as 3, until a better function is
implemented.
- cellJpgDec, cellPngDec: Added RGBA support.
*Changed layout of "Config > Settings" menu.
This commit is contained in:
parent
4835ae35af
commit
1b7302c0ba
8 changed files with 262 additions and 74 deletions
|
|
@ -106,9 +106,9 @@ int cellGifDecReadHeader(u32 mainHandle, u32 subHandle, u32 info_addr)
|
|||
current_info.SWidth = Memory.Read8(buffer+6) + Memory.Read8(buffer+7) * 256;
|
||||
current_info.SHeight = Memory.Read8(buffer+8) + Memory.Read8(buffer+9) * 256;
|
||||
current_info.SGlobalColorTableFlag = packedField >> 7;
|
||||
current_info.SColorResolution = (packedField >> 4) & 7;
|
||||
current_info.SColorResolution = ((packedField >> 4) & 7)+1;
|
||||
current_info.SSortFlag = (packedField >> 3) & 1;
|
||||
current_info.SSizeOfGlobalColorTable = packedField & 7;
|
||||
current_info.SSizeOfGlobalColorTable = (packedField & 7)+1;
|
||||
current_info.SBackGroundColor = Memory.Read8(buffer+11);
|
||||
current_info.SPixelAspectRatio = Memory.Read8(buffer+12);
|
||||
|
||||
|
|
@ -171,6 +171,9 @@ int cellGifDecDecodeData(u32 mainHandle, u32 subHandle, u32 data_addr, u32 dataC
|
|||
}
|
||||
Memory.Free(buffer);
|
||||
|
||||
//The output data is an image (dataOutInfo.recordType = 1)
|
||||
Memory.Write32(dataOutInfo_addr, 1);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue