mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
Merge pull request #5661 from rz5/patch-2
(xmb) De-hardcode the size of 'tabs' array
This commit is contained in:
commit
c9c311a770
@ -169,7 +169,10 @@ enum
|
||||
#ifdef HAVE_NETWORKING
|
||||
XMB_SYSTEM_TAB_NETPLAY,
|
||||
#endif
|
||||
XMB_SYSTEM_TAB_ADD
|
||||
XMB_SYSTEM_TAB_ADD,
|
||||
|
||||
/* End of this enum - use the last one to determine num of possible tabs */
|
||||
XMB_SYSTEM_TAB_MAX_LENGTH
|
||||
};
|
||||
|
||||
typedef struct xmb_handle
|
||||
@ -177,7 +180,7 @@ typedef struct xmb_handle
|
||||
bool mouse_show;
|
||||
|
||||
uint8_t system_tab_end;
|
||||
uint8_t tabs[16];
|
||||
uint8_t tabs[XMB_SYSTEM_TAB_MAX_LENGTH];
|
||||
|
||||
int depth;
|
||||
int old_depth;
|
||||
|
Loading…
Reference in New Issue
Block a user