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
darkstar
93f9233fb6
MSVC: Fix usage of gcc __attribute__((packed))
...
Yes, this is ugly but sadly there's no standard way to define packed
structs
2018-02-22 00:46:10 +01:00
darkstar
d213bcf735
MSVC: Try to fix inline assembly for MSVC
...
This is untested and will probably crash :)
2018-02-22 00:45:55 +01:00
darkstar
0c463acbc1
MSVC: Fix preprocessor test for Visual Studio
2018-02-21 21:13:49 +01:00
darkstar
1510a0fe31
CPU: Fix potentially uninitialized variable
2018-02-21 21:13:49 +01:00
darkstar
acc429bb37
MSVC: remove gcc-ism for Visual Studio
...
MSVC does not have __attribute__((foo))
2018-02-21 21:13:48 +01:00
e5d6752760
Added .gitignore
2018-02-21 19:52:54 +00:00
darkstar
c9ddadf715
WINDOWS: Fix resource file
...
One string resource was longer than 256 characters, one duplicate
string ID was fixed, and one key definition was spitting out errors.
The about text will at some point have to be replaced with two separate
string labels, for now I fixed just enough to get it to open in MSVC
2018-02-21 20:32:03 +01:00
waltje
52078bd6d9
Fixed typo in win/win_crashdump.c
2018-02-20 23:37:15 -05:00
a02d58a180
Minor update to readme
2018-02-21 03:17:25 +00:00
waltje
f922783bfa
Merge branch 'master' of https://github.com/VARCem/VARCem
2018-02-20 22:04:50 -05:00
waltje
497ac7b74a
Added DOCS and ROMS folders.
2018-02-20 22:04:24 -05:00
39d420c72c
Corrected IRC network
2018-02-21 02:56:41 +00:00
waltje
5fca7baf7c
Merge branch 'master' of https://github.com/VARCem/VARCem
2018-02-20 21:54:33 -05:00
waltje
7f4ddcd70b
Import of all sources.
2018-02-20 21:52:53 -05:00
629f3379cc
Correct readme markdown.
2018-02-21 02:40:13 +00:00
waltje
8485cbfe1a
Initial upload preparation.
2018-02-20 21:31:53 -05:00
Fred N. van Kempen
b5c7ffde48
first commit
2018-02-11 17:14:09 -05:00