Commit Graph

199 Commits

Author SHA1 Message Date
Flyinghead d28a7f45c5 vulkan: android support
align uniform buffers according to physical device requirements
destroy old swap chain before creating new one
some drivers don't support some 16-bit texture formats for optimal
tiling
2019-10-15 16:49:20 +02:00
Flyinghead b1defae3f7 vulkan renderer - WIP 2019-10-05 11:50:14 +02:00
Flyinghead 537c2a4ed6 pvr: reset face and offset colors when not set in poly param
Fixes black ice in NHL 2K2 and black players in NHL 2K
Clean up
Don't build soft renderer
2019-09-21 22:53:09 +02:00
flyinghead e6acf3563f win32 build fix 2019-08-15 11:44:17 +02:00
flyinghead 115dd1ab00 win32: link statically to avoid any dll dep 2019-08-15 11:30:56 +02:00
Flyinghead 1333d6f776 Remove TARGET_BOUNDED_EXECUTION. Build warnings and clean up 2019-07-28 17:37:04 +02:00
Flyinghead 4884dbc400 get rid of DC_PLATFORM and build flavors 2019-07-11 19:55:03 +02:00
Flyinghead 449d150eba android: build fix
clean up files comitted by mistake
2019-07-10 09:57:08 +02:00
Flyinghead f3a91de1af Unify dreamcast, naomi and atomiswave builds WIP 2019-07-09 23:52:19 +02:00
Flyinghead 75cdd93001 remove webui, libwebsocket 2019-07-07 23:40:13 +02:00
Flyinghead fd7cf9a0f5 linux-x64: make a non position independent exec 2019-06-24 23:18:04 +02:00
Flyinghead 112e272075 renderer: support non-integer v-scaling factor
Fixes missing half-screen in Wacky Races (PAL), Buzz Lightyear of Star Command (PAL),
Tom Clancy's Rainbow Six - Rogue Spear + Mission Pack - Urban Operations (PAL), Sega Worldwide Soccer 2000 (PAL)

Input record and replay support for test automation
2019-06-23 12:17:24 +02:00
Flyinghead d9f2f9ae1d rend: define GLES2 and GLES3
GLES2 will only use GL ES 2.0 API functions, compile-time linked
GLES3 loads functions dynamically and supports both GL ES 2.0 and 3.0
2019-05-15 12:54:03 +02:00
David Guillen Fandos cbc2af29ad Fix small issues for mingw builds on Linux
Doenst like the paths, big surprise. I tipically build it like:

  make platform=win32 CXX=x86_64-w64-mingw32-g++ \
       WINDRES=x86_64-w64-mingw32-windres \
       CC=x86_64-w64-mingw32-gcc
2019-05-12 17:44:19 +02:00
David G. F afcd7a08a3
Merge pull request #1571 from davidgfnet/modemfix
Add ENABLE_MODEM and rework makefiles to support it.
2019-05-10 01:09:35 +02:00
David G. F 1b89fcd5ba
Merge pull request #1587 from davidgfnet/master
Minor improvements for ARMv8
2019-05-09 18:45:30 +02:00
David GF 0eb874ba1c Adding ARM64 Linux target in Makefile 2019-05-08 22:33:14 +02:00
David Guillen Fandos ed8bcd7329 Add SDL2 audio backend.
The backend supports 44.1KHz and 48KHz (with resamping). The resampler
is not great, has some noise but no idea where it comes from.
This enables the switch port, since using SDL2 is the quickest way
to get audio working.
TODO: Add support in the cmake, once cmake is fixed at master/HEAD.
2019-05-08 21:04:11 +02:00
David Guillen Fandos 7b50d5df8c Add ENABLE_MODEM and rework makefiles to support it. 2019-04-27 12:05:13 +02:00
flyinghead 7f0489ff28 visual studio compatibility
no modem support
no zip or 7z support so no naomi for now
hacked a .asm file as vs doesn't support inline assembly -> code dup
2019-03-30 19:26:05 +01:00
Flyinghead 3c3165999b linux and android build fix 2019-03-30 13:40:36 +01:00
flyinghead c02a6969df win32: add app icon and version resource 2019-03-30 12:32:37 +01:00
Flyinghead eb017f6cb0 evdev: resurrect udev - fix hot swapping 2019-03-29 11:28:54 +01:00
Flyinghead c809c6c56f Merge branch 'fh/mymaster' into fh/master-merge 2019-03-25 16:47:47 +01:00
Flyinghead ee0161e9c4 build fix 2019-03-05 03:15:11 +01:00
Flyinghead 8e4e2c67f2 evdev: use new input system. detect hot-plugged devices with udev 2019-02-21 12:46:00 +01:00
Flyinghead 4c1acfeab1 android: native egl surface
fps counter using imgui
restart emulator with new game in same process
2019-02-18 00:25:06 +01:00
Flyinghead 6b5f1bf005 Add .cc files rules 2019-02-07 20:08:17 +01:00
flyinghead 3cdd39170d win32: call os_DoEvents on the emu/main thread and other fixes 2019-02-07 19:20:10 +01:00
Flyinghead a3cba92665 Android: load/save jvs eeprom 2018-12-12 23:30:54 +01:00
Flyinghead ba9a23d917 AtomisWave build target 2018-11-30 12:38:13 +01:00
David Miller f03219473c
Merge pull request #1400 from reicast/baka/chdv5_2
Support reading CHDv5
2018-11-28 14:14:02 -05:00
flyinghead b190c37959 win32: CHD v5 support 2018-11-02 10:48:19 +01:00
Flyinghead 2003fc88d7 CHD v5 support 2018-11-02 10:14:25 +01:00
Christoph "baka0815" Schwerdtfeger 2862926f2c CHD/FLAC: Use local deps for FLAC and enable on Android
Using locally installed FLAC libs, so no more need for libflac-dev.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger 0fa4900af4 CHD: Enable FLAC via library (on Linux builds) 2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger 50bcc8cd46 CHD: Enable support for LZMA (CDLZ) compression 2018-10-30 21:27:25 +01:00
Cameron Cawley 2632c5b830 Only link to libdl when necessary 2018-10-24 22:59:43 +01:00
Flyinghead d27d4f9b00 Naomi: fix for ARM 2018-10-18 09:55:17 +00:00
David Miller b58e866b6b Desktop command args support fixes and auto git versioning for VS and make 2018-09-20 17:48:27 -04:00
Flyinghead de147549c3 Save states implementation 2018-09-20 19:48:46 +02:00
Flyinghead 7ce4fccb37 Merge remote-tracking branch 'origin/master' into fh/mymaster 2018-09-20 17:28:41 +02:00
Flyinghead fc96593e80 Fix android build 2018-09-17 17:52:29 +02:00
Flyinghead 59fe373a3a Tentative fix for win VS build. Fix Makefile clean 2018-09-17 13:33:50 +02:00
Flyinghead bc6a8f451a Fix picotcp on Windows
Automatically configure tap IP address, route and proxy arp using iphlpapi.
Partial port to MINGW.
2018-09-17 12:59:52 +02:00
Flyinghead aad38f965b picotcp initial commit as of 4caf65005045f0d34592274a5edd20c0d40d83f7 2018-09-15 21:28:13 +02:00
Sven daae7c8e68 add save states 2018-09-02 09:49:23 -04:00
gameblabla a40d8bc74b
add libao support 2018-08-25 21:24:30 +02:00
Christoph b3ba22d4a4
Merge pull request #1286 from reicast/baka/man
man: add information about the named evdev config files
2018-08-19 11:31:39 +02:00
Christoph "baka0815" Schwerdtfeger b0069ae134 man: add information about the named evdev config files 2018-08-19 11:15:20 +02:00
Christoph "baka0815" Schwerdtfeger 7a178735d1 Linux/Makefile: Disable legacy joystick support
Fixes #773.
2018-08-13 13:46:29 +02:00
Flyinghead feaca43b25 Build fixes 2018-08-02 18:44:51 +02:00
Flyinghead 31d8c1f091 Backport texture upscaling with xBRZ 2018-08-01 19:43:01 +02:00
Flyinghead 9942bfc86e Merge branch clean-exit-light 2018-08-01 18:02:50 +02:00
Stefanos Kornilios Mitsis Poiitidis 95ce251639
Merge pull request #1079 from myfreeweb/master
Build on FreeBSD
2018-07-22 00:37:34 +02:00
Flyinghead 71d7f90858 Merge upstream 2018-07-19 12:19:51 +02:00
Flyinghead 7d6c72211a Automatic #include dependency management 2018-07-18 21:52:35 +02:00
Stefanos Kornilios Mitsis Poiitidis 4359459538
Merge pull request #1196 from baka0815/joyconf
reicast-joyconf: cosmetic changes
2018-07-18 13:20:41 +02:00
Flyinghead a17a0bae3b Utility to display a single frame 2018-07-16 17:19:45 +02:00
Flyinghead 6df46b1d83 Enable Naomi eeprom reading and writing 2018-07-09 16:24:37 +02:00
Greg V 5d69e19ed1 Build on FreeBSD (and potentially other BSD) 2018-07-08 15:43:10 +03:00
Flyinghead efa145f50e Avoid the use of SSE instructions (R)SQRTSS for sqrtf and 1/sqrtf.
When using the -ffast-math option, GCC uses SSE instructions SQRTSS for
sqrtf and RSQRTSS for 1/sqrtf. This results in a loss of precision
according to the GCC documentation: "the precision of the sequence can
be decreased by up to 2 ulp (i.e. the inverse of 1.0 equals
0.99999994)".
This loss of precision affects some games.
Fixes the broken AI in Soldiers of Fortune.
2018-07-08 10:16:27 +02:00
Stefanos Kornilios Mitsis Poiitidis 5b8fc02f45 linux/make: Default to lincpp if platform detection fails 2018-07-08 02:03:12 +02:00
Christoph "baka0815" Schwerdtfeger 1a729a1586 Linux/joyconfig: Display the preferred filename for the configuration 2018-07-03 18:57:54 +02:00
Christoph "baka0815" Schwerdtfeger f063856f8b Linux/joyconfig: Add information for Debian based distros 2018-07-03 18:56:43 +02:00
Flyinghead c30548eb6a Added on-screen FPS counter. Fix clear screen issue when widescreen
enabled but not currently on.
2018-05-13 16:01:08 +02:00
Flyinghead 087cb1561f GCC5.x cross compile fix 2018-04-27 10:43:57 +00:00
Stefanos Kornilios Mitsis Poiitidis dc4d807846 Basic snapcraft.yaml 2018-04-19 23:05:52 +02:00
gizmo98 e70848647e rpi: add platform rpi3 2018-04-12 21:10:22 +02:00
gizmo98 4a7d0b9e7e rpi: add option to use mesa or new vendor gl libs 2018-04-11 21:42:57 +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
Nicolas HOUDELOT bf9ff3c0ed GNU Public License -> GNU General Public License 2018-03-05 01:57:40 +01:00
hissingshark 2034aca3f5 Added detection for Vero4K 2018-01-16 13:38:00 +00:00
zerojay c3e6dc7bd7
Fix hardware detection for Odroid-XU4 against newer kernels
On older kernels, the Odroid-XU4 would be identified as "ODROID-XU3". On newer kernels, such as the latest Ubuntu kernel for ODroid, the XU4 is now being identifed as "ODROID-XU4" which would cause the hardware detection to fail and have it build a generic ARM build instead of our desired "platform = odroidxu3".
2017-12-21 17:59:56 -05:00
Preston Smith 6f1fa1ab08 omx audio backend, and dispmanx window 2016-09-21 17:21:13 -05: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
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 0e4949e7bd Linux/Makefile: Fix spaces in path name
This resolves #883.
2015-12-18 00:14:57 +01:00
Jan Holthuis c7b1f60cb1 Linux: Fix Makefile Indentation
Spaces and Tabs actually have different meanings when used in makefiles
2015-12-16 19:58:05 +01:00
Jan Holthuis d8dabb713d Merge pull request #873 from gizmo98/patch-1
reicast-joyconfig.py: store btn_escape in the right section
2015-12-14 10:09:46 +01:00
Stefanos Kornilios Mitsis Poiitidis af01baae75 linux/softrend: Optional via makefile, sse4.1 detection 2015-12-14 02:40:23 +01:00
Stefanos Kornilios Mitsis Poiitidis 43649b5b61 linux/softrend: Fix x86 makefile 2015-12-13 14:22:49 +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
Stefan 3ed2985d51 reicast-joyconfig.py: store btn_escape in the right section 2015-11-29 13:04:23 +01:00
Jan Holthuis 5aed3dffc4 reicast-joyconfig: Fix crash if button/axis is unnamed
This resolves #848.
2015-11-01 14:32:55 +01: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
sergiobenrocha2 cb69ab4b94 Update linux manpages. 2015-10-08 00:48:11 -03: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
Jan Holthuis d843e0a020 Linux/reicast-joyconfig: Fix error handling for Python < 3.0 2015-09-22 15:09:12 +02:00
Jan Holthuis e04776caad Linux/man: Add warning about CDI images 2015-09-22 15:01:29 +02:00
Jan Holthuis 175bb68af3 Linux/man: Use gdi as example image file 2015-09-22 14:55:36 +02:00
Jan Holthuis 76dfeae55c SDL: Remove redundant sdl/ code 2015-09-12 16:31:32 +02:00
Jan Holthuis a704b0b46a linux/Makefile: Fix regession caused by commit dc92124 2015-08-28 04:36:06 +02:00
Jan Holthuis 661b3d3538 Merge pull request #817 from reicast/holzhaus/makefile-improvements
Linux/Makefile: Add preliminary NAOMI support
2015-08-28 04:14:25 +02:00
Jan Holthuis dc921249cf Linux/Makefile: Use different folder for NAOMI object files 2015-08-28 04:13:42 +02:00
Jan Holthuis 826853a0a4 Linux/Makefile: Fix 'uninstall' target 2015-08-27 14:59:46 +02:00
Jan Holthuis a4c475a26c Linux/Makefile: Add preliminary NAOMI support 2015-08-27 14:57:44 +02:00