summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/cdrom.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2024-01-26 00:35:47 +1100
committer Vas Crabb <vas@vastheman.com>2024-01-26 00:35:47 +1100
commite4d6dc1be9cc8f2ceddeabc60337c7d2a4b1242d (patch)
tree68bfa8a7b33141119c596977d5eb6ed1c768be5f /src/lib/util/cdrom.h
parent8eaf308e15d2db42e5ec947f9d7c73fe1ac7f672 (diff)
imagedev/cdromimg.cpp: Fixed object lifecycles when loading from softlist or ROM region.
* Reverted workaround 4c0957d7f0ba6a72e7267270db07ee06fe717109. * Cleaned up a few things.
Diffstat (limited to 'src/lib/util/cdrom.h')
-rw-r--r--src/lib/util/cdrom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/cdrom.h b/src/lib/util/cdrom.h
index c8b5d1f1f56..214a7ed39d6 100644
--- a/src/lib/util/cdrom.h
+++ b/src/lib/util/cdrom.h
@@ -21,7 +21,7 @@ public:
// tracks are padded to a multiple of this many frames
static constexpr uint32_t TRACK_PADDING = 4;
- static constexpr uint32_t MAX_TRACKS = 99 + 1;
+ static constexpr uint32_t MAX_TRACKS = 99; /* AFAIK the theoretical limit */
static constexpr uint32_t MAX_SECTOR_DATA = 2352;
static constexpr uint32_t MAX_SUBCODE_DATA = 96;