From 4917024c9485d5ed3362ddcb1a0d0f8ee45dfedc Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 1 Aug 2019 15:54:17 -0700 Subject: Reduce the AsyncEvent struct size The "user" message length is significantly reduced to fit the struct in 256 bytes, rather than 1KB. --- al/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'al') diff --git a/al/event.h b/al/event.h index e98be560..ae1b421b 100644 --- a/al/event.h +++ b/al/event.h @@ -39,7 +39,7 @@ struct AsyncEvent { ALenum type; ALuint id; ALuint param; - ALchar msg[1008]; + ALchar msg[232]; } user; EffectState *mEffectState; } u{}; -- cgit v1.2.3