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:
Herman Semenov 2024-08-24 13:18:12 +00:00 committed by GitHub
parent fc745ee767
commit 243fd0be78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 13 deletions

View file

@ -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 ,