Skip to content

Commit

Permalink
rg_system: Make sure rg_event_t fits in an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
ducalex committed Feb 20, 2024
1 parent 7906144 commit 0dc0f97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/retro-go/rg_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ typedef enum
typedef enum
{
/* Types and masks */
RG_EVENT_TYPE_SYSTEM = 0xF1000000,
RG_EVENT_TYPE_POWER = 0xF2000000,
RG_EVENT_TYPE_NETWORK = 0xF3000000,
RG_EVENT_TYPE_NETPLAY = 0xF4000000,
RG_EVENT_TYPE_MASK = 0xFF000000,
RG_EVENT_TYPE_SYSTEM = 0xF10000,
RG_EVENT_TYPE_POWER = 0xF20000,
RG_EVENT_TYPE_NETWORK = 0xF30000,
RG_EVENT_TYPE_NETPLAY = 0xF40000,
RG_EVENT_TYPE_MASK = 0xFF0000,

/* Events */
RG_EVENT_UNRESPONSIVE = RG_EVENT_TYPE_SYSTEM | 1,
Expand Down

0 comments on commit 0dc0f97

Please sign in to comment.