Skip to content

Commit d8cf5de

Browse files
committed
vsystem/aerofgt.cpp: Remove unused function
1 parent aba5b7c commit d8cf5de

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/mame/vsystem/aerofgt.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ class aerofgt_state : public driver_device
5858
void setbank(int layer, int num, int bank);
5959
void gfxbank_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);
6060
uint32_t tile_callback(uint32_t code);
61-
uint8_t soundlatch_pending_r();
6261
void soundlatch_pending_w(int state);
6362
void sh_bankswitch_w(uint8_t data);
6463

@@ -186,16 +185,10 @@ uint32_t aerofgt_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
186185
}
187186

188187

189-
uint8_t aerofgt_state::soundlatch_pending_r()
190-
{
191-
return m_soundlatch->pending_r();
192-
}
193-
194188
void aerofgt_state::soundlatch_pending_w(int state)
195189
{
196190
m_audiocpu->set_input_line(INPUT_LINE_NMI, state ? ASSERT_LINE : CLEAR_LINE);
197191

198-
// sound comms is 2-way (see soundlatch_pending_r),
199192
// NMI routine is very short, so briefly set perfect_quantum to make sure that the timing is right
200193
if (state)
201194
machine().scheduler().perfect_quantum(attotime::from_usec(100));
@@ -453,4 +446,5 @@ ROM_END
453446

454447
} // anonymous namespace
455448

456-
GAME( 1992, aerofgt, 0, aerofgt, aerofgt, aerofgt_state, empty_init, ROT270, "Video System Co.", "Aero Fighters (World / USA + Canada / Korea / Hong Kong / Taiwan) (newer hardware)", MACHINE_SUPPORTS_SAVE | MACHINE_NO_COCKTAIL )
449+
GAME( 1992, aerofgt, 0, aerofgt, aerofgt, aerofgt_state, empty_init, ROT270, "Video System Co.", "Aero Fighters (World / USA + Canada / Korea / Hong Kong / Taiwan) (newer hardware)", MACHINE_SUPPORTS_SAVE | MACHINE_NO_COCKTAIL )
450+
// All clones run on older type hardware and are in pspikes.cpp

0 commit comments

Comments
 (0)