diff options
| author | 2012-08-20 06:39:53 +0000 | |
|---|---|---|
| committer | 2012-08-20 06:39:53 +0000 | |
| commit | f54800c1f3f89877f977f1598edc07b93de2b509 (patch) | |
| tree | 7ab593d4ac62979cf0de70500ece0bd66df80222 /src/lib | |
| parent | 1c13d140992aabea30a322bb26d0fe8c0133cd3f (diff) | |
Clean-ups and version bumpmame0146u5
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/formats/g64_dsk.c | 10 | ||||
| -rw-r--r-- | src/lib/formats/x1_tap.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/formats/g64_dsk.c b/src/lib/formats/g64_dsk.c index 6b89b266503..37617b769aa 100644 --- a/src/lib/formats/g64_dsk.c +++ b/src/lib/formats/g64_dsk.c @@ -137,14 +137,14 @@ static floperr_t g64_read_track(floppy_image_legacy *floppy, int head, int track { /* - The following is written into the buffer: + The following is written into the buffer: - n bytes of track data - 1982 bytes of speed zone data + n bytes of track data + 1982 bytes of speed zone data - get_track_size() returns n (size of track data) + get_track_size() returns n (size of track data) - */ + */ struct g64dsk_tag *tag = get_tag(floppy); floperr_t err; diff --git a/src/lib/formats/x1_tap.c b/src/lib/formats/x1_tap.c index 5923a0dfdf4..795585fc4e5 100644 --- a/src/lib/formats/x1_tap.c +++ b/src/lib/formats/x1_tap.c @@ -83,11 +83,11 @@ static int x1_cas_to_wav_size (const UINT8 *casdata, int caslen) { ret = (caslen - 4) * 8; // each byte = 8 samples cas_size = ret; - + samplerate = casdata[0x00] | (casdata[0x01] << 8) | (casdata[0x02] << 16) | (casdata[0x03] << 24); new_format = 0; } - + return ret; } |
