Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
[CGENIE] Properly implemented the cassette loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
wfp committed Sep 30, 2008
1 parent 32f501b commit 21a8171
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/messnew.txt
Expand Up @@ -91,6 +91,8 @@ System Driver Changes:
doubt these CBM-II computers used the same format as C64. More work
when/if more documents will be available [Fabio Priuli]

- [CGENIE] Properly implemented the cassette loading. [Wilbert Pol]

- [COMMODORE] Properly fixed asserts / freezes / crashes in systems with
VC1540 / VC1541 floppy support which had been promoted from TESTDRIVER
status. However, they are flagged as NOT_WORKING because the floppy
Expand Down
4 changes: 2 additions & 2 deletions src/mess/formats/cgen_cas.c
Expand Up @@ -31,7 +31,7 @@ static int cgenie_output_byte(INT16 *buffer, int sample_count, UINT8 data)
samples++;

/* Output bit */
if ( ! ( data & 0x80 ) )
if ( data & 0x80 )
level ^= 1;
if ( buffer )
buffer[ sample_count + samples ] = level ? SMPHI : SMPLO;
Expand Down Expand Up @@ -94,7 +94,7 @@ static const struct CassetteLegacyWaveFiller cgenie_cas_legacy_fill_wave =
-1, /* chunk_size */
0, /* chunk_samples */
cgenie_cas_to_wav_size, /* chunk_sample_calc */
2200, /* sample_frequency */
2400, /* sample_frequency */
0, /* header_samples */
0 /* trailer_samples */
};
Expand Down

0 comments on commit 21a8171

Please sign in to comment.