Commit Graph

2323 Commits

Author SHA1 Message Date
Christoph "baka0815" Schwerdtfeger 659430e9cc CHD: Fixed the build for Android
CFLAGS were set in the wrong place and the name of the DEF was wrong too -_-°
2018-09-23 15:43:40 +02:00
Christoph 'baka0815' Schwerdtfeger 9bb7d96962 CHD/FLAC: surround flac.c with #ifdef 2018-09-23 15:27:57 +02:00
Christoph "baka0815" Schwerdtfeger f78dc64bfa Fix includes 2018-09-22 17:34:14 +02:00
Christoph "baka0815" Schwerdtfeger b1be3af1a1 CHD: Enable FLAC via library (on Linux builds) 2018-09-22 17:27:55 +02:00
Christoph "baka0815" Schwerdtfeger b4155b0c23 CHD: Enable support for LZMA (CDLZ) compression 2018-09-22 16:40:11 +02:00
Christoph "baka0815" Schwerdtfeger 1d7ecda2af CHD: Check for extra frames
If the frame count is not dividable by 4, there are extra frames added to keep a padding.
This is true for F355 (450 frames -> 2 extra frames) and others.

Also move CD_TRACK_PADDING to chd.cpp to work around problems with including from C and C++.
2018-09-22 15:42:26 +02:00
Christoph "baka0815" Schwerdtfeger 14260594ea CHD: read additional track types
Also don't print "Unable to find metadata" as it's mostly not true (we reach this part after the last track)
2018-09-22 15:19:57 +02:00
Christoph "baka0815" Schwerdtfeger 7cb77a4c21 CHD: Wrap FLAC and LZMA with defines
Make CHDv5 generally work without FLAC and LZMA decoding possibilities so there is currently no need for extra deps.
2018-09-22 15:18:10 +02:00
Christoph "baka0815" Schwerdtfeger 2026931f2e CHD: Imported 96a2ce8a5b 2018-09-22 14:53:56 +02:00
David Miller 6ad13268fd
Merge pull request #1396 from reicast/z_revision
Desktop arg fixes / Auto versioning for VS
2018-09-21 08:41:29 -04:00
Ender's Games e498e79bba Appveyor: Get artifact for build configuration 2018-09-20 18:02:10 -04:00
Ender's Games 0adc6b2bce Compatibility getch() for VS 2008/2013 2018-09-20 17:49:04 -04:00
Ender's Games 88f97ae431 Specify OS and Toolset, Debug-120 config 2018-09-20 17:49:04 -04:00
David Miller 9c11eae1b9 VS Solution configurations
multi targetting and appveyor build tests
2018-09-20 17:49:03 -04:00
David Miller 1722a9abe4 getchar for non win32, so curses isn't req to be setup 2018-09-20 17:48:27 -04:00
David Miller 2e23ee4628 use enum for cli arg exit and android build ndef 2018-09-20 17:48:27 -04:00
David Miller 3dc16faa73 Android build fix 2018-09-20 17:48:27 -04: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
Christoph 4000b88771
Merge pull request #1395 from reicast/baka/evdev_crash2
evdev: If there was an error initializing a controller, don't proceed
2018-09-20 18:46:12 +02:00
Christoph "baka0815" Schwerdtfeger 5b8749fbaa evdev: If there was an error initializing a controller, don't proceed
If the controller was not correctly initialized, the fd and/or the mapping might not be set, which could then result in access violations or other errors.
2018-09-20 17:43:24 +02:00
Abandoned Cart edaf00df79
Merge pull request #1377 from reicast/ac/android
Android/Shell: File Uri and NDK changes for N+
2018-09-19 13:47:45 -04:00
Ender's Games 793e4f1a78 Secondary storage URI, Unwrap for native code 2018-09-19 13:24:55 -04:00
Ender's Games dba5c767bb Android NDK: APP_STL stlport_static is no longer supported 2018-09-19 12:49:19 -04:00
Ender's Games 4614f57b1e Adding zero is irrelevant, unless it alters the calculation 2018-09-19 10:08:45 -04:00
Ender's Games fd12871378 Android: FLAG_GRANT_READ_URI_PERMISSION 2018-09-14 06:38:47 -04:00
Ender's Games b84bd0e39c Android: New requirements for Uri access 2018-09-14 06:30:59 -04:00
Abandoned Cart eacbae5b30
Merge pull request #1376 from reicast/ac/android
Android: Complete conversion to API 26 standards (Cont.)
2018-09-12 23:54:55 -04:00
Ender's Games 2ea2414699 Android: Restore forced exit for unhandled ANR 2018-09-12 22:17:08 -04:00
Ender's Games 88b81a6652 Android: Improve stability of gamepad detection 2018-09-12 22:16:54 -04:00
Ender's Games a1b6711402 Android: Let Android Studio perform simplify 2018-09-12 21:28:00 -04:00
Ender's Games ba134c8c4e Android: Simplify and optimize emu UI classes 2018-09-12 12:07:32 -04:00
Stefanos Kornilios Mitsis Poiitidis 93affdd747
Merge pull request #1374 from reicast/ac/android
Android: Complete conversion to API 26 standards
2018-09-12 16:05:13 +03:00
Stefanos Kornilios Mitsis Poiitidis 1a09ccb587 CI/Travis: Fix tagged builds 2018-09-12 13:43:26 +03:00
Ender's Games 5ef7b60134 Android: Simplify and optimize InputModFragment 2018-09-07 12:47:55 -04:00
Ender's Games 2a45346099 Android: Simplify and optimize OptionsFragment 2018-09-07 12:42:49 -04:00
Ender's Games 86e3379a65 Android: Simplify and optimize InputFragment 2018-09-07 12:42:47 -04:00
Ender's Games c8d2517d95 Android: Simplify and optimize FileBrowser 2018-09-07 12:20:57 -04:00
Ender's Games 8f981e648c Android: Remove some unnecessary conditions 2018-09-07 11:51:17 -04:00
Christoph 00ecf2f1ce
Merge pull request #1370 from reicast/baka/sdl
SDL: Fix keyboard usage
2018-09-04 22:25:03 +02:00
Christoph b402a56885
Merge pull request #1365 from reicast/baka/evdev_rework
Remove evdev specific code from main.cpp
2018-09-04 22:24:43 +02:00
David Miller af8aab1337
Merge pull request #1373 from reicast/baka/x11soft
Add error message for softrend w.o X11
2018-09-04 15:42:19 -04:00
Christoph "baka0815" Schwerdtfeger d3de815a0a Softrend: clean up if/else 2018-09-04 21:01:03 +02:00
Christoph "baka0815" Schwerdtfeger f96e0f1e5d Softrend: Error if no softrenderer backend found 2018-09-04 20:41:25 +02:00
Christoph "baka0815" Schwerdtfeger 981eb1b5ef Softrend: works only with X11
If X11 support is not there, reicast doesn't compile because the softrenderer needs it.
Use #ifdef to do X11 only if SUPPORT_X11 is set.
2018-09-04 19:08:39 +02:00
Christoph 1c880fc37c
Merge pull request #1369 from reicast/fh/ta-context-1mb
Round TA context to 1MB at ListInit time so it is found when rendering
2018-09-04 18:23:20 +02:00
Christoph 61748632de
Merge pull request #1368 from reicast/fh/32b-vram-mapping
Fix 32-bit vram bank mapping
2018-09-04 18:23:06 +02:00
Christoph "baka0815" Schwerdtfeger 69c4f163b8 SDL: Fix keyboard usage
Use kcode[port] directly (see evdev.cpp), because unsetting the keys didn't unset kcode and pressing the key another time didn't work.
2018-09-03 19:23:22 +02:00
Flyinghead ea9bc5ff1c Round TA context to 1MB at ListInit time so it can be found at render time
Fixes black screen in NFL 2K2, NBA 2K2, Oooga Booga, Floigan Bros. and probably more Visual Concepts games.
2018-09-03 14:32:00 +02:00
Flyinghead 614ec7e9b1 Fix 32-bit vram bank mapping
Fixes texture corruption and other problems in many games
2018-09-03 12:39:52 +02:00
Christoph "baka0815" Schwerdtfeger 555e140216 evdev: Remove unnecessary exports in header
``input_evdev_init(EvdevController* controller, const char* device, const char* mapping_fname)`` and ``input_evdev_button_duplicate_button(EvdevControllerMapping* mapping1, EvdevControllerMapping* mapping2)`` are no longer used outside evdev.cpp
Needed to move ``input_evdev_init()`` around a bit.
2018-08-31 16:59:37 +02:00