M src/chips/YM3526.asm +1 -6
@@ 57,12 57,7 @@ YM3526_TryCreate:
call Drivers_TryCreateMSXAudio_IY
ld hl,MSXAudio_interface
ret c
- call Drivers_TryCreateOPL3_IY
- ld hl,OPL3_interface
- ret c
- call Drivers_TryCreateMoonSound_IY
- ld hl,MoonSound_interface
- ret
+ jp YM3812_TryCreate
;
SECTION RAM
M src/chips/YM3812.asm +2 -7
@@ 53,13 53,8 @@ YM3812_Connect:
; de <- driver
; hl <- device interface
; f <- c: succeeded
-YM3812_TryCreate:
- call Drivers_TryCreateOPL3_IY
- ld hl,OPL3_interface
- ret c
- call Drivers_TryCreateMoonSound_IY
- ld hl,MoonSound_interface
- ret
+YM3812_TryCreate: equ YMF262_TryCreate
+; jp YMF262_TryCreate
;
SECTION RAM
M src/chips/YMF262.asm +1 -3
@@ 79,9 79,7 @@ YMF262_TryCreate:
call Drivers_TryCreateOPL3_IY
ld hl,OPL3_interface
ret c
- call Drivers_TryCreateMoonSound_IY
- ld hl,MoonSound_interface
- ret
+ jp YMF278B_TryCreate
;
SECTION RAM