mirror of
https://github.com/holub/mame
synced 2025-05-17 11:15:06 +03:00
VC2008 compile fixes (no whatsnew)
This commit is contained in:
parent
d5f2a3933b
commit
d9e7f17f10
@ -218,7 +218,7 @@ bsmt2000_device::bsmt2000_device(running_machine &_machine, const bsmt2000_devic
|
||||
void bsmt2000_device::device_start()
|
||||
{
|
||||
// find our CPU
|
||||
m_cpu = subdevice<tms32015_device>("bsmt2000");
|
||||
m_cpu = downcast<tms32015_device*>(subdevice("bsmt2000"));
|
||||
|
||||
// find our direct access
|
||||
m_direct = &space()->direct();
|
||||
|
@ -34,7 +34,12 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef _MSC_VER
|
||||
#include <io.h>
|
||||
#define S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC)
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#ifdef SHARED_MEM_DRIVER
|
||||
#include <sys/mman.h>
|
||||
|
Loading…
Reference in New Issue
Block a user