Stefanos Kornilios Mitsis Poiitidis
6ae93b31d1
ta: use 256-bit struct
2017-05-16 13:33:37 +02:00
Stefanos Kornilios Mitsis Poiitidis
8e3b9b434c
Cleanup/optimize ta_thd_data32_i
...
- Use 128-byte copies
- read pcw from memory
2017-05-16 12:38:00 +02:00
verybadsoldier
7d49b2212d
alsa-backend: initialize variable "sub unit dir". This variable is passed into alsa as a pointer. Alsa will write to it but also read (!) from it. So the read will give undesired behavior when variable is not initialized. Depending on current alsa-config/hardware it leads to an error "Invalid argument" when submitting the parameters by invoking "snd_pcm_hw_params" a few lines later.
...
Initializing the variable to -1 fixes it and means "set to exact value or less" (http://alsa.opensrc.org/HowTo_Asynchronous_Playback )
2016-10-18 22:31:31 +02:00
Jan Holthuis
b7fa676546
linux-dist/evdev: Use std::Map.find() instead of operator[]
...
Since EvdevControllerMapping does not have a default constructor,
we can't use the operator[];
data_type& operator[](const key_type& k) - Returns a reference to
the object that is associated with a particular key. If the map
does not already contain such an object, operator[] inserts the
default object data_type().
Instead, we use the std::map.find() function.
This should resolve #971 .
2016-09-23 12:54:27 +02:00
Stefanos Kornilios Mitsis Poiitidis
e5d8851316
Merge pull request #964 from Holzhaus/linux-rumble-support
...
Linux rumble support
2016-09-20 13:49:13 +02:00
Stefanos Kornilios Mitsis Poiitidis
42e6a62fac
Merge pull request #877 from KrossX/purupuru
...
X360 controller support for Windows + Rumble
2016-09-17 22:26:46 +02:00
Jan Holthuis
fdc3de7870
Port right motor adjustment to linux version
...
This adapts KrossX' commit c37c5c42e4
so
that we can use it in the linux version, too.
2016-09-13 14:54:29 +02:00
Stefanos Kornilios Mitsis Poiitidis
88c6bb6293
Merge pull request #905 from reicast/holzhaus/buffer-overflows
...
Fix some buffer overflows
2016-09-12 22:23:24 +02:00
Stefanos Kornilios Mitsis Poiitidis
3ed70a26fb
Merge pull request #914 from ghost/issue-883
...
Update softrend.cpp
2016-09-12 22:19:39 +02:00
Twinaphex
a5b7011c57
Merge pull request #929 from Hyell/master
...
Multiplayers with configuration file
2016-05-15 14:48:40 +02:00
Twinaphex
3cb39268a9
Merge pull request #926 from reicast/ftrc-fix
...
ftrc fix - revert back to nulldc defaults
2016-05-14 04:44:24 +02:00
Stefanos Kornilios Mitsis Poiitidis
7c5e49a6d2
dyna: Fix f2i canonical + x86 to saturate
2016-05-14 04:15:16 +03:00
twinaphex
b606593774
ftrc fix - revert back to nulldc defaults
2016-05-13 14:44:53 +02:00
twinaphex
ccfb6b635a
Delete spurious code - fixes sprite palette issue with games like
...
Street Fighter III 3rd Strike/Capcom Vs SNk 2, possibly others
2016-05-13 14:37:47 +02:00
Hyell
469dda0e57
Update maple_cfg.cpp
...
Add players.nb option in emu.cfg. You can add 1-4 SegaController.
2016-04-26 17:06:45 +02:00
Hyell
6c49f0a852
Update maple_cfg.cpp
2016-04-25 12:10:12 +02:00
pvezien
e093f679a8
Update softrend.cpp
2016-04-13 09:20:33 +12:00
Jan Holthuis
52afec6f7d
Merge pull request #832 from reicast/holzhaus/sdl-opengl
...
Move to SDL2 for OpenGL 3.1 and GLES support
2016-03-04 15:13:25 +01:00
Jan Holthuis
ef1994549b
webui/server.cpp: Fix buffer overflow in callback_http()
2016-02-22 18:55:34 +01:00
Jan Holthuis
1868f1e91f
imgread/gdi.cpp: Fix buffer overflow in load_gdi()
2016-02-22 18:55:34 +01:00
Jan Holthuis
b106efde5f
imgread/common.cpp: Add buffer size checks in case buffer size are changed later
2016-02-22 18:55:33 +01:00
Jan Holthuis
1a809fc60e
hw/naomi/naomi_cart.cpp: Fix 3 buffer overflows in naomi_cart_LoadRom()
2016-02-22 18:55:33 +01:00
Jan Holthuis
9e937957f7
hw/flashrom/flashrom.h: Fix buffer overflow in MemChip::Load()
2016-02-22 18:55:33 +01:00
Jan Holthuis
5638b872ac
cfg/ini.cpp: Fix buffer overflow in ConfigFile::parse()
2016-02-22 18:55:33 +01:00
Jan Holthuis
2866c879ac
cfg/cfg.cpp: Mark possible buffer overflow
2016-02-22 18:31:36 +01:00
Phil Eichinger
dde4647e55
Fix the check for the enviroment variable
...
I tried running reicast and it immediately died with:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Aborted
I was missing the environment variable XDG_CONFIG_DIRS
Turns out find_system_config_dirs() checked for the existence of
XDG_DATA_DIRS but then tried to use XDG_CONFIG_DIRS (non-existent in my
case).
fixes #847
2016-01-30 10:29:36 +01:00
KrossX
d4d782c71c
Remove unused lines.
2016-01-22 15:08:29 -03:00
Jan Holthuis
6b1a02e971
Merge remote-tracking branch 'krossx/purupuru' into linux-rumble-support
2016-01-22 14:39:18 +01:00
KrossX
c37c5c42e4
Right motor adjustment
2015-12-17 22:10:55 -03:00
Stefanos Kornilios Mitsis Poiitidis
ad7e23d849
Merge pull request #846 from reicast/feat/ta-hash-logs
...
rend/if: Logging/verification of MD5(ta command list data)
2015-12-14 04:15:37 +01:00
Stefanos Kornilios Mitsis Poiitidis
f868fc0655
Merge pull request #841 from reicast/wip/osx-ios-sound
...
apple: Add primitive core audio support
2015-12-14 04:06:01 +01:00
Stefanos Kornilios Mitsis Poiitidis
6c3c726019
softrend: Fix windows build
2015-12-14 03:11:40 +01:00
Stefanos Kornilios Mitsis Poiitidis
af01baae75
linux/softrend: Optional via makefile, sse4.1 detection
2015-12-14 02:40:23 +01:00
Jan Holthuis
cc5719e845
Linux/evdev: Add Force Feedback/Rumble support
2015-12-14 01:09:03 +01:00
Stefanos Kornilios Mitsis Poiitidis
f3e4416bb4
linux/softrend: Cleanup accidental file changes
2015-12-13 14:08:16 +01:00
Stefanos Kornilios Mitsis Poiitidis
62018cf203
linux/softrend: Fix porting bugs, hackplement X11 drawing
...
- Fix RECT fields oder (initialized via {} on the code)
- Initialize shuffle_alpha (duh ...)
- X11 Image drawing (hacky, depends on internal X11 details)
- Untwidle code w/ optional flipping (X11 doesn't use inverted bitmaps)
- rgba shuffling (not needed yet, but left for documentation)
2015-12-13 14:00:25 +01:00
Stefanos Kornilios Mitsis Poiitidis
5e377399d3
linux/softrend: builds & runs, doesn't push to screen yet
2015-12-13 14:00:25 +01:00
KrossX
c42986e63f
Unplug PuruPuru Pack
...
Ooops.
2015-12-07 21:30:07 -03:00
KrossX
832eeeb419
Might help compilation in other platforms
...
I cannot verify it though.
2015-12-07 21:27:19 -03:00
KrossX
b59ca13cfe
Implemented PuruPuru device
...
Includes a simple XInput implementation for Windows.
2015-12-07 21:21:03 -03:00
KrossX
b566092d28
Basic XInput support for Windows
...
Adds simple X360 controller support for Windows.
2015-12-07 20:09:15 -03:00
Jan Holthuis
20d43fb04e
SDL: Remove some unused variables
2015-10-11 18:41:23 +02:00
Jan Holthuis
098e208a57
SDL: Drop SDL1.2 support and use SDL2 for GLES, too
2015-10-11 18:41:23 +02:00
Jan Holthuis
b38813ca34
SDL: Add OpenGL3/SDL2 support
2015-10-11 18:41:23 +02:00
Stefanos Kornilios Mitsis Poiitidis
7d951b7697
rend/if: Logging/verification of MD5(ta command list data)
...
This allows for some very primitive auto-automated testing, by comparing known good frames.
As this happens on the TA level, it doesn't actually require rendering (and thus it's server friendly)
Two new config entries under the new [testing] namespace control behavior
- ta.HashLogFile, file where data should be logged, empty if not logging
- ta.HashCheckFile, past log to check against, empty if not checking
The emu will crash via verify if the logs don't match, and exit(1) if they do
2015-10-05 23:49:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
d85e4d8dff
sh4/mmu: Don't use exceptions when disabled
2015-09-29 03:17:26 +02:00
Stefanos Kornilios Mitsis Poiitidis
d99c803a0c
sh4/mmu: Typo fixes, less log spam
2015-09-29 03:11:28 +02:00
Stefanos Kornilios Mitsis Poiitidis
4a060b5635
sh4/mmu: C++ exception based sh4 exception support. Won't run wince yet.
...
- Rewrite mem ops to only modify regs after exception path
- Throw & catch logic for interpreter that raises the exception
- Re-enabled some commented mmu code
2015-09-29 03:11:28 +02:00
Stefanos Kornilios Mitsis Poiitidis
4282395528
apple: Add primitive core audio support
...
Also made the project xcode 7 friendly
2015-09-29 03:10:19 +02:00
Stefanos Kornilios Mitsis Poiitidis
543e355259
Merge pull request #826 from reicast/holzhaus/merge-sdl-into-linux-dist
...
SDL: Merge sdl/ code into linux-dist/ code
2015-09-23 11:42:46 +02:00