mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 12:25:00 +00:00
core,shader_recompiler: align structures for 64-bit platforms (#447)
Decreased sizes: * TextureDefinition 32 bytes -> 24 bytes * PortOut 72 bytes -> 64 bytes * Request 48 bytes -> 40 bytes * WindowSystemInfo 32 bytes -> 24 bytes
This commit is contained in:
parent
fc745ee767
commit
243fd0be78
6 changed files with 13 additions and 13 deletions
|
@ -22,15 +22,15 @@ public:
|
|||
|
||||
private:
|
||||
struct PortOut {
|
||||
bool isOpen = false;
|
||||
int type = 0;
|
||||
SDL_AudioStream* stream = nullptr;
|
||||
u32 samples_num = 0;
|
||||
u8 sample_size = 0;
|
||||
u32 freq = 0;
|
||||
u32 format = -1;
|
||||
int type = 0;
|
||||
int channels_num = 0;
|
||||
int volume[8] = {};
|
||||
SDL_AudioStream* stream = nullptr;
|
||||
u8 sample_size = 0;
|
||||
bool isOpen = false;
|
||||
};
|
||||
std::shared_mutex m_mutex;
|
||||
std::array<PortOut, 22> portsOut; // main up to 8 ports , BGM 1 port , voice up to 4 ports ,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue