Skip to content

Commit

Permalink
adds support for 515.1643
Browse files Browse the repository at this point in the history
(cherry picked from commit 9d1fc8f)
  • Loading branch information
mafemergency authored and ZeWaka committed Nov 8, 2024
1 parent 2d112ae commit 3f888b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions prof.c
Original file line number Diff line number Diff line change
Expand Up @@ -2876,7 +2876,7 @@ void *hook(char *const restrict dst, char *const restrict src, char unsigned siz
}

#if defined(UTRACY_WINDOWS)
# define BYOND_MAX_BUILD 1642
# define BYOND_MAX_BUILD 1643
# define BYOND_MIN_BUILD 1543
# define BYOND_VERSION_ADJUSTED(a) ((a) - BYOND_MIN_BUILD)

Expand Down Expand Up @@ -2980,10 +2980,11 @@ static int unsigned const byond_offsets[][9] = {
[BYOND_VERSION_ADJUSTED(1640)] = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x00050606},
[BYOND_VERSION_ADJUSTED(1641)] = {0x00409614, 0x00409618, 0x00409624, 0x00409634, 0x001C002C, 0x00130B20, 0x0020BA10, 0x001C3890, 0x00050606},
[BYOND_VERSION_ADJUSTED(1642)] = {0x00409614, 0x00409618, 0x00409624, 0x00409634, 0x001C002C, 0x00130B20, 0x0020BAE0, 0x001C3940, 0x00050606},
[BYOND_VERSION_ADJUSTED(1643)] = {0x0040961C, 0x00409620, 0x0040962C, 0x0040963C, 0x001C002C, 0x00130B20, 0x0020BAD0, 0x001C38E0, 0x00050606},
};

#elif defined(UTRACY_LINUX)
# define BYOND_MAX_BUILD 1642
# define BYOND_MAX_BUILD 1643
# define BYOND_MIN_BUILD 1543
# define BYOND_VERSION_ADJUSTED(a) ((a) - BYOND_MIN_BUILD)

Expand Down Expand Up @@ -3085,6 +3086,7 @@ static int unsigned const byond_offsets[][9] = {
[BYOND_VERSION_ADJUSTED(1640)] = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x00050505},
[BYOND_VERSION_ADJUSTED(1641)] = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x00050505},
[BYOND_VERSION_ADJUSTED(1642)] = {0x006DB818, 0x006DB81C, 0x006DB830, 0x006DB86C, 0x001C002C, 0x00323000, 0x003105C0, 0x00306FC0, 0x00050505},
[BYOND_VERSION_ADJUSTED(1643)] = {0x006DB618, 0x006DB61C, 0x006DB630, 0x006DB66C, 0x001C002C, 0x00322E10, 0x00310430, 0x00306E30, 0x00050505},
};

#endif
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ byond-tracy glues together a byond server with the tracy profiler allowing you t
## supported byond versions
| windows | linux |
| -------- | -------- |
| 515.1643 | 515.1643 |
| 515.1642 | 515.1642 |
| 515.1641 | |
| | |
Expand Down

0 comments on commit 3f888b9

Please sign in to comment.