Commit Graph

1752 Commits

Author SHA1 Message Date
Stefanos Kornilios Mitsis Poiitidis ca837e19b8 Merge pull request #986 from verybadsoldier/init_sub_unit_dir
alsa-backend: initialize variable "sub unit dir"
2016-12-31 13:47:02 +02:00
Stefanos Kornilios Mitsis Poiitidis 6aba7ffe5e Merge pull request #996 from reicast/skmp/osx-fixes
osx: update swift code
2016-12-31 13:44:30 +02:00
Stefanos Kornilios Mitsis Poiitidis fd4d600d3f osx: update swift code 2016-12-30 16:35:08 +02:00
TwistedUmbrella aca9cb6919 Android debug domain hosting update 2016-11-21 01:39:58 -05: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
TwistedUmbrella d8a7212d69 Merge pull request #975 from reicast/lk/cleanup
Restore switch compatibility for legacy Android
2016-09-25 15:30:33 -04:00
TwistedUmbrella 696a786b72 Restore switch compatibility for legacy Android 2016-09-23 23:54:01 -04:00
Jan Holthuis 2cac29f3c1 Merge pull request #972 from reicast/holzhaus/fix-evdev-compile
linux-dist/evdev: Use std::Map.find() instead of operator[]
2016-09-23 13:09:44 +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
TwistedUmbrella 7945372063 Merge pull request #965 from reicast/lk/cleanup
Clean formatting, Remove unnecessary variables
2016-09-14 16:13:07 -04:00
TwistedUmbrella f7d1a677a9 Restore dialog definition to file browser 2016-09-14 15:31:35 -04:00
TwistedUmbrella 0c86473e2d Clean formatting, Remove unnecessary variables 2016-09-14 15:24:02 -04:00
TwistedUmbrella 34d9471104 Merge pull request #953 from reicast/lk/cleanup
Cleanup and rework to start fixing issues ;)
2016-09-14 15:10:21 -04: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
Jan Holthuis 99a4ee3f0f Merge pull request #963 from reicast/holzhaus/joyconfig-enter-fix
linux/reicast-joyconfig: Fix keyboard support
2016-09-13 13:17:20 +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
Jan Holthuis 215c02e369 linux/reicast-joyconfig: Implement noecho terminal mode for keyboards 2016-09-12 17:51:50 +02:00
Jan Holthuis 8fd33291cf linux/reicast-joyconfig: Flush stdin via termios if possible
This might be necessary to get rid of input characters from mapping
keyboard buttons.
2016-09-12 14:15:55 +02:00
Jan Holthuis dc025c7502 linux/reicast-joyconfig: Discard ALL events in the clear_events() function
This should fix #962.
2016-09-12 14:15:39 +02:00
Stefanos Kornilios Mitsis Poiitidis 04137ca950 Merge pull request #961 from sl1pkn07/master
Fix build with pulseaudio. fix https://github.com/reicast/reicast-emulator/issues/934
2016-09-07 12:02:28 +02:00
Gustavo Alvarez b0fc4ed981 Fix build with pulseaudio. fix https://github.com/reicast/reicast-emulator/issues/934 2016-09-03 20:11:45 +02:00
TwistedUmbrella 1f493134ef Fix overzealous import removal, Toast references 2016-08-16 11:06:53 -04:00
TwistedUmbrella cf7e62fd5c Use hardware acceleration, if available 2016-08-15 03:52:38 -04:00
TwistedUmbrella a501d9288b Align toast usage with definition 2016-08-15 03:52:35 -04:00
TwistedUmbrella 41ae2261bb Add / update high resolution changelog icons 2016-08-04 17:35:41 -04:00
TwistedUmbrella dd9dba700f Remove extraneous libraries, git API scope 2016-08-03 16:49:31 -04:00
TwistedUmbrella b68c8ab3dc Organize imports, Clean up Github integration 2016-08-03 16:49:21 -04:00
Twinaphex 73e2691c61 Merge pull request #931 from rohit-n/linux-cmake
Fix Linux build under CMake.
2016-05-22 19:04:52 +02:00
Rohit Nirmal 3c9ed1b3c1 Fix Linux build under CMake. 2016-05-22 11:59:13 -05: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
Stefanos Kornilios Mitsis Poiitidis 3d7d73e1e5 Merge pull request #927 from reicast/sprite-palette-fix
texcache: fix vram_lock to actually lock the entire texture
2016-05-13 20:16:21 +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
Stefanos Kornilios Mitsis Poiitidis 0a1689cb40 Fix broken ru xml 2016-03-17 01:30:22 +02: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