Commit Graph

497 Commits

Author SHA1 Message Date
Flyinghead b226544d03 Merge remote-tracking branch 'origin/master' into fh/wince-dynarec 2019-06-21 14:37:32 +02:00
Flyinghead aa36a65d13 log tag name change 2019-06-21 14:29:22 +02:00
Flyinghead f29569cf5d more name change 2019-06-20 23:46:20 +02:00
Flyinghead 9f66847469 name change 2019-06-20 21:50:19 +02:00
Flyinghead 506756ea37 android: use common rend_thread() instead of a specific one
fixes the swap pending issue (double swap) on android
2019-05-25 18:48:00 +02:00
Flyinghead c2c0215e1b Merge remote-tracking branch 'origin/master' into fh/wince-dynarec 2019-05-22 14:13:00 +02:00
Flyinghead 248f274e24 wince: fix ci builds 2019-05-21 19:33:01 +02:00
Flyinghead 484f0a616e travis: only build debug build 2019-05-21 17:16:38 +02:00
Flyinghead 036b9b015a fix travis build 2019-05-21 16:50:55 +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 45b0e79f15 Enable modem support in Android builds, regresion of PR #1571
This affects bug #1591
2019-05-10 19:20:19 +02:00
David Miller c631534ee1
Merge pull request #1554 from farmerbb/master
Android: remove duplicate intent filters
2019-05-03 12:40:41 -04:00
Christoph "baka0815" Schwerdtfeger 0a3c361da2 AUDIO: Allow backend specific settings 2019-04-24 21:41:38 +02:00
Braden Farmer aa8a922b62 Android: remove duplicate intent filters
The latest reicast builds displayed a redundant second launcher icon in the app drawer, due to a change in #1548.  This fixes the issue by removing the duplicate intent filters causing the redundant icon to display.
2019-04-16 23:38:33 -06:00
Flyinghead dece3fc13e wince: use setjmp/longjmp instead of try/catch for dynarecs
WinCE fast mmu implementation
WIP arm64 dynarec
2019-04-15 18:02:34 +02:00
David Miller 3d1b82854e
Merge branch 'master' into fh/win32-winresize 2019-04-12 13:03:30 -04:00
flyinghead 8cdbb9c2fd
Merge pull request #1548 from reicast/fh/float-vmu
Float VMU option. Android renderer native thread. 90° screen rotation option. AW fixes.
2019-04-10 21:53:41 +02:00
Flyinghead 251b4d381d android: add activity alias for intents backward-compatibility 2019-04-09 13:09:45 +02:00
Flyinghead 1fa052987b android: run renderer in a separate native thread
fixes simultaneous gamepad button presses not being registered on some
platforms
2019-04-09 10:39:29 +02:00
baka0815 56374377dd
Merge pull request #1543 from reicast/baka/select_audio
AUDIO: Make backend configurable
2019-04-08 18:33:53 +02:00
Flyinghead d78fc62055 android: fix Send Logs crash 2019-04-08 10:11:28 +02:00
Christoph "baka0815" Schwerdtfeger b443fe9b25 AUDIO: make the plugins self-registering
No need anymore for the RegisterAllBackends() function and all plugins in one place.
Use a static boolean to register every plugin by itself.
2019-04-05 21:05:18 +02:00
Flyinghead 0b7024f6a0 Avoid opposite dpad buttons being both down. Ignore android key repeats 2019-04-05 14:48:59 +02:00
Flyinghead cc26e255e0 android: vibrate out of the synchronized section 2019-04-03 18:49:40 +02:00
Flyinghead 2d03662a9a android: run the vibrator in a separate thread
avoid lag when spamming the touchscreen controls
2019-04-03 18:39:57 +02:00
Flyinghead 3c3165999b linux and android build fix 2019-03-30 13:40:36 +01:00
Flyinghead 8fb1d80751 gui: display VMUs on pause 2019-03-29 17:35:00 +01:00
Flyinghead daf4980fc8 input: save assigned maple port of each gamepad 2019-03-29 17:19:18 +01:00
Flyinghead 0a301a4758 android: use a single activity with simple layout
remove most of the android ui remains
NativeGLActivity is the unique activity
handle window focus in/out events
refresh folder list when access to external storage is granted
record audio permission request must not overlap with external storage
perm req
2019-03-27 21:09:53 +01:00
Flyinghead 76db5bc74f build fix: Publish Dreamcast flavor 2019-03-27 12:02:51 +01:00
Flyinghead d6fd3e0781 android: do not request audio perms more than once 2019-03-25 23:29:33 +01:00
Flyinghead c809c6c56f Merge branch 'fh/mymaster' into fh/master-merge 2019-03-25 16:47:47 +01:00
Flyinghead e11570e71b android: hide virtual joystick if no screen touch for 10 secs 2019-03-15 19:43:48 +01:00
Flyinghead 4fb1cad6ba android: go back to home screen on back button.refactoring
go back to home screen when back button is pressed in content browwser
fix GL2JNIActivity
refactor GL2JNIActivity and NativeGL2Activity into common base class
2019-03-13 22:20:03 +01:00
Flyinghead 9001de7842 android: only handle analog axis if axis value has changed
tentative fix for xbox 360 dpad
2019-03-10 23:35:14 +01:00
Flyinghead 106409a2c0 android: no sound with android < 6.0 2019-03-07 13:07:44 +01:00
Flyinghead f48c03220a android: extract VJoy handling into delegate class 2019-03-06 14:22:49 +01:00
Flyinghead 45ed8cbc02 android: install buttons.png and reload it. Record audio permission.
install buttons.png when saving settings (home dir may have changed)
reload buttons.png if previous load failed when rendering
hide surface view when microphone is enabled to ask for permission
2019-03-05 23:50:52 +01:00
Flyinghead 91c7417c22 android: replace /mnt/media_rw by /storage for portable storage 2019-03-05 16:56:19 +01:00
Flyinghead a93c340f8c android: delay rendering start by 500 ms to avoid blackscreen at startup
helps for some devices
2019-03-05 04:47:31 +01:00
Flyinghead ca58c323cd Moved most android settings into the new gui
virtual gamepad editing and settings
home directory setup during onboarding
start content browser at app startup after getting permission
Use imgui osd to display error messages (msgboxf)
Added About tab in settings with version, git hash and Send logcat
button (android)
2019-03-05 00:54:01 +01:00
baka0815 2b3a052ac3
Merge pull request #1495 from reicast/baka/full-screen-shadow
Android: fix full-screen shadow on some platforms
2019-02-26 13:04:44 +01:00
Flyinghead 492e771272 Content browser (WIP)
Get rid of the renderer thread. It is now the main/UI thread on all
platforms. The emulator runs in a separate thread.
Content browser displayed at startup.
2019-02-25 17:52:53 +01:00
baka0815.de 1d51ff565d Java/GLES: Initialize the view with a stencil buffer of 8 (instead of 0) 2019-02-25 15:43:57 +01:00
Flyinghead c37dbae4e4 android: simple rumble support 2019-02-23 00:17:59 +01:00
Flyinghead a39503dd56 rumble support for xinput and evdev 2019-02-22 19:23:03 +01:00
Flyinghead 4ae11053ce use smart pointers to avoid crash when a gamepad is disconnected 2019-02-21 14:49:27 +01:00
Flyinghead c98b685872 android: old GLSurfaceView view/activity working again
EmuThread now a top-level class shared by both views
2019-02-20 16:59:50 +01:00
Flyinghead 7e9a545a05 Android: fix full-screen shadow on some platforms 2019-02-19 19:11:17 +01:00
Flyinghead a808a8f36f dynamically bind GLES functions
Compile with GLES 3.2 headers but no library
split gl_term into generic and platform-/loader-specific stuff
allow full desktop GL context creation with EGL
2019-02-19 17:21:50 +01:00
Flyinghead 737dd83855 android: stop the emulator thread ASAP, don't wait for activity finish
Disable VJoy editor button when touched, to avoid launching it twice
2019-02-18 16:16:54 +01:00
Flyinghead e426bc8058 android: call eglMakeCurrent() before rendering or deleting context
Flush texture cache and terminate gui before releasing the EGL context
2019-02-18 13:14:12 +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 b15b8de12b android: disconnect the mouse gamepad by default. Don't swallow all
keydowns events
2019-02-17 18:34:22 +01:00
Flyinghead a0fbc91be3 Android: remove generic settings, PGC and external gamepads input config 2019-02-16 16:42:18 +01:00
Flyinghead 914e362873 Android: bind joysticks to different maple ports 2019-02-16 13:52:38 +01:00
Flyinghead c1374980f8 android: naomi build fix 2019-02-15 21:16:39 +01:00
Flyinghead 2602d855ee android: refactor initialization
Report dc_init errors properly with a popup
Disable reios use
Use builtin per-game settings
2019-02-15 20:48:30 +01:00
Flyinghead c33df148c7 android: save/load maple controllers config. enable microphone.
Fix calling msgboxf from emu thread
2019-02-14 19:49:54 +01:00
Flyinghead 9c4085ee1e Android: fix full-screen shadow on some platforms 2019-02-14 13:52:48 +01:00
Flyinghead fca65dd2f9 android: virtual gamepad asn't responsive 2019-02-14 00:55:02 +01:00
Flyinghead 3320669bd4 android: use new input system
support for gamepads and mice on android
2019-02-13 20:29:49 +01:00
Flyinghead e82b9c9b18 android: remove deprecated GL2GLINative activity 2019-02-12 17:57:11 +01:00
Flyinghead 8b5c2a3fac New input handling/mapping system, SDL only for now. Gui wip 2019-02-12 11:30:24 +01:00
Marcel Szewczyk 7ffbd4d296 Merge branch 'master' of https://github.com/reicast/reicast-emulator into mar753/render-to-texture-with-options 2019-02-09 23:51:43 +01:00
Flyinghead 1fcfb6b10a Better fix for ImGui not showing on OSX
Enable vixl debug to track dsp crash
2019-02-09 15:12:35 +01:00
Marcel Szewczyk 07449239c2 Fix: Instead of booting a game, reicast opens bios menu 2019-02-09 01:23:23 +01:00
Flyinghead eb3bbb7dc0 Android: more UI settings (video) 2019-02-07 09:42:51 +01:00
Flyinghead c02bb919c1 Android: templatize settings accessors 2019-02-06 23:34:04 +01:00
Flyinghead 598ea65c16 Android: use boolean prefs when possible. OSX build fix
Use jboolean instead of jint
Fix crash when navigating UI with popup keyboard's next button
Remove unused UI (PVR rendering)
OSX fixes
2019-02-06 22:28:04 +01:00
Flyinghead 1802c022fd UI with ImGui 2019-02-06 19:57:13 +01:00
Marcel Szewczyk b26b12054b Merge branch 'master' of https://github.com/reicast/reicast-emulator into mar753/render-to-texture-with-options 2019-02-06 17:39:12 +01:00
baka0815 3c8e1110c8
Merge pull request #1480 from mar753/lowering_rendering_resolution_option
Lowering rendering resolution option
2019-02-04 19:36:11 +01:00
Flyinghead 19bddc942a android: add cue files to string res 2019-02-03 14:04:54 +01:00
Marcel Szewczyk d558f5182a
German translation added 2019-01-31 21:13:49 +01:00
Flyinghead 63c4a16459 preliminary support for CUE files 2019-01-30 18:28:49 +01:00
Flyinghead ac4fb796ca android: enable DSP option 2019-01-19 17:15:18 +01:00
Marcel Szewczyk a60286cc0f Single render scale factor seekbar 2019-01-13 18:22:16 +01:00
Marcel Szewczyk 10d6f2526a
Merge branch 'master' into mar753/render-to-texture-with-options 2019-01-11 21:16:35 +01:00
Flyinghead ce98e78eae android: dynarec.safemode setting was ignored and always off 2019-01-11 13:18:06 +01:00
David Miller 3c57177d38
Merge pull request #1481 from mar753/clipping_switch_added
Clipping switch in settings added - Android (multiplayer/split screen fixed)
2019-01-10 07:05:48 -10:00
Marcel Szewczyk cf82be3bc8 Clipping switch in settings added - Android 2019-01-09 20:58:09 +01:00
Marcel Szewczyk 7e900a4e86 Merge branch 'master' of https://github.com/reicast/reicast-emulator into lowering_rendering_resolution_option 2019-01-09 00:01:03 +01:00
Marcel Szewczyk e285d7f9ba Additional improvements to lowering rendering resolution feature 2019-01-08 23:35:48 +01:00
Marcel Szewczyk 8571be39fd Rendering resolution lowering (horizontal and vertical) is possible from the configuration menu 2019-01-07 23:55:43 +01:00
Flyinghead 67a4eb8f1f arm64 dynarec using vixl 2019-01-07 21:50:46 +01:00
Flyinghead 8532d1a032 Android: add Load Custom Textures option 2018-12-31 08:52:50 +01:00
Marcel Szewczyk 302bfcd582
Merge branch 'master' into mar753/render-to-texture-with-options 2018-12-30 18:26:31 +01:00
Marcel Szewczyk 2a7f4613f3 RTT: Synchronous rendering notice dialog added 2018-12-30 12:14:05 +01:00
Marcel Szewczyk e981dd14f8 Render to texture full multipass support added; RTT stride textures support added 2018-12-30 12:08:51 +01:00
Flyinghead 2ecc54b4c9 Set DC date and time automatically, DC language setting 2018-12-23 12:59:16 +01:00
Flyinghead 2b16edd71f Android: enable DSP, Add dynarec safemode/disable div matching 2018-12-07 12:58:07 +01:00
David Miller 3ab2eefb50 Update Android *SdkVersion to 26 2018-11-28 15:04:00 -05:00
Flyinghead 34fafb4442 Android: add 7z file type 2018-11-23 23:33:54 +01:00
Flyinghead e07dba5847 Android: fix FPS counter 2018-11-23 23:32:59 +01:00
Flyinghead 40f2d64b6c Android: Add zip files to naomi manifest. Load per-game std settings. 2018-11-16 18:35:17 +01:00
Marcel Szewczyk 5f19eb7ae8 Rtt menu options are now handled by GLES 2018-11-11 22:01:18 +01:00
Marcel Szewczyk 4fd9de54ce Added rtt menu options 2018-11-11 17:55:18 +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 fd0d7aedeb CHD: Fixed the build for Android
CFLAGS were set in the wrong place and the name of the DEF was wrong too -_-°
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
Flyinghead d6e2dc0317 Android: account for skipped frames in FPS counter 2018-10-29 21:14:41 +01:00
Flyinghead dc9780eb46 Android: fix black screen at boot on some devices 2018-10-29 20:03:47 +01:00
Flyinghead 3c375b84bb android: change git log branch 2018-10-29 14:35:15 +01:00
Flyinghead 976d647e1c android: naomi app flavor 2018-10-22 17:45:19 +02:00
Ender's Games caf78e9cd7 Revert context due to lack of improvement 2018-10-03 08:30:49 -04:00
Ender's Games 46299825ae Add Resolution Mode w/ forced 640x480 emu view 2018-10-03 01:12:40 -04:00
Ender's Games 851c126129 Make blue theme summery, Version spacing 2018-10-02 23:43:17 -04:00
Abandoned Cart d436c30f3b
Merge pull request #1425 from reicast/ac/dropbox
Update Dropbox API from 1.6 to 3.0
2018-10-02 23:21:55 -04:00
Ender's Games 2a6ef7221f Fix theme applying to generic game list 2018-10-02 23:05:47 -04:00
Ender's Games 843aafebbc Follow the pre-existing naming conventions 2018-10-02 22:07:24 -04:00
Ender's Games 386104d20e Link Dropbox API to new v2 compatible project 2018-10-02 21:32:31 -04:00
Ender's Games 1decfdcccc Provide meaningful toast, dismiss dialog on error 2018-10-02 16:38:06 -04:00
Ender's Games b16d2e637e Proguard: Keep all reicast classes and members 2018-10-02 16:15:23 -04:00
Ender's Games a096cac24e Gracefully error when client is not initialized 2018-10-02 12:25:32 -04:00
Ender's Games 10b623545e Add proguard config to debug for Travis 2018-10-02 10:49:53 -04:00
Ender's Games 94e9c81bf2 Revert scope of Emulator class reference 2018-10-02 09:55:32 -04:00
Ender's Games f03ac5e4d0 Provide Toast messages with app context 2018-10-02 09:52:28 -04:00
Ender's Games ef7e04ff24 Implement a proguard file to keep things clean
Dropbox runs wild with 20,000 methods otherwise
2018-10-02 05:03:43 -04:00
Ender's Games 69d2f1cc60 Address a missing reference to OkHttp3
https://github.com/dropbox/dropbox-sdk-java/issues/126
2018-10-02 04:17:48 -04:00
Ender's Games ae7bc65591 Attempt to update Dropbox API from 1.6 to 3.0 2018-10-02 04:04:18 -04:00
Ender's Games edc8617d69 Move VGA check to Compat and add Safemode
This is the first step in creating a fully-features class for generating default values for known game settings.
By implementing the PGC and providing the ability to backup and restore the configuration, personal findings can always replace these values. Instead, this will serve as a suggestion when configuring a new game without forcing the user to update in order to change them.
2018-10-02 01:21:09 -04:00
Ender's Games 57449e91e0 Fill in missing values, Return emu default for -1 2018-10-02 00:55:08 -04:00
Ender's Games b29b9fb6bb Use generic spinner builder, Remove TV default 2018-10-01 21:36:42 -04:00
Ender's Games b0d26f1117 Move untested games to default category
While it is safe to assume they will have similar results, they are untested and should error on the side of caution
2018-10-01 17:16:44 -04:00
Ender's Games 3b31877c25 Set PGC cable default based on compatibility 2018-10-01 17:16:44 -04:00
Ender's Games 2c38ac9f26 Remove all special characters from IDs
This also serves as a checkpoint for referencing the original (unmodified) ID values.
2018-10-01 17:16:44 -04:00
Ender's Games 7089c8a81f Verify game IDs against RF Generation 2018-10-01 17:16:44 -04:00
Ender's Games ed5008c064 Complete the list of EU / NA title defaults
Complete the list of TV-only titles for EU / NA

Complete the list of patchable titles for EU / NA

Complete the list of untested titles for EU / NA

Complete the list of unlicensed titles for EU / NA

Complete the list of supported titles for EU / NA

Needs to be verified, as there are duplicate entries
2018-10-01 17:16:43 -04:00
Ender's Games 0bf40c0239 Begin establishing default VGA settings
Courtesy of the tireless testing by Zorlon at https://www.epforums.org/showthread.php?56169-Dreamcast-VGA-Compatability-list-amp-Guide

Add available VGA return values and notes
2018-10-01 17:16:43 -04:00
Ender's Games f19a482aa4 Clean up preferences to avoid visual workarounds
The user should not need to see that the values are non-standard because all they need is the text. Also, preferences should not be used in hardcoded form.
2018-10-01 17:16:43 -04:00
Ender's Games f255553ce8 Android: Verify the string content before indexing 2018-10-01 17:16:43 -04:00
Flyinghead f4d14ec4aa android: fix cable,region,broadcast settings 2018-10-01 12:14:09 +02:00
Ender's Games c1494b9363 Skip sending info on missing ID, Use id on blank name 2018-09-30 05:52:56 -04:00
Ender's Games dc5a3df78f Add Android settings for PGC cable, regio, broadcast 2018-09-30 05:52:47 -04:00
Ender's Games e1706885ad Skip Android configurations that have no id/name 2018-09-30 05:06:33 -04:00
Ender's Games 4a3bec95f8 Avoid duplicate URI references, Favor overly permissive 2018-09-30 04:48:44 -04:00
Ender's Games e392d4702c Prevent changing to a theme if it's already set
This may resolve issues with some devices reloading when attempting to enter settings.
2018-09-30 00:09:11 -04:00
Ender's Games b909c4247b Add a popup for when permissions are not accepted
Despite it being obvious that to play games from the sdcard, you need to access the sdcard, mistakes can happen.
2018-09-29 21:23:57 -04:00
Ender's Games a2eed6bb06 Remove a stray tag to disable tinting 2018-09-28 10:12:27 -04:00
Ender's Games f14d670b5b Match the original texture hue and add PSD 2018-09-27 15:44:55 -04:00
Ender's Games ba9351dac4 Minimize the "bubble" pattern of dark texture 2018-09-27 15:39:31 -04:00
Ender's Games 57dacb4bd8 Convert to compat tints instead of style definitions 2018-09-27 12:55:14 -04:00
Ender's Games 81c98768e5 Remove GL2JNINative (deprecated Xperia Play compat)
Saying it only works with a very small set of hardware is no different than saying "please try this with everything and tell me when it doesn't work"
2018-09-27 02:52:26 -04:00
Abandoned Cart cc217e944f
Merge pull request #1415 from reicast/ac/theme-a-palooza
[DO NOT MERGE] Continuation of (I don't know the numbers)
2018-09-26 23:27:07 -04:00
Ender's Games 437fbd6c52 Add a version item to the navigation view footer 2018-09-26 22:41:03 -04:00
Ender's Games 9e35b50592 Explicitely listing the http is an archaic concept
and it makes the words stretch into the artwork
2018-09-26 22:24:15 -04:00
Ender's Games 8c25d4e5d7 Rebuild icons and fix missing disk borders 2018-09-26 22:22:12 -04:00
Stefanos Kornilios Mitsis Poiitidis 4386233f94
Merge pull request #1413 from reicast/ac/theme-a-palooza
Only default to a storage list when not searching
2018-09-27 03:55:01 +02:00