summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/chdman.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-05-20 06:51:25 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-05-20 06:51:25 +0000
commit1c05ccc93bd32a9bb5a50f18e2e8bd29c3511e25 (patch)
tree7133a7cea14e7c27e731c320b87663971b1a31d3 /src/tools/chdman.c
parentcae878c9b438a4b88678db213db9c4aed215b5cc (diff)
Cleanups and version bumpmame0148u5
Diffstat (limited to 'src/tools/chdman.c')
-rw-r--r--src/tools/chdman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/chdman.c b/src/tools/chdman.c
index 07c06b6544d..43c165f2c75 100644
--- a/src/tools/chdman.c
+++ b/src/tools/chdman.c
@@ -1255,7 +1255,7 @@ void output_track_metadata(int mode, core_file *file, int tracknum, const cdrom_
core_fprintf(file, " PREGAP %s\n", msf_string_from_frames(tempstr, info.pregap));
core_fprintf(file, " INDEX 01 %s\n", msf_string_from_frames(tempstr, frameoffs));
}
- else if ((info.pregap > 0) && (info.pgdatasize > 0))
+ else if ((info.pregap > 0) && (info.pgdatasize > 0))
{
core_fprintf(file, " INDEX 00 %s\n", msf_string_from_frames(tempstr, frameoffs));
core_fprintf(file, " INDEX 01 %s\n", msf_string_from_frames(tempstr, frameoffs+info.pregap));