Stefanos Kornilios Mitsis Poiitidis
1ada311513
Continuous delivery to play store beta from travis
...
Merge pull request #1210 from reicast/skmp/reicast-beta-cd
Should build and deploy from master only
*crosses fingers*
2018-07-14 19:42:31 +02:00
barbudreadmon
8e7b6b72e1
(Naomi) Fix for "The Rumble Fish 2"
...
As confirmed by MettalliC, the correct value is 32KB
2018-07-11 18:14:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
5525d5dde2
core: Android studio fixes
...
- Clang edge cases for shifts
- Avoid generating relocs by not using global symbols in ngen_arm.S (fixes #1109 )
2018-07-09 09:31:45 +02:00
Greg V
5d69e19ed1
Build on FreeBSD (and potentially other BSD)
2018-07-08 15:43:10 +03:00
Stefanos Kornilios Mitsis Poiitidis
03170fc0ef
Merge pull request #1163 from reicast/lk/android-studio
...
Android Studio Conversion
2018-07-08 11:12:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
ae2b5e33b5
core.mk: Revert `-O0 -g` to `-O3`
2018-07-08 02:22:32 +02:00
TwistedUmbrella
64656a6eb3
rec_x64: Avoid recipe for target failed error
2018-07-03 09:09:30 -04:00
TwistedUmbrella
295570a9f3
Android: resolve posix_memalign NDK inconsistency
2018-07-03 08:45:39 -04:00
Stefanos Kornilios Mitsis Poiitidis
f45f888d0b
Use platform specific first argument register
2018-07-01 12:15:59 +02:00
Stefanos Kornilios Mitsis Poiitidis
ad05c35a7e
Implement CheckBlock for x64
2018-06-29 15:19:49 +02:00
Stefanos Kornilios Mitsis Poiitidis
c52165adbd
Update XBYAK to 71b75f653f3858403eb33d48f6346eef34b837fe
2018-06-29 15:18:57 +02:00
TwistedUmbrella
bf62cb8bd1
Prevent overriding Android setting w/ config.ini
2018-06-25 12:04:26 -04:00
TwistedUmbrella
571b68d468
Fix building Windows alongside Android Studio
...
Windows: resolve missing reference to _SC_OPEN_MAX
https://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00023.html
https://libwebsockets.org/lws-api-doc-master/html/libwebsockets_8h_source.html
Windows: comment duplicate x86_ptr_imm definition
Replaced by more explicit type definitions. Fixes x64 compile
Restore secondary x86_ptr_imm for non-Windows
This appears to be a necessary duplicate for other platforms.
2018-06-25 12:04:14 -04:00
Stefanos Kornilios Mitsis Poiitidis
563052a2e8
Really force -fPIC everywhere
2018-06-25 12:04:14 -04:00
Stefanos Kornilios Mitsis Poiitidis
86593d82e7
Add fpic option, remove ndk build stuff
2018-06-25 12:04:13 -04:00
Stefanos Kornilios Mitsis Poiitidis
1933aff8a2
First steps for android studio builds
2018-06-25 12:04:07 -04:00
TwistedUmbrella
e6afd22f98
Merge pull request #1191 from baka0815/gdi_skipws
...
GDI: Reset skipws-flag
2018-06-25 10:33:34 -04:00
git@baka0815.de
852d644a5f
GDI: Explicitly set skipws-flag
...
It's not neccesarry to set it every iteration, so just set it before and reset it afterwards.
2018-06-25 09:14:51 +02:00
Christoph "baka0815" Schwerdtfeger
41ee5707a8
GDI: Reset skipws-flag
2018-06-24 14:30:46 +02:00
barbudreadmon
2e8a87cbdf
Allow loading of lst files (Naomi support #1188 )
2018-06-21 19:24:05 +02:00
TwistedUmbrella
75189f0a78
Merge pull request #1180 from baka0815/unused_code
...
Removed unused code in core/linux-dist/main.cpp
2018-06-14 15:52:23 -04:00
Christoph "baka0815" Schwerdtfeger
3d43505504
Allow for custom <device>.cfg files in the /mappings/ directory.
...
Check if a configuration file named exactly like the device exists in the /mappings/ directory.
If it does, use this instead of the generic one.
Expose file_exists() from stdclass.
2018-06-13 19:33:51 +02:00
Christoph "baka0815" Schwerdtfeger
2e4cf087bd
Refactored and fixed X11 buttons.
...
Replaced magic number with X11 constants.
Added keys for left and right shoulder buttons.
Added key for (missing) Y button.
Moved the debug printf() where it belongs.
2018-06-13 19:24:48 +02:00
Christoph "baka0815" Schwerdtfeger
8309eb7d6a
Added most important X11-keys as constants.
2018-06-13 19:23:20 +02:00
Christoph "baka0815" Schwerdtfeger
e6854ef87d
Removed unused code in core/linux-dist/main.cpp
...
This is a leftover from #964
2018-06-13 19:17:20 +02:00
Flyinghead
08b8d30589
Implement clipping. Enabled by default.
2018-06-09 18:11:47 +02:00
Stefanos Kornilios Mitsis Poiitidis
d0cd5a5f64
Merge pull request #1152 from flyinghead/fh/modvols
...
Enable modifier volumes. Fix for exclusion volumes.
2018-06-09 17:52:51 +02:00
Flyinghead
7640a35720
Draw modifier volumes only if enabled in settings (defaults to true)
2018-06-09 17:22:01 +02:00
Flyinghead
1f95eb243c
Fix video choppiness
2018-06-07 19:06:16 +02:00
Flyinghead
c427997269
Enable modifier volumes. Fix for exclusion volumes. Prevent overflow of modifier triangles (JGR).
2018-05-19 10:13:00 +02:00
rrrh
bcdf38da0a
Merge pull request #1130 from reicast/rrrh/osx-high-sierra
...
Rrrh/osx high sierra
2018-04-21 19:26:27 +02:00
Hugo Hackenstein
d653d4e009
Remove unneeded stdlib include
2018-04-21 19:01:24 +02:00
Hugo Hackenstein
4fcb95a0d1
Mac compile on OSX - Remove deprecated malloc.h include and switch to stdlib.h instead
2018-04-21 19:00:36 +02:00
Stefanos Kornilios Mitsis Poiitidis
34b495baa7
Merge pull request #1098 from reicast/pr/1092
...
fix gdi track parsing in unix #1092
2018-04-19 20:51:13 +02:00
Stefanos Kornilios Mitsis Poiitidis
90e901f4a3
gdi: Normalize paths, add test gdi files
2018-04-18 22:28:05 +02:00
gizmo98
4a7d0b9e7e
rpi: add option to use mesa or new vendor gl libs
2018-04-11 21:42:57 +02:00
gizmo98
b09356f3f7
Fix GCC6 "Bool" issue
2018-04-11 21:37:31 +02:00
Stefan
8c967b0591
Merge pull request #1 from OrN/rpi2-stuff
...
omx audio backend, and dispmanx window
2018-04-11 21:33:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
4300951b51
gdi: Cleanup path code, use C++ strings
2018-04-11 11:40:15 +02:00
Stefanos Kornilios Mitsis Poiitidis
fe30e58504
tactx: Actually use aligned alloc functions
2018-04-11 11:06:46 +02:00
Stefanos Kornilios Mitsis Poiitidis
894e9f1414
Cleanup changes for merge with master
2018-04-09 21:11:06 +02:00
hissingshark
d1bac19a0a
Fixed blunder and changed OS test.
2018-04-05 16:58:23 +01:00
hissingshark
dec5c7bdd2
Added helper functions for aligned memory (de)allocation
2018-04-05 12:13:49 +01:00
hissingshark
3ab9c22516
Fix issue from PR #1023
2018-04-03 17:38:30 +01:00
TwistedUmbrella
fb418d568c
Don't skip whitespace when reading filename
...
https://stackoverflow.com/a/6774866
2018-04-02 03:51:38 -04:00
TwistedUmbrella
052c5c1cb3
Fix for Windows missing definition of ssize_t
2018-04-02 02:54:30 -04:00
Stefanos Kornilios Mitsis Poiitidis
c832df6d62
Merge pull request #1078 from nadenislamarre/nae_get_entry
...
cfg/get_entry: Validate that virtual section has virtual key before using it
2018-03-27 23:01:26 +02:00
i30817
3fdd7f50ea
fix gdi track parsing in unixx
...
Same problem as https://github.com/libretro/reicast-emulator/pull/24
in unix that iteration would not work if the path of the original .gdi file (where we are finding the 'parent directory') was:
1. not existent, ie a gdi on the same directory as the current. It was iterating until the index 3 and stop there. Disaster strikes later ofc, if the first characters weren't C:\ or other thing like that.
2. in a relative subdirectory that is 'small enough' ie: a/crazy-taxi.gdi. In this case the last '/' wouldn't be found, the derived string would be 'crazy-taxi.gdi' and the file not found ofc.
Anyway, this can be solved simply by searching the whole string and using a signed integer. It will go up to -1, stop iteration and increase to 0 on the len++.
Dunno if using relative subdirectories for the tracks on *other* platforms works because of the path separator being different from what's inside the gdi but with this code fixed it works on linux with / at least.
2018-03-25 18:53:18 +01:00
TwistedUmbrella
045ab285ca
Merge pull request #1068 from promi/fix-evdev_mapping
...
Fix #1051
2018-03-09 12:35:06 -05:00
Nicolas HOUDELOT
5c343a219c
fix typo
2018-03-05 01:57:00 +01:00
Nicolas Adenis-Lamarre
8ba58a3d9d
configuration parsing: get_entry must not look into virtual sections only
...
in emu.cfg, when i set rend.WideScreen = 1, its not read.
has_entry and get_entry doesn't use the same check,
thus while has_entry can return true, get_entry can not return the entry.
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2018-02-13 23:20:23 +01:00
Promi
5615694ea0
Fix #1051
2017-12-09 15:51:57 +01:00
TwistedUmbrella
c80dbb1629
Create Xcode external build system for zlib
2017-06-17 09:18:27 -04:00
TwistedUmbrella
158eef7883
Remove fp.h leftovers after limping update
2017-06-04 13:38:56 -04:00
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
Preston Smith
6f1fa1ab08
omx audio backend, and dispmanx window
2016-09-21 17:21:13 -05: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