aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-01 15:54:17 -0700
committerChris Robinson <[email protected]>2019-08-01 15:54:17 -0700
commit4917024c9485d5ed3362ddcb1a0d0f8ee45dfedc (patch)
treec4edc5be4b863187cfd6568527885ea86d3db27f /al
parent0be823320d651130e79fbba33eff81676d59b09c (diff)
Reduce the AsyncEvent struct size
The "user" message length is significantly reduced to fit the struct in 256 bytes, rather than 1KB.
Diffstat (limited to 'al')
-rw-r--r--al/event.h2
1 files changed, 1 insertions, 1 deletions
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{};