Commit Graph

1270 Commits

Author SHA1 Message Date
Ender's Games 068a798fc8 Android: Disable links on Android TV
Because Google claims the Android TV does not have a browser and fears that users may feel insecure about their inability to release a compatible version of Chrome.
2018-08-27 22:03:44 -04:00
Ender's Games aceda2e0b8 Android: Stop supressing a hard crash
This allows Google Play and friends to retrieve it properly
2018-08-27 21:39:04 -04:00
Ender's Games 8715ed6e2e Android: Update available SDKs, API 26 2018-08-27 21:38:56 -04:00
Ender's Games 352a319086 Android: Remove an otherwise unused parameter 2018-08-27 21:38:49 -04:00
Ender's Games 6578b1b7c4 Android: Explicitly set debuggable flag 2018-08-27 11:43:25 -04:00
Ender's Games 124273e48e Android: Null check views, remove redundant 2018-08-27 10:48:33 -04:00
Ender's Games 227d27f34a Android: Update XMLParser for API 26 standards 2018-08-27 10:41:17 -04:00
Ender's Games 25919cce78 PGC: Settings that should be per-game exclusive 2018-08-27 06:10:35 -04:00
Ender's Games cbe7238986 PGC: Avoid an issue with extended IDs
Pro Pinball Trilogy is 9 characters, including spaces, which should not be truncated for accuracy.
2018-08-27 05:42:35 -04:00
Ender's Games ecffc4f5b8 Android: Drop implied state prefixes to labels 2018-08-27 05:19:16 -04:00
Ender's Games 0564603933 Android: Don't attempt to store PGC for BIOS
There is no real need for a full configuration file for launching the BIOS individually.
2018-08-27 04:52:19 -04:00
Ender's Games 1408129f0e Android: Use getDataDir for API 24+ (N) 2018-08-27 04:45:15 -04:00
Ender's Games 5bdc362da3 Remove QueueRender option (non-functional)
Reverts:
2c517896b2
e81f43ff20
9ed9f460e9
2018-08-27 00:42:21 -04:00
Ender's Games 14fc7d910a Convert Interrupt Hack to name w/ less stigma 2018-08-26 23:13:25 -04:00
Ender's Games 7e9d1697c2 Android: fullscreen and reios BIOS support 2018-08-26 22:46:54 -04:00
Ender's Games dd88d7a8e9 Android: Add options to import / export PGC 2018-08-26 14:08:15 -04:00
Ender's Games 75ae974f68 Android: Align game name with other settings 2018-08-26 12:02:54 -04:00
Ender's Games 41cf6e957e Android: Add option to clear per-game config 2018-08-26 11:22:10 -04:00
Ender's Games ff81632578 Android: Support per-game joystick as Dpad
This resolves and issue with Psychic Force 2012 where the joystick is not supported, but should not force toggling this setting for a single game.

Currently only supports player 1

Android: Realign new options with existing
2018-08-26 11:05:54 -04:00
Ender's Games 96d06cb4a2 Android: Improve game detail view, Fix leaks 2018-08-26 10:35:50 -04:00
Ender's Games 2c66bf3b3a Core / Android: Add dynarec to per-game config 2018-08-26 07:56:36 -04:00
Ender's Games 31fb575165 Core: Support retrieving disk info before full init 2018-08-26 07:56:28 -04:00
Ender's Games 95fa701ac0 Android: Restore processor count, Cleanup 2018-08-25 17:16:56 -04:00
Stefanos Kornilios Mitsis Poiitidis 11f76f5fbe
Merge pull request #1321 from gameblabla/libaosound
Add support for libao
2018-08-25 21:24:29 +03:00
gameblabla a40d8bc74b
add libao support 2018-08-25 21:24:30 +02:00
Ender's Games cb5c0327eb vs: Upgrade vcxproj to visual studio 2015
See 3579c9aabf
2018-08-25 10:26:44 -04:00
Ender's Games e3a57223af Android: Separate key events to avoid overrides 2018-08-25 02:28:14 -04:00
Ender's Games 1c85799876 Android: Reimplement TheGamesDB w/ legacy API 2018-08-25 01:54:08 -04:00
Ender's Games eb9d455338 Android: Optimization and layout improvements
Android: Add missing spacing to input mod layout

Android: Account for awkward select button icon
2018-08-24 10:18:52 -04:00
Ender's Games dae71628a5 Android: Support no right stick function, Fix L / R 2018-08-24 09:42:03 -04:00
Ender's Games e4f934c581 Android: Add OUYA support to joystick config 2018-08-23 23:08:12 -04:00
Ender's Games 15615693c5 Android: Support configuring x and y axis sources 2018-08-23 19:51:07 -04:00
Ender's Games 0a0c5643a3 Travis: Only build required module components 2018-08-23 13:42:03 -04:00
Ender's Games 1bd546c708 Android: Clean input mod, Begin joystick settings 2018-08-23 09:33:29 -04:00
Ender's Games 3e7dea537a Android: Optimize per-game config workflow 2018-08-23 07:36:33 -04:00
Abandoned Cart df2d4fadee
Merge pull request #1317 from reicast/lk/fix-ports
Android: Pass microphone setup through controller
2018-08-22 22:47:32 -04:00
Abandoned Cart d98f674ac5
Merge pull request #1315 from reicast/lk/abandoned
Porting libretro features back to mainstream reicast
2018-08-22 22:44:16 -04:00
Ender's Games 31738f462a Android: Pass microphone setup through controller 2018-08-22 22:34:40 -04:00
Ender's Games 69bf54ac15 Android: Retrieve disk info ASAP, not after boot 2018-08-22 21:14:59 -04:00
Ender's Games 9ed9f460e9 Invert QueueRender to allow better explanation
Have the setting porform the action rather than having a value that, when disabled, did what the name implies it enables.
2018-08-22 21:14:49 -04:00
Ender's Games e81f43ff20 Android: UI configuration for QueueRender setting 2018-08-22 21:14:34 -04:00
Ender's Games eebf3fc57c Android: UI configuration for InterruptHack setting 2018-08-22 21:14:27 -04:00
Ender's Games fa3c3cd94d Android: Force first mic to always be port A-2 2018-08-22 17:25:49 -04:00
Ender's Games c922d5b6a6 Android: Configure peripherals independently 2018-08-22 16:31:48 -04:00
Ender's Games b56d0f09c9 Android: Discard TheGamesDB, Fix disk images 2018-08-22 06:51:58 -04:00
Ender's Games 5b66f1de42 Android: More accurate labels for app-side options
Some of the labels may be giving the impression that they perform magical tasks on the native side, but only help to configure the GLView.
2018-08-21 23:15:44 -04:00
Ender's Games fc8e36ff9f Android: Simplify the way peripheral views are set 2018-08-21 13:13:09 -04:00
Ender's Games 16f6b2beb4 Android: Fix formatting corruption in the JNI 2018-08-21 12:34:09 -04:00
Ender's Games 1619d85663 Android: Add dynamic per-player peripheral support
Android: Add a UI shell for implementing peripherals

Android: Replace hardcoded mic assignment with dynamic

Android: Convert mic option to general recording option

Android: Hardcoded VMUs for controller 1

Android: Fix preferences and config for microphone

Android: Add defaults, documentation, and wiring
2018-08-21 12:18:44 -04:00
Christoph "baka0815" Schwerdtfeger a07c3dc9f2 Fix OSX (?) 2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger 816fb493a6 Fix iOS 2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger bb72c1ce4c Fix Android 2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger 638a97d1ae Maple: Reworked the way controllers are created
A new function was introduced to abstract the setup of input devices for each os: os_SetupInput().
I hope I implemented this everywhere correctly and the behaviour is identical to before.

The new function mcfg_CreateNAOMIJamma() creates the NAOMI Jamma interface and is hidden behind a compile flag (same as before).
The previous function mcfg_CreateDevices() was renamed to mcfg_CreateDevicesFromConfig() because it creates the devices based on the configuration (``nb`` setting).
2018-08-21 00:33:18 -04:00
Abandoned Cart c5a9577265
Merge pull request #1303 from reicast/msgbox
Re-applying patches with Android workaround
2018-08-21 00:06:51 -04:00
Ender's Games 8f82e926b8 Android: Improve msgbox, printf cdi workaround
This partially reverts commit 405909bf91304db275dde4d163befa8fc654874f.
2018-08-20 23:50:47 -04:00
David Miller 1a4f597bd8 ngen_mainloop for x86 updated to use PC value from context, CDI warning
and removed redundant header causing build failure on libwebsockets (VS)
2018-08-20 23:49:15 -04:00
Ender's Games e755446c5f Android: Remove redundancy, Eliminate hash file 2018-08-20 23:29:27 -04:00
Ender's Games ef6242d2f7 Android: Create a per-game configuration view
Android: Pass game configuration options to emu

TODO: Fix inability to reload fragment w/ new settings

Android: Limit preference scope, Avoid static crutch

Android: Obligatory button to commit PGC settings

Android pressures the use of async preferences, but does not properly block threads. This causes the settings from one view to bleed into the next when swapping back and forth. This can be overcome by explicitely writing to the specific pref object.

Android: Add PGC documentation to window
2018-08-20 22:02:59 -04:00
Ender's Games 4e050bb753 Android: Initial structure for per-game settings
Android: write internal configuration for new games
2018-08-20 22:02:54 -04:00
Ender's Games 78977387ac Reios: perform initial configuration, as needed 2018-08-20 12:28:58 -04:00
Abandoned Cart 223cd74824
Merge pull request #1299 from reicast/lk/aswide
Reconfigure GLView to match emu dimensions
2018-08-19 05:39:38 -04: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
Ender's Games e64367a0ad Android: A very simple method to set 4:3 resolution 2018-08-19 02:03:10 -04:00
Ender's Games 8d9d40dffc Core: Changes provided by Android NDK compiler 2018-08-19 01:54:15 -04:00
Ender's Games cd22816c1b Android: prevent auxilliary from overriding hardware 2018-08-19 01:53:58 -04:00
Ender's Games a2a3a11412 Android: Stop hiding git behind "luxury" handle 2018-08-19 01:53:50 -04:00
Ender's Games c604ae167f Android: handle position -1 as generic motion 2018-08-18 07:40:36 -04:00
Ender's Games 17788f68b9 Android: push every joystick event, simplify return 2018-08-18 06:39:05 -04:00
Ender's Games 7dfc5b20c6 Android: strip exceptions handled by Google 2018-08-17 23:40:51 -04:00
Ender's Games 2733b46bd7 Android: Verify device type before processing 2018-08-17 02:26:47 -04:00
Ender's Games ee00aeb4f0 Android: Only assign OUYA values to an OUYA 2018-08-17 01:14:35 -04:00
Ender's Games def787b829 Android: Look at all the conditionals you'll save 2018-08-17 00:27:22 -04:00
Ender's Games 632a5eb065 Android: Strip out broken Moga implementation 2018-08-17 00:18:59 -04:00
Ender's Games b1f81bd54f Android: Do not process history index as player 2018-08-16 23:40:24 -04:00
Ender's Games e66b10ce30 Android: Remove forced compatibility mode 2018-08-16 22:46:43 -04:00
Ender's Games a01016d4ad Android: Only prompt for bios if NOT using reios 2018-08-16 22:09:31 -04:00
Ender's Games a3f585ea1c Port the dynarec safe flag from nullDC (See #84) 2018-08-16 20:00:10 -04:00
Ender's Games c612393cf3 Android: process entire joystick event history 2018-08-15 23:56:06 -04:00
Christoph "baka0815" Schwerdtfeger 7a178735d1 Linux/Makefile: Disable legacy joystick support
Fixes #773.
2018-08-13 13:46:29 +02:00
Ender's Games cd7edc5e52 Android: Also disable the boot disk on v14 2018-08-11 23:30:36 -04:00
Ender's Games 4fc7c55d4d Android: Disable the boot disk option until valid
This option saves a path for an unimplemented feature. Rather than continue to field questions about how to use it because it is not connected to anything, it is better to disable it for now.
2018-08-11 21:53:08 -04:00
Ender's Games 391c847b27 Android: Add right stick switch to controller update
Android: Right stick defaults to true when used
2018-08-11 07:30:53 -04:00
Ender's Games 3f39090f7d Travis: update script permission and verify 2018-08-10 13:28:11 -04:00
Ender's Games cc035a3c22 Travis: Move build commands to proprietary script
Prevents an implied attempt to sign builds without a signing key when submitting to a PR.
2018-08-10 11:59:30 -04:00
Ender's Games ba0f93b5e3 Android: Fix the misleading "default disk" setting
It is a boot disk, which would be the "default" disk. Labeling it default is misleading, though. It will also prevent confusion to have examples of common boot disks.
2018-08-09 14:19:47 -04:00
Abandoned Cart ce4d4d1963
Merge pull request #1269 from reicast/lk/android-studio
Android: Add a function to remove all settings
2018-08-08 18:27:16 -04:00
Ender's Games 0c2619e5c8 Android: Crashing isn't close, Fix modvol settings 2018-08-08 18:03:49 -04:00
Ender's Games 4c8b8f2df2 Android: Close via clearing the fragment
Once again, background support requires special consideration. Closing the application does not remove it from the background stack (thus not clearing view)
2018-08-08 17:00:17 -04:00
Ender's Games 79e4e261c4 Android: Close application after settings reset 2018-08-08 16:12:08 -04:00
Ender's Games dcb959d544 Android: Add a UI button to reset w/ warning 2018-08-08 13:45:43 -04:00
Ender's Games df1aee121f Android: Add a function to remove all settings
This will remove all emulator settings, but will retain the folder configuration (BIOS / games) and any controller or OSD settings beyond the button theme.
2018-08-08 13:16:06 -04:00
Out of Office ce7ebdc730
Merge pull request #1268 from reicast/lk/android-studio
Android: restore hard exiting thread (w/ notes)
2018-08-08 12:19:16 -04:00
Ender's Games 2b77320460 Android: restore hard exiting thread (w/ notes)
This is not yet avoidable, but can at least be explained.
2018-08-08 11:54:54 -04:00
Out of Office 14bf4b5b1c
Merge pull request #1267 from reicast/lk/android-studio
Cleanup and improvements to Android Studio
2018-08-08 11:49:59 -04:00
Ender's Games 553ce3d352 Android: align calls with lifecycle, add core pause
This fixes the JNI naming structure to match the Android lifecycle stages and adds the ability to save things like the time when the app goes into the background without actually halting the emulator.
2018-08-08 11:22:47 -04:00
Ender's Games 8e932abf64 Android: Let's not hard exit the emulator anymore 2018-08-08 10:45:19 -04:00
Ender's Games 1a892a5a6b Android: remove comment blocks that only moved 2018-08-08 10:14:36 -04:00
Ender's Games 319588868f Enable compatibility by default in Nougat + (native) 2018-08-08 10:14:36 -04:00
Ender's Games 4b1c4ae446 Android: remove unused EGL14 config option
This will require an entire proprietary view, as the packaged helper classes are strictly EGL10.
2018-08-08 09:53:10 -04:00
Ender's Games a9ea64f36a Android: Forcing run via service is unnecessary
and should be avoided, if it is not required. This would be forcing the app to override the expected lifecycle. If the desired results can be achieved within the regular lifecycle, then it is better not to waste resources.
2018-08-08 09:38:19 -04:00
Ender's Games 7bcef34e17 Update .gitignore and remove cached files 2018-08-07 12:04:46 -04:00
Stefanos Kornilios Mitsis Poiitidis aa46d36dd2 Android: Add debug icons 2018-08-07 11:51:47 -04:00
Ender's Games 00dbcfcd30 Update .gitignore and remove cached files 2018-08-07 11:49:19 -04:00
Ender's Games 13d3aed93a Revert "Merge pull request #1251 from reicast/skmp/dev-names"
Revert "Yet more gradle fixes"

This reverts commit 7160aaecee.

Revert "More fixes"

This reverts commit ba568b4dec.

Revert "Android: Better use of gradle for suffixes"

This reverts commit f35c93e1ac.

Revert "Undo hotfix"

This reverts commit a243ac0ee0.

Revert "HOTFIX: Fix travis gradle config?"

This reverts commit f2e8ba63e3.

Revert "Merge pull request #1251 from reicast/skmp/dev-names"

This reverts commit 2f681248df, reversing
changes made to e352fb9e9d.
2018-08-07 11:41:54 -04:00
Ender's Games acbfc2c5fd Android: disable EGL14 option, begin restructure 2018-08-07 11:37:35 -04:00
Stefanos Kornilios Mitsis Poiitidis b121fd1ba2 Revert "ngen_mainloop for x86 updated to use PC value from context, CDI warning"
This reverts commit 38539a9c2f.
Reason: Breakage reported by beta testers

See #1260
2018-08-07 14:30:42 +02:00
Ender's Games ce447e220c Android: Proper home detection during initial startup 2018-08-06 22:01:41 -04:00
David Miller 38539a9c2f ngen_mainloop for x86 updated to use PC value from context, CDI warning
and removed redundant header causing build failure on libwebsockets (VS)
2018-08-06 15:01:15 -04:00
Abandoned Cart 94c7e79c26
Merge pull request #1257 from reicast/lk/android-studio
Cleanup and forward-thinking integration
2018-08-05 10:23:31 -04:00
Ender's Games 1de9930cf4 Android: limit forced depth test to experimental 2018-08-05 09:36:19 -04:00
Ender's Games 1c1ebc2bfb Android: Create a Christmas theme via auto-indent 2018-08-05 09:32:00 -04:00
Ender's Games ff073d491f Android: Enable depth testing (disabled by default) 2018-08-05 01:19:26 -04:00
Ender's Games 8384a1f574 Android: Add proprietary Nvidia EGL parameters
https://www.khronos.org/registry/EGL/extensions/NV/EGL_NV_depth_nonlinear.txt
2018-08-05 01:11:59 -04:00
Stefanos Kornilios Mitsis Poiitidis 3d5945677a
Merge pull request #1256 from reicast/lk/android-studio
Android: add setting for modifier volumes to shell
2018-08-04 17:23:53 +02:00
Ender's Games 2f38468671 Android: add setting for modifier volumes to shell 2018-08-04 09:41:00 -04:00
Abandoned Cart 51a0c5727f
Merge pull request #1254 from reicast/lk/android-studio
Android: Windows build compatibility (Rev. 2)
2018-08-03 11:23:17 -04:00
Ender's Games 0c78e49cfc Android: Windows build compatibility (Rev. 2) 2018-08-03 11:01:39 -04:00
Abandoned Cart 8d4f8597ef
Merge pull request #1252 from reicast/lk/android-studio
Android: Fix buttons being transparent
2018-08-03 08:56:05 -04:00
Ender's Games f0f1190ddc Android: retry writing buttons if file is empty 2018-08-03 08:29:36 -04:00
Ender's Games a5fffb9e6c Android: dump async to avoid lost write process 2018-08-03 08:23:18 -04:00
Ender's Games e38513a17e Android: TODO: gain access to stop conservatively 2018-08-03 08:23:17 -04:00
Ender's Games 869cc5649a Android: always touch the file (appropriately) 2018-08-03 08:23:17 -04:00
Ender's Games 21b1b21aa5 Android: Android: reimplement stop as an actual "stop" 2018-08-03 08:23:16 -04:00
Stefanos Kornilios Mitsis Poiitidis 7160aaecee Yet more gradle fixes 2018-08-03 05:38:23 +02:00
Stefanos Kornilios Mitsis Poiitidis ba568b4dec More fixes 2018-08-03 05:26:13 +02:00
Stefanos Kornilios Mitsis Poiitidis f35c93e1ac Android: Better use of gradle for suffixes 2018-08-03 05:05:02 +02:00
Stefanos Kornilios Mitsis Poiitidis a243ac0ee0 Undo hotfix 2018-08-03 05:05:00 +02:00
Stefanos Kornilios Mitsis Poiitidis f2e8ba63e3 HOTFIX: Fix travis gradle config? 2018-08-03 04:50:17 +02:00
Stefanos Kornilios Mitsis Poiitidis 5728fbeeb1 Android: Add debug icons 2018-08-03 04:01:10 +02:00
Stefanos Kornilios Mitsis Poiitidis cd32a04563 Android: DEV -> CI builds 2018-08-03 03:25:02 +02:00
Stefanos Kornilios Mitsis Poiitidis c4f41c8e07 AppId: Use .dbg for local, .dev-* for CI 2018-08-03 03:22:07 +02:00
Stefanos Kornilios Mitsis Poiitidis 72e9de3333 Android: Use unique name & package for debug builds 2018-08-03 01:41:20 +02:00
Stefanos Kornilios Mitsis Poiitidis b628be0936 Android: Use tags in `git describe` 2018-08-03 00:25:02 +02:00
Abandoned Cart 405fffedaa
Merge pull request #1237 from reicast/lk/android-studio
Android: Background service (Part 1)
2018-08-02 12:49:52 -04:00
Abandoned Cart feb8d7a321
Android: Disable service until pause is supported 2018-08-02 12:25:02 -04:00
Ender's Games 7c3e7fb161 Android: overcome Windows build limitations
LOCAL_SHORT_COMMANDS applies to a single module and will resolve error 87, while APP_SHORT_COMMANDS := true can be added to the Application.mk in its place to apply to all modules. Both have a performance cost, so it is recommended to limit the scope sparingly.
2018-07-28 21:30:39 -04:00
Ender's Games 6e86fcdf6e Android: relabel additional instances of stop 2018-07-25 10:14:33 -04:00
Ender's Games 5e377e039a Android: rename stop, since it actually terminates 2018-07-25 08:25:33 -04:00
Ender's Games 92d410791e Android: do not attempt useless rendering 2018-07-24 23:09:52 -04:00
Ender's Games e104fdc9e7 Android: improve log commands and verify tags 2018-07-24 23:09:52 -04:00
Ender's Games 7bc764be9b Android: move stop to destroy to avoid early term 2018-07-24 23:09:52 -04:00
Ender's Games 77b8b8fd8a Android: simple start and stop for service via JNIActivity 2018-07-24 23:09:51 -04:00
Ender's Games 5e9ed25c01 Android: establish a service with foreground notification 2018-07-24 23:09:32 -04:00
Flyinghead 20de593a88 Clean exit on OS X. Minor changes. 2018-07-24 14:27:58 +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
Ender's Games f451c5e26f Android: friendly internal project name, gradle update 2018-07-20 15:05:43 -04: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
Stefanos Kornilios Mitsis Poiitidis 8875657f6a
Merge pull request #1221 from brand175/master
TouchScreen Triggers added and MFI Controller Update (Stuff)
2018-07-18 13:18:16 +02:00
Stefanos Kornilios Mitsis Poiitidis 0554b56b0c Travis: try to use right build #, take 2 2018-07-14 19:29:16 +02:00