5
5
// Inline implementations for MSVC compiler.
7
// Copyright Nicola Salmoria and the MAME Team.
8
// Visit http://mamedev.org for licensing and usage restrictions.
7
//============================================================
9
// Copyright Aaron Giles
10
// All rights reserved.
12
// Redistribution and use in source and binary forms, with or
13
// without modification, are permitted provided that the
14
// following conditions are met:
16
// * Redistributions of source code must retain the above
17
// copyright notice, this list of conditions and the
18
// following disclaimer.
19
// * Redistributions in binary form must reproduce the
20
// above copyright notice, this list of conditions and
21
// the following disclaimer in the documentation and/or
22
// other materials provided with the distribution.
23
// * Neither the name 'MAME' nor the names of its
24
// contributors may be used to endorse or promote
25
// products derived from this software without specific
26
// prior written permission.
28
// THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND
29
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
31
// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
32
// EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
33
// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34
// DAMAGE (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
35
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
36
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
37
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
38
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
39
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
40
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10
42
//============================================================