flyinghead
ed7bd06f96
win32: multiple mice support. Patch and build SDL
2021-01-21 21:00:46 +01:00
flyinghead
119948cfdb
more event use cases
2021-01-19 23:52:28 +01:00
Flyinghead
99bd8b4972
get rid of USE_MODEM/ENABLE_MODEM
2021-01-04 20:58:29 +01:00
Flyinghead
c03cf8eb45
rend: multi-render, delay swap, refactor main ui loop
...
move ui loop out of hw/pvr
vk: implement multi-rendering, delay swap. Load fb before render pass
fps counter now counts frames, not renders
vk: force ignoreTexAlpha for 565 texture in case the supporting texture
has an alpha channel (RTT). Fixes Alone in the Dark cinematic scenes.
pvr: better detection of frame swapping (FB_R_SOF/FB_W_SOF)
pvr: synchronous rendering now always waits for render in progress
(speed measurement not reliable, render skipped when multi-rendering)
vk: limit swap chain size to 2
2020-12-15 15:09:42 +01:00
Flyinghead
d960f8e9f5
lightgun: handle screen stretching, rotation and tall aspect ratio
...
Issue #139
move jvs stuff into maple_jvs.cpp
2020-12-09 13:48:58 +01:00
Flyinghead
fd244eb8b9
android: create data directory if needed at startup and onboarding
2020-12-08 17:15:51 +01:00
Flyinghead
14393ea6b1
improved microphone emulation. support for linux and windows
2020-12-05 18:47:09 +01:00
Flyinghead
adeacd89f4
input: implement reload. remap some naomi games input
...
implement lightgun reload (dc, naomi)
kcode[] set to 32 bits
revamped mapping for naomi keys
remapped btns for some naomi games
display game button/axes names in UI
2020-12-02 14:40:50 +01:00
Flyinghead
8f77a5482a
config/data folders improvements
...
linux: look for legacy ~/.reicast and ~/.reicast/data
else look for ~/.config/flycast and ~/.local/share/flycast
and ~/.config/reicast and ~/.local/share/reicast
(defaults to flycast)
look for bios files in home folder and data folders (android, windows
,macos), then in game folder.
on linux, search in /usr/share/flycast and /usr/local/share/flycast and
legacy locations
2020-11-26 16:45:57 +01:00
Flyinghead
2a5b303b70
delete nixprof
2020-11-22 17:37:27 +01:00
Flyinghead
3e3fa08430
input: use btn/axes names in ui. fix mouse btn mapping
...
Use button and axis names in mapping UI
Mouse button remapping was impossible
x11: use same config names for window size as sdl/win
2020-11-20 22:10:14 +01:00
Flyinghead
734514c1fe
android: delay intent handling until storage perm is granted
2020-09-01 22:03:12 +02:00
scribam
dfda9c764b
Use CMake for Android build and add GitHub CI
2020-08-01 12:30:53 +02:00
Flyinghead
0fd51fb52a
android: ignore audio latency. skip less frames in synchronous mode
...
android: use minimum size for audio buffer
alsa: use period size of 1024 instead of 512
hide audio latency option for android, win32 and mac
relax frame skipping formula
2020-06-05 21:16:48 +02:00
scribam
700d14be2f
android: Update Android Gradle plugin
2020-04-30 11:04:05 +02:00
scribam
b5fcea7135
android/travis: Use preferred ndk for android-28
2020-04-30 10:17:56 +02:00
scribam
c797bd6f72
android: Add static-openmp only if ndk >= 21
2020-04-30 10:17:56 +02:00
Flyinghead
17a2c3644f
ui: add loading screen with cancel button. don't freeze ui on load
2020-04-20 18:52:02 +02:00
scribam
62afe5714a
Rework cThread to use std::thread
2020-04-15 20:20:30 +02:00
scribam
71c1bb0670
Android build update
2020-04-04 22:05:26 +02:00
scribam
4fa187035c
android: remove relative path to include zip.h
2020-03-25 22:05:58 +01:00
Flyinghead
5894992f70
android: don't use storage for default buttons.png
2020-03-24 23:31:34 +01:00
Flyinghead
5a1b7374e5
change icons. display error message when game fails to load.
2020-03-21 15:05:38 +01:00
Flyinghead
0c2e95185c
support for right analog stick. Fix gunsur2 inputs
2020-03-20 16:57:50 +01:00
Flyinghead
bb345bf291
android: force static openmp linking
...
Issue #30
2020-03-17 14:16:23 +01:00
Flyinghead
1abfdaf64e
audio: pulse async driver, null driver, latency setting
...
Pulse: use async API instead of simple API
Null driver: no audio driver with accurate timing
Add latency setting to alsa, pulse and android drivers
android: start and stop AudioTrack on audiobackend init/term
Simplify audiostream. Get rid of "none" option
2020-03-14 22:46:40 +01:00
Flyinghead
4e73af0f94
Mem leaks in input mapping/jvs/x11. Fix crash when latin-1 char is input
...
Fix warnings
2020-03-12 16:09:05 +01:00
Flyinghead
99f04ec753
nuke softrend
2020-02-26 23:41:05 +01:00
Flyinghead
1b8c2a63c2
stop being permissive
2020-02-26 23:00:29 +01:00
Flyinghead
276a77ec26
android: get rid of deprecated boot and disk swap funcs
2020-01-31 11:36:40 +01:00
Flyinghead
cdeba9b03e
android: screen resizing ignored with gl
2020-01-04 16:41:45 +01:00
Flyinghead
214a15073e
android: add debug keystore to avoid upgrading errors
2020-01-04 10:41:09 +01:00
Flyinghead
2a89874812
decouple imgui from gles renderer
2019-10-19 18:34:24 +02:00
Flyinghead
6611e9bf5e
gl: refactor wsi into their own class.Allow dynamic vk<->gl switch
2019-10-18 21:57:08 +02:00
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
becdd213fe
android: build vulkan renderer
2019-10-09 22:44:06 +02:00
Flyinghead
ae4f378747
Add fast-forward mode
...
Fix buttons.png not being created if not first run
2019-09-27 14:15:29 +02:00
Flyinghead
8b949e1dca
Get rid of time_sync timer. Clean-up
2019-09-11 15:09:23 +02:00
Flyinghead
ee1ee56824
proper hard reset of sh4 mm registers
...
more clean up
2019-09-01 23:10:04 +02:00
Flyinghead
d3173931f1
reios: handle gdrom hle state properly
...
better documentation, clean up
parallelize gradle builds + tv banner
2019-08-01 12:31:08 +02:00
Flyinghead
1375536534
fix android intent-filter. fix spurious maple warning
2019-07-13 15:30:10 +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
3863d9d2fb
android: use new logging
2019-07-01 18:36:52 +02:00
Flyinghead
8404c6322c
New logging framework stolen from dolphin
2019-06-30 21:06:46 +02:00
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