Finished the sound/snd_opl.c rewrite.

This commit is contained in:
OBattler
2020-07-26 02:35:41 +02:00
parent 24926d4b2f
commit 797af21ad9
3 changed files with 49 additions and 59 deletions

View File

@@ -8,16 +8,11 @@
*
* Definitions for the OPL interface.
*
* Version: @(#)snd_opl.h 1.0.3 2020/07/15
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Miran Grca, <mgrca8@gmail.com>
* TheCollector1995, <mariogplayer@gmail.com>
* Sarah Walker, <tommowalker@tommowalker.co.uk>
*
* Copyright 2017-2020 Fred N. van Kempen.
* Copyright 2016-2019 Miran Grca.
* Copyright 2008-2018 Sarah Walker.
* Copyright 2016-2020 Miran Grca.
*/
#ifndef SOUND_OPL_H
# define SOUND_OPL_H
@@ -32,12 +27,10 @@ typedef struct {
#else
void *opl;
#endif
int8_t is_opl3, do_cycles;
int8_t flags, pad;
uint16_t port;
uint8_t status;
uint8_t status_mask;
uint8_t timer_ctrl;
uint8_t status, timer_ctrl;
uint16_t timer_count[2],
timer_cur_count[2];