Projects/tigris
Projects
/
tigris
Archived
5
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
tigris/TIKI-100_emul-src/messaudio/deprecat.h

72 lines
1.7 KiB
C
Raw Normal View History

/***************************************************************************
deprecat.h
Definition of derprecated and obsolte constructs that should not
be used by new code, if at all possible.
Copyright Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
***************************************************************************/
#pragma once
#ifndef __DEPRECAT_H__
#define __DEPRECAT_H__
#include "mamecore.h"
/*************************************
*
* Global access to the currently
* executing machine.
*
* Please investigate if it is
* possible to use a passed in
* 'machine' argument.
*
*************************************/
2008-09-03 00:07:30 +02:00
//extern running_machine *Machine;
running_machine *Machine;
/*************************************
*
* Old way of allowing "VBLANK"
* interrupts to fire more than once
* a frame.
*
* These should be replaced with
* scanline based interrupts as
* it makes no sense to have more
* than one VBLANK interrupt
* per frame.
*
*************************************/
#define MDRV_CPU_VBLANK_INT_HACK(_func, _rate) \
TOKEN_UINT32_PACK2(MCONFIG_TOKEN_CPU_VBLANK_INT_HACK, 8, _rate, 24), \
TOKEN_PTR(interrupt, _func),
/*************************************
*
* Core timing
*
*************************************/
/* Returns the number of times the interrupt handler will be called before
the end of the current video frame. This is can be useful to interrupt
handlers to synchronize their operation. If you call this from outside
an interrupt handler, add 1 to the result, i.e. if it returns 0, it means
that the interrupt handler will be called once. */
int cpu_getiloops(void);
#endif /* __DEPRECAT_H__ */