darkstar
54f7fb57aa
MSVC: Switch to full debug info for debug builds
2018-02-26 01:00:45 +01:00
darkstar
67247b6627
WIN: Try to be more verbose when CreateDevice fails
2018-02-26 01:00:44 +01:00
darkstar
611688a65f
MSVC: Add Visual Studio cruft to .gitignore
2018-02-26 01:00:37 +01:00
darkstar
176a4e1335
MSVC: Add the missing include directories
2018-02-26 00:58:02 +01:00
darkstar
16e6a62610
MSVC: Add missing include file ip6_misc.h
...
It is not required for mingw but contains compatibility declarations for
Visual Studio.
2018-02-26 00:58:02 +01:00
darkstar
54af3956fc
MSVC: Fix Visual Studio solution files
2018-02-26 00:55:04 +01:00
waltje
a9d55e67ce
Cleanup, move support files into src/win/, etc.
2018-02-25 17:12:00 -05:00
waltje
c39f12691c
Fixed some warnings and crashes (from upstream.)
2018-02-25 04:19:43 -05:00
waltje
440c565d12
Whoops... updated support folder.
2018-02-25 02:44:07 -05:00
waltje
9f4c8423d6
Cleanups, some fixes, moved zip.ch into the disk/ folder.
2018-02-25 02:33:19 -05:00
2da54a4ca0
Fix typo in travis configuration file.
...
Signed-off-by: Natalia Portillo <claunia@claunia.com >
2018-02-25 05:59:59 +00:00
ffb63c8f69
Adjusted IRC message from Travis.
...
Signed-off-by: Natalia Portillo <claunia@claunia.com >
2018-02-25 05:54:33 +00:00
129c86a0fd
Remove user dependent properties from Visual C++ project.
...
Signed-off-by: Natalia Portillo <claunia@claunia.com >
2018-02-25 05:34:31 +00:00
waltje
83160514df
Updated Travis-CI files.
2018-02-25 00:31:30 -05:00
2c318ff468
Added Travis IRC notifications.
...
Signed-off-by: Natalia Portillo <claunia@claunia.com >
2018-02-25 05:25:04 +00:00
1d63ae54d1
Added initial Travis-CI configuration file.
...
Signed-off-by: Natalia Portillo <claunia@claunia.com >
2018-02-25 05:19:03 +00:00
waltje
39bac2f808
Added support files for cross-compiling using MinGW.
2018-02-24 23:21:28 -05:00
waltje
51aecc4ba6
Several cleanups, dynloading OpenAL and FluidSynth, update makefile for crosscompiling using MinGW.
2018-02-24 23:16:31 -05:00
waltje
779cbe062d
*** NEW ROMSET REQUIRED! 20180222 *** Updated locations of ROM images, updated spellings, fixed several warnings.
2018-02-23 03:26:39 -05:00
Fred N. van Kempen
a7f0d8d6f7
Merge pull request #4 from darkstar/fixes
...
MSVC: Change .cc to .cpp and remove riva128
2018-02-22 20:34:40 -05:00
darkstar
fb2a5b8c28
MSVC: Change .cc to .cpp and remove riva128
2018-02-23 00:45:17 +01:00
waltje
b024b7e76e
Removed the Riva driver from the source tree.
2018-02-22 17:44:03 -05:00
waltje
74815e643e
Small fixes, renamed remaining .cc files to .cpp.
2018-02-22 17:35:23 -05:00
Fred N. van Kempen
e7d7a5274e
Merge pull request #3 from darkstar/fixes
...
Fix some bugs when using MSVC
2018-02-22 16:21:52 -05:00
darkstar
d502378d17
ALL: Fix SCCS IDs
2018-02-22 21:13:37 +01:00
darkstar
0355007904
WIN: Replace wsprintf() by swprintf()
...
wsprintf() is deprecated, has a potential for buffer overflows (no
length parameter), and doesn't handle 64-bit format strings (%llu and
friends) at all. Three good reasons to get rid of it...
2018-02-22 20:23:52 +01:00
darkstar
f0193aa38c
MSVC: Fix stack allocation
...
Maybe it *was* a bit late last night... ;-)
2018-02-22 19:07:04 +01:00
darkstar
0fbe93e320
SOUND: Turns out emu.h needs uint64_t defined...
...
At least on MSVC this needs stdint.h so we put that in here as well
2018-02-22 18:33:07 +01:00
waltje
9116f48ac3
Fixing typos, cleaning up some fixes, updated file header version/dates.
2018-02-22 02:54:49 -05:00
Fred
20414c5ba8
Merge pull request #2 from darkstar/msvc
...
Fix compilation on Microsoft Visual Studio -- checked.
2018-02-21 20:59:38 -05:00
darkstar
47cfdd8e0e
MSVC: Add Visual Studio 2017 project files
...
For now, only the 32bit build has been tested. x64 will probably break.
2018-02-22 01:51:53 +01:00
darkstar
9d6e16fb21
WIN: Fix another uninitialized variable
2018-02-22 01:50:46 +01:00
darkstar
53b129dfb4
CDROM,WIN: guard header files against C/C++ mixup
2018-02-22 01:42:47 +01:00
darkstar
8754488461
MSVC: Add alias for strcasecmp -> _stricmp
2018-02-22 01:14:03 +01:00
darkstar
2e70f7b112
WIN: Fix another potentially uninitialized variable
2018-02-22 00:57:25 +01:00
darkstar
f0b191fa8d
VIDEO: Fix compilation of voodoo.c in MSVC
...
This required changing dynamically allocated stack arrays to using
_alloca(), adding an additional include for the __m128i type, and
changing the prototype of the init() function to conform with the
device_t requirements
2018-02-22 00:57:14 +01:00
darkstar
e5c3fce2a7
VIDEO: Change __inline__ to __inline
2018-02-22 00:56:39 +01:00
darkstar
b8432a21a5
SOUND: Use alloca() for stack allocations
...
Using an array with a variable size is a gcc extension and is not
portable. The _alloca() method works but should be reworked at some point
to make use of a static buffer
2018-02-22 00:56:19 +01:00
darkstar
3b0c18d419
SOUND: Fix some more function prototypes
2018-02-22 00:46:13 +01:00
darkstar
c832d0a91b
WIN: Fix some more uninitialized variable issues
2018-02-22 00:46:12 +01:00
darkstar
d66f26ae8b
MSVC: Work around a DirectX SDK issue
...
The symbol DIDEVTYPE_JOYSTICK gets defined only if DIRECTINPUT_VERSION
is < 0x700, but then all DX8 symbols are missing. This probably works
just fine with mingw headers.
Since it's only one symbol that's missing, we'll just define that
locally
2018-02-22 00:46:12 +01:00
darkstar
20f7a186f8
WIN: Don't use pointer arithmetic with void*
2018-02-22 00:46:12 +01:00
darkstar
816da41836
MSVC: Use intrinsics for rotating left/right
...
Also use the proper define to check for MSVC compiler
2018-02-22 00:46:12 +01:00
darkstar
97d9521cec
MSVC: Some more foo() vs foo(void) fixes
2018-02-22 00:46:11 +01:00
darkstar
bd8bdf509c
MSVC: Fix strerror() redefinition for MSVC
2018-02-22 00:46:11 +01:00
darkstar
03f1de3f09
SCSI: Fix some uninitialized variables
2018-02-22 00:46:11 +01:00
darkstar
81a8f22a95
SCSI: Change __inline__ to __inline
...
This is what is used everywhere else in the source code.
Also, MSVC knows only __inline but not __inline__, so it fixes
compilation there too.
2018-02-22 00:46:11 +01:00
darkstar
2ee11bf9d0
GAME: Fix a warning about different function prototype
...
Apparently, for MSVC, int foo() is not the same as int foo(void)...
2018-02-22 00:46:10 +01:00
darkstar
d611ae51fd
FLOPPY: Fix potentially uninitialized variables
2018-02-22 00:46:10 +01:00
darkstar
fa9334abba
MSVC: Use the correct functions for file access
2018-02-22 00:46:10 +01:00