waltje
a4802a9231
Updated files with upstream commits where needed.
...
Fixed "Settings"crash bug.
Cleaned up some video config issues.
2018-03-06 15:53:32 -05:00
waltje
8d10faf156
Changes to allow the VARCem binaries and support DLLs to be in <root>/bin, to keep things clean.
2018-03-03 00:47:58 -05:00
waltje
984ba87ead
Merge branch 'master' of https://github.com/VARCem/VARCem
2018-03-02 19:03:02 -05:00
waltje
227f0446ec
Updated ROM BIOS handling to use the external loader.
...
Several cleanups and fixes here and there.
Updated (Windows) UI to properly handle resets and changes in Settings.
Updated to no longer scan for roms at startup.
2018-03-02 19:01:48 -05:00
darkstar
cb572705d3
MSVC: Enable the use of OpenAL for sound output
2018-02-26 01:33:42 +01:00
darkstar
6d9a85869e
MSVC: Fix the function pointer declarations for OpenAL
...
The __cdecl needs to go inside the parentheses... I hope this also works
for mingw...
2018-02-26 01:33:01 +01:00
darkstar
ddec4cf012
MSVC: Move the ip6_misc.h file to its intended location
2018-02-26 01:14:12 +01:00
darkstar
ed0e7d53f0
WIN: Update rcsid for win_d3d.cpp
2018-02-26 01:04:31 +01:00
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
176a4e1335
MSVC: Add the missing include directories
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
9f4c8423d6
Cleanups, some fixes, moved zip.ch into the disk/ folder.
2018-02-25 02:33:19 -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
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
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
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
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
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