mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-16 16:21:02 +00:00
small compile fixes
This commit is contained in:
parent
681c3c53f0
commit
f85420b343
@ -51,9 +51,10 @@ class be_t
|
|||||||
public:
|
public:
|
||||||
typedef T type;
|
typedef T type;
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
be_t() noexcept = default
|
be_t() noexcept = default;
|
||||||
#endif
|
#else
|
||||||
be_t(){}
|
be_t(){}
|
||||||
|
#endif
|
||||||
|
|
||||||
be_t(const T& value)
|
be_t(const T& value)
|
||||||
{
|
{
|
||||||
|
@ -306,7 +306,7 @@ public:
|
|||||||
static const wxString& dir_path = "textures";
|
static const wxString& dir_path = "textures";
|
||||||
static const wxString& file_fmt = dir_path + "\\" + "tex[%d].png";
|
static const wxString& file_fmt = dir_path + "\\" + "tex[%d].png";
|
||||||
|
|
||||||
if(!wxDirExists(dir_path)) wxMkDir(dir_path);
|
if(!wxDirExists(dir_path)) wxMkDir(dir_path, wxS_DIR_DEFAULT );
|
||||||
|
|
||||||
u32 count = 0;
|
u32 count = 0;
|
||||||
while(wxFileExists(wxString::Format(file_fmt, count))) count++;
|
while(wxFileExists(wxString::Format(file_fmt, count))) count++;
|
||||||
|
@ -524,12 +524,12 @@ struct CellAdecParamM4Aac
|
|||||||
be_t<MPEG4AAC_ConfigType> configNumber;
|
be_t<MPEG4AAC_ConfigType> configNumber;
|
||||||
|
|
||||||
union {
|
union {
|
||||||
struct { struct
|
struct mp { struct mp2
|
||||||
{
|
{
|
||||||
be_t<u32> adifProgramNumber; // 0
|
be_t<u32> adifProgramNumber; // 0
|
||||||
} adifConfig; };
|
} adifConfig; };
|
||||||
|
|
||||||
struct { struct
|
struct mp3 { struct mp4
|
||||||
{
|
{
|
||||||
be_t<MPEG4AAC_SamplingFreq> samplingFreqIndex;
|
be_t<MPEG4AAC_SamplingFreq> samplingFreqIndex;
|
||||||
be_t<u32> profile; // LC profile (1)
|
be_t<u32> profile; // LC profile (1)
|
||||||
@ -557,8 +557,8 @@ struct CellAdecM4AacInfo
|
|||||||
be_t<u32> pad1; // TODO: check alignment
|
be_t<u32> pad1; // TODO: check alignment
|
||||||
|
|
||||||
union {
|
union {
|
||||||
struct {
|
struct mp5 {
|
||||||
struct
|
struct m6
|
||||||
{
|
{
|
||||||
be_t<u32> copyrightIdPresent;
|
be_t<u32> copyrightIdPresent;
|
||||||
char copyrightId[9];
|
char copyrightId[9];
|
||||||
@ -571,8 +571,8 @@ struct CellAdecM4AacInfo
|
|||||||
} adif;
|
} adif;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct {
|
struct mp7 {
|
||||||
struct
|
struct mp8
|
||||||
{
|
{
|
||||||
be_t<u32> id;
|
be_t<u32> id;
|
||||||
be_t<u32> layer;
|
be_t<u32> layer;
|
||||||
@ -595,7 +595,7 @@ struct CellAdecM4AacInfo
|
|||||||
|
|
||||||
be_t<u32> pad2; // TODO: check alignment
|
be_t<u32> pad2; // TODO: check alignment
|
||||||
|
|
||||||
struct
|
struct mp9
|
||||||
{
|
{
|
||||||
be_t<u32> matrixMixdownPresent;
|
be_t<u32> matrixMixdownPresent;
|
||||||
be_t<u32> mixdownIndex;
|
be_t<u32> mixdownIndex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user