Removed some leftovers of a scrapped attempt at something from cdrom_image.cc.
This commit is contained in:
@@ -837,7 +837,7 @@ static int image_readtoc(uint8_t id, unsigned char *b, unsigned char starttrack,
|
|||||||
uint32_t temp;
|
uint32_t temp;
|
||||||
|
|
||||||
int first_track;
|
int first_track;
|
||||||
int last_track, last_track_pos;
|
int last_track;
|
||||||
int number;
|
int number;
|
||||||
unsigned char attr;
|
unsigned char attr;
|
||||||
TMSF tmsf;
|
TMSF tmsf;
|
||||||
@@ -870,7 +870,6 @@ static int image_readtoc(uint8_t id, unsigned char *b, unsigned char starttrack,
|
|||||||
break;
|
break;
|
||||||
cdimg[id]->GetAudioTrackInfo(c+1, number, tmsf, attr);
|
cdimg[id]->GetAudioTrackInfo(c+1, number, tmsf, attr);
|
||||||
|
|
||||||
last_track_pos = 0;
|
|
||||||
b[len++] = 0; /* reserved */
|
b[len++] = 0; /* reserved */
|
||||||
b[len++] = attr;
|
b[len++] = attr;
|
||||||
b[len++] = number; /* track number */
|
b[len++] = number; /* track number */
|
||||||
|
Reference in New Issue
Block a user