Skip to content

Commit

Permalink
Add fallback LEADOUT_TRACK_NUMBER = 0xAA for non Win/Mac/Linux
Browse files Browse the repository at this point in the history
(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
  • Loading branch information
abs0 authored and wez committed Nov 23, 2023
1 parent 36556f3 commit 171e8ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CDtoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ uint8_t LEADOUT_TRACK_NUMBER = CDROM_LEADOUT;
#elif defined(_WIN32)
uint8_t LEADOUT_TRACK_NUMBER =
0xAA; // NOTE: for WinXP IOCTL_CDROM_READ_TOC_EX code, its 0xA2
#else
uint8_t LEADOUT_TRACK_NUMBER = 0xAA;
#endif

/*
Expand Down

0 comments on commit 171e8ae

Please sign in to comment.