Skip to content

Commit 9efb872

Browse files
committed
xrCore: fix xr_token size, game now playable!
1 parent 5504fe1 commit 9efb872

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/xrCore/xr_token.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22

3+
#pragma pack(push, 1)
34
struct XRCORE_API xr_token
45
{
56
xr_token(): name(nullptr), id(-1) {}
@@ -8,6 +9,7 @@ struct XRCORE_API xr_token
89
pcstr name;
910
int id;
1011
};
12+
#pragma pack(pop)
1113

1214
XRCORE_API pcstr get_token_name(const xr_token* tokens, int key);
1315
XRCORE_API int get_token_id(const xr_token* tokens, pcstr key);

0 commit comments

Comments
 (0)