mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-21 01:41:13 +00:00
cellAdec: fix some uninitialized member warnings
This commit is contained in:
parent
1811dd67bf
commit
6b8aef9fdd
1 changed files with 11 additions and 15 deletions
|
@ -282,15 +282,10 @@ public:
|
||||||
|
|
||||||
struct AudioReader
|
struct AudioReader
|
||||||
{
|
{
|
||||||
u32 addr;
|
u32 addr{};
|
||||||
u32 size;
|
u32 size{};
|
||||||
bool init;
|
bool init{};
|
||||||
bool has_ats;
|
bool has_ats{};
|
||||||
|
|
||||||
AudioReader()
|
|
||||||
: init(false)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
} reader;
|
} reader;
|
||||||
|
|
||||||
|
@ -304,13 +299,14 @@ public:
|
||||||
u32 memBias = 0;
|
u32 memBias = 0;
|
||||||
|
|
||||||
AdecTask task;
|
AdecTask task;
|
||||||
u64 last_pts, first_pts;
|
u64 last_pts{};
|
||||||
|
u64 first_pts{};
|
||||||
|
|
||||||
u32 ch_out;
|
u32 ch_out{};
|
||||||
u32 ch_cfg;
|
u32 ch_cfg{};
|
||||||
u32 frame_size;
|
u32 frame_size{};
|
||||||
u32 sample_rate;
|
u32 sample_rate{};
|
||||||
bool use_ats_headers;
|
bool use_ats_headers{};
|
||||||
|
|
||||||
AudioDecoder(s32 type, u32 addr, u32 size, vm::ptr<CellAdecCbMsg> func, u32 arg)
|
AudioDecoder(s32 type, u32 addr, u32 size, vm::ptr<CellAdecCbMsg> func, u32 arg)
|
||||||
: ppu_thread({}, "", 0)
|
: ppu_thread({}, "", 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue