| Previous | 15994 Revisions | Next |
| r9434 Friday 22nd October, 2010 at 15:55:08 UTC by Angelo Salese |
|---|
| [PCECD]: Fixed a small bug with pre-gap total size |
| [src/mess/machine] | pce.c |
| r9433 | r9434 | |
|---|---|---|
| 844 | 844 | case 0x01: /* Get total disk size in MSF format */ |
| 845 | 845 | frame = toc->tracks[toc->numtrks-1].physframeofs; |
| 846 | 846 | frame += toc->tracks[toc->numtrks-1].frames; |
| 847 | msf = lba_to_msf( frame ); | |
| 847 | msf = lba_to_msf( frame + 150 ); | |
| 848 | 848 | |
| 849 | 849 | pce_cd.data_buffer[0] = ( msf >> 16 ) & 0xFF; /* M */ |
| 850 | 850 | pce_cd.data_buffer[1] = ( msf >> 8 ) & 0xFF; /* S */ |
| Previous | 15994 Revisions | Next |