From 10586f19ea618d684e98eb3099467ee5a5aab731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Andr=C3=A9n=20Zachrisson?= Date: Sun, 1 Nov 2015 12:27:28 +0100 Subject: [PATCH] Localize daTrack_ptr --- cue2pops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cue2pops.c b/cue2pops.c index 174e958..4a23e19 100644 --- a/cue2pops.c +++ b/cue2pops.c @@ -28,11 +28,11 @@ int vmode = 0; // User command status (vmode) int trainer = 0; // User command status (trainer) int fix_CDRWIN = 0; // Special CDRWIN pregap injection status int bin_size; // BIN (disc image) size + int sector_count; // Calculated number of sectors int track_count = 0;; // Number of "TRACK " occurrences in the cue int pregap_count = 0;; // Number of "PREGAP" occurrences in the cue int postgap_count = 0; // Number of "POSTGAP" occurrences in the cue -int daTrack_ptr = 0; // Indicates the location of the pregap that's between the data track and the first audio track int deny_vmode = 0; // 2013/05/16 - v2.0 : Triggered by GameIdentifier... Makes NTSCpatcher skip the PAL->NTSC patch. int fix_game = 0; // 2013/05/16 - v2.0 : Triggered by GameIdentifier... Enables GameFixer . @@ -294,6 +294,8 @@ int main(int argc, char **argv) int gap_more = 0; // User command status (gap++) int gap_less = 0; // User command status (gap--) + int daTrack_ptr = 0; // Indicates the location of the pregap that's between the data track and the first audio track + printf("\nBIN/CUE to IMAGE0.VCD conversion tool v2.0\n"); printf("Last modified: %s\n\n", __DATE__);