be lazy, always transmit dooms MaxEvents (64) input events
This commit is contained in:
parent
b3d54ff160
commit
e2830e3d68
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ typedef u16 dmt_t; // for DP_MessageType values
|
|||
#define DoomBytesPerPixel 4
|
||||
#define DoomFramePitch (DoomScreenWidth * DoomBytesPerPixel)
|
||||
#define DoomFrameSize (DoomScreenWidth * DoomScreenHeight * DoomBytesPerPixel)
|
||||
#define DoomMaxEvents 64
|
||||
|
||||
typedef enum DP_MessageType
|
||||
{
|
||||
|
@ -104,7 +105,7 @@ typedef struct __attribute__((packed, aligned(4)))
|
|||
{
|
||||
MessageBase head;
|
||||
u8 eventCount;
|
||||
dp_doom_event_t events[1];
|
||||
dp_doom_event_t events[DoomMaxEvents];
|
||||
} MsgInputs;
|
||||
|
||||
void dp_errno_fatal(const char *const msg);
|
||||
|
|
Loading…
Reference in a new issue