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

From wez#65
  • Loading branch information
abs0 authored and dinkypumpkin committed Aug 26, 2023
1 parent 5f57f25 commit da393b1
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) || defined (__CYGWIN__)
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 da393b1

Please sign in to comment.