Skip to content

Commit 171e8ae

Browse files
abs0wez
authored andcommitted
Add fallback LEADOUT_TRACK_NUMBER = 0xAA for non Win/Mac/Linux
(Linux and Windows also use 0xAA) This allows atomicparsley to build on other platforms such as NetBSD and FreeBSD, without affecting any behaviour on supported platforms
1 parent 36556f3 commit 171e8ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CDtoc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ uint8_t LEADOUT_TRACK_NUMBER = CDROM_LEADOUT;
7676
#elif defined(_WIN32)
7777
uint8_t LEADOUT_TRACK_NUMBER =
7878
0xAA; // NOTE: for WinXP IOCTL_CDROM_READ_TOC_EX code, its 0xA2
79+
#else
80+
uint8_t LEADOUT_TRACK_NUMBER = 0xAA;
7981
#endif
8082

8183
/*

0 commit comments

Comments
 (0)