| Previous | 199869 Revisions | Next |
| r40702 Sunday 13th September, 2015 at 10:45:56 UTC by Miodrag Milanović |
|---|
| removed deps from 3rdparty to osd (nw) |
| [3rdparty/portmidi/pm_linux] | pmlinuxalsa.c |
| [3rdparty/portmidi/pm_win] | pmwinmm.c |
| [scripts/src] | 3rdparty.lua |
| r249213 | r249214 | |
|---|---|---|
| 15 | 15 | #include "string.h" |
| 16 | 16 | #include "porttime.h" |
| 17 | 17 | #include "pmlinux.h" |
| 18 | #include "osdcomm.h" | |
| 19 | ||
| 20 | 18 | #include <alsa/asoundlib.h> |
| 21 | 19 | |
| 20 | typedef unsigned int UINT32; | |
| 21 | __extension__ typedef unsigned long long UINT64; | |
| 22 | ||
| 23 | #ifdef PTR64 | |
| 24 | typedef UINT64 FPTR; | |
| 25 | #else | |
| 26 | typedef UINT32 FPTR; | |
| 27 | #endif | |
| 28 | ||
| 22 | 29 | /* I used many print statements to debug this code. I left them in the |
| 23 | 30 | * source, and you can turn them on by changing false to true below: |
| 24 | 31 | */ |
| r249213 | r249214 | |
|---|---|---|
| 19 | 19 | #include "pmwinmm.h" |
| 20 | 20 | #include <string.h> |
| 21 | 21 | #include "porttime.h" |
| 22 | #include "osdcomm.h" | |
| 23 | 22 | |
| 23 | #ifndef _WINDOWS_H | |
| 24 | typedef unsigned int UINT32; | |
| 25 | #endif | |
| 26 | ||
| 27 | #ifndef _WINDOWS_H | |
| 28 | #ifdef _MSC_VER | |
| 29 | typedef unsigned __int64 UINT64; | |
| 30 | #else | |
| 31 | __extension__ typedef unsigned long long UINT64; | |
| 32 | #endif | |
| 33 | #endif | |
| 34 | ||
| 35 | #ifdef PTR64 | |
| 36 | typedef UINT64 FPTR; | |
| 37 | #else | |
| 38 | typedef UINT32 FPTR; | |
| 39 | #endif | |
| 40 | ||
| 24 | 41 | /* asserts used to verify portMidi code logic is sound; later may want |
| 25 | 42 | something more graceful */ |
| 26 | 43 | #include <assert.h> |
| r249213 | r249214 | |
|---|---|---|
| 500 | 500 | kind "StaticLib" |
| 501 | 501 | |
| 502 | 502 | includedirs { |
| 503 | MAME_DIR .. "src/osd", | |
| 504 | 503 | MAME_DIR .. "3rdparty/portmidi/pm_common", |
| 505 | 504 | MAME_DIR .. "3rdparty/portmidi/porttime", |
| 506 | 505 | } |
| https://github.com/mamedev/mame/commit/e3a6e9b0b8df6ee519d9cd660794a71ac708f28f |
| Previous | 199869 Revisions | Next |