Previous 15994 Revisions Next

r7825 Friday 16th April, 2010 at 08:41:23 UTC by Miodrag Milanović
[TED7360] Fixed assert
[src/mess/audio]ted7360.c

src/mess/audio/ted7360.c
r7824r7825
501501{
502502   assert(device != NULL);
503503   assert(device->token != NULL);
504   assert(device->type == TED7360);
504   assert(device->type == SOUND);
505505
506506   return (ted7360_state *)device->token;
507507}
r7824r7825
509509INLINE const ted7360_interface *get_interface( running_device *device )
510510{
511511   assert(device != NULL);
512   assert((device->type == TED7360));
512   assert(device->type == SOUND);
513513   return (const ted7360_interface *) device->baseconfig().static_config;
514514}
515515

Previous 15994 Revisions Next


© 1998-2018 The MESS Team