mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-25 01:50:41 +01:00
Fixed more SingStar previews, this time for v05.00
This commit is contained in:
parent
7e9e0f56fb
commit
d584575984
|
|
@ -780,7 +780,7 @@ static error_code vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0
|
|||
|
||||
if (sinfo)
|
||||
{
|
||||
if (sinfo->thisSize != sizeof(CellVdecDivxSpecificInfo2))
|
||||
if (sinfo->thisSize != sizeof(CellVdecDivxSpecificInfo) && sinfo->thisSize != sizeof(CellVdecDivxSpecificInfo2))
|
||||
{
|
||||
return CELL_VDEC_ERROR_ARG;
|
||||
}
|
||||
|
|
@ -790,7 +790,7 @@ static error_code vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0
|
|||
|
||||
//const u32 maxDecH = sinfo ? +sinfo->maxDecodedFrameHeight : 0;
|
||||
//const u32 maxDecW = sinfo ? +sinfo->maxDecodedFrameWidth : 0;
|
||||
u32 nrOfBuf = sinfo ? +sinfo->numberOfDecodedFrameBuffer : 0;
|
||||
u32 nrOfBuf = sinfo && sinfo->thisSize == sizeof(CellVdecDivxSpecificInfo2) ? +sinfo->numberOfDecodedFrameBuffer : 0;
|
||||
|
||||
if (nrOfBuf == 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
#include "flow_widget_item.h"
|
||||
#include "flow_layout.h"
|
||||
|
||||
#include <set>
|
||||
#include <QWidget>
|
||||
#include <QScrollArea>
|
||||
#include <QPaintEvent>
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "Emu/GameInfo.h"
|
||||
|
||||
#include <set>
|
||||
#include <QPixmap>
|
||||
|
||||
/* Having the icons associated with the game info simplifies logic internally */
|
||||
|
|
|
|||
Loading…
Reference in a new issue