mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
pit8253: Small typo fix (no credit)
This commit is contained in:
parent
4bfcd73cc3
commit
4ff4cc3ae0
@ -102,12 +102,13 @@ struct _pit8253_t
|
||||
***************************************************************************/
|
||||
|
||||
/* makes sure that the passed in device is of the right type */
|
||||
INLINE pit8253_t *get_safe_token(running_device *device) {
|
||||
assert( device != NULL );
|
||||
assert( device->token != NULL );
|
||||
assert( ( device->type == DEVICE_GET_INFO_NAME(pit8253) ) ||
|
||||
( device->type == DEVICE_GET_INFO_NAME(pit8254) ) );
|
||||
return ( pit8253_t * ) device->token;
|
||||
INLINE pit8253_t *get_safe_token(running_device *device)
|
||||
{
|
||||
assert(device != NULL);
|
||||
assert(device->token != NULL);
|
||||
assert((device->type == PIT8253) || (device->type == PIT8254));
|
||||
|
||||
return (pit8253_t *) device->token;
|
||||
}
|
||||
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
D5 3 | | 22 _RD
|
||||
D4 4 | | 21 _CS
|
||||
D3 5 | | 20 A1
|
||||
D2 6 | | 19 A0
|
||||
D1 7 | 8259A | 18 CLK2
|
||||
D2 6 | 8253 | 19 A0
|
||||
D1 7 | | 18 CLK2
|
||||
D0 8 | | 17 OUT2
|
||||
CLK0 9 | | 16 GATE2
|
||||
OUT0 10 | | 15 CLK1
|
||||
|
Loading…
Reference in New Issue
Block a user