scribam
1fa233aae7
Remove makefiles and xcode project files
2021-09-27 11:52:18 +02:00
scribam
25fdeac697
cmake: iOS minor fixes
2021-09-25 16:04:05 +02:00
Cameron Bates
07d27edb76
Add more keys, gui hotkey
2021-09-22 20:16:11 +02:00
Flyinghead
1725dbfa98
input: fix arcade mode for on-screen gamepads.
...
Use same layout as gamepad arcade for on-screen gamepads (ABXYRL)
map RT and LT to buttons 5 and 6 in arcade
android: Fix non-working fast-forward button
Use maple port in lastAxisValue state
naomi: use default alienfnt buttons: 1-4
2021-09-21 15:56:01 +02:00
Cameron Bates
67790abf0e
[iOS] Update AltKit ( #366 )
2021-09-21 10:12:19 +02:00
Flyinghead
7d57d55414
iOS build fix
2021-09-19 18:55:09 +02:00
Flyinghead
65956dbc8d
input: merge buttons and axes
...
Default mappings for arcade and console
Default mappings for arcade stick/hitbox
Proper handling of inverted axes
ggpo: automatic analog setting for arcade games
2021-09-19 18:27:21 +02:00
Cameron Bates
501c6f260a
Remove mouse invert option and invert gcmouse by default
2021-09-14 23:43:16 +02:00
Cameron Bates
e1fa2b9831
[iOS] GCMouse support ( #353 )
2021-09-14 11:51:44 +02:00
Edward Li
043175ae4d
Rumble using MacBook's Taptic Engine
2021-09-14 11:44:37 +02:00
Cameron Bates
0182d1ca09
Add dummy value for ALTDeviceID
2021-09-12 15:59:25 +02:00
Cameron Bates
45f68d59ff
iOS Keyboard Support ( #347 )
...
PR adds in support for iOS keyboards using GCKeyboard
2021-09-11 13:08:35 +02:00
Flyinghead
e45ec4324f
Merge remote-tracking branch 'origin/master' into libretro
2021-09-10 12:19:29 +02:00
Flyinghead
4d5c93adfa
ios: add entitlements and sign IPA with ldid
2021-08-29 11:58:05 +02:00
Flyinghead
4bf20846bc
iOS: output audio to speakers, not the receiver
2021-08-26 10:02:38 +02:00
vkedwardli
7a33ae35e0
[macOS] Fix DelayFrameSwapping and optimise Vsync logic ( #307 )
...
* Support macOS 10.15 and 11
* Enable VSync option on macOS. Use "swapOnVSync" logic from other wsi
* Limit `mainui_rend_frame()` to 5 iterations max: 4 renders and the final swap
2021-08-24 11:43:19 +02:00
Flyinghead
43ae2ea5f5
macOS: upgrade SDL to 2.0.16
...
fixes Xbox series X controller support
2021-08-23 17:56:40 +02:00
Flyinghead
e3e3229612
iOS: multiple controller/rumble support. GL: fix black screen after RTT
...
iOS:
* multiple controllers support. Rumble support.
* fix audio recording
* declare CHD/GDI/CUE/CDI content types
* start game when opening file URL
* Use safe area for UI and virtual gamepad
* Better icons
2021-08-23 14:02:12 +02:00
Flyinghead
42eeddcbfb
iOS: on-screen gamepad layout fix
2021-08-17 10:13:30 +02:00
Flyinghead
8b0f17fb25
iOS: bundle_version must not be null. Add Document Browser support
2021-08-16 13:09:53 +02:00
Flyinghead
a3900495d5
iOS: map menu button to Options, start to Menu. Analog triggers
2021-08-16 11:46:45 +02:00
Flyinghead
3ea688be69
iOS: pause/resume based on focus. autosave state on background. VGamepad fix
...
Get rid of swipe gesture (fixes touch not being delivered)
Use UP+DOWN or LEFT+RIGHT to open menu.
Arcade shortcuts (RT + A/B/X)
Disable system gestures
Monitor network and restart AltKit as needed.
2021-08-12 11:22:22 +02:00
Flyinghead
1bea7853ef
iOS: CI job, JIT status, touch fixes
2021-08-10 17:04:36 +02:00
Flyinghead
bb217e5c49
iOS: AltKit source
2021-08-10 11:34:11 +02:00
Flyinghead
12f302d356
iOS: uv need high precision in fragment shader. cmake build. virtual joystick. AltKit integration
2021-08-10 11:32:22 +02:00
Flyinghead
77e7c25e9c
iOS support. Work in progress
2021-08-06 10:30:30 +02:00
Flyinghead
6bb4575c95
Merge remote-tracking branch 'origin/master' into libretro
2021-08-05 18:17:30 +02:00
Flyinghead
37eace9db4
osx: lockup when emulator aborts. Race condition when starting emu
2021-08-05 17:43:26 +02:00
Flyinghead
2dd7717128
glGetString(GL_EXTENSIONS) may return null in core contexts
...
xcode project missing update
2021-08-03 09:49:20 +02:00
vkedwardli
a14fc35e47
Support Fast Forward in macOS ( #303 )
2021-07-26 20:36:14 +02:00
vkedwardli
3c483c61e7
Support Apple Silicon (macOS ARM Universal Binary) ( #253 )
...
* Add audio arm64 cpp into Xcode project
* Build universal binary for SDL2 also
* Add vixl aarch64 dependency + build arm64 in cmake
* hardcode pagesize for M1 CPU
* Use `MAP_JIT` and toggle between RX and RW
* add pthread.h for cmake
* Disable audio dynarec temporary
* Enable aica arm dynarec
* Supports `br` with condition
* Dynamic linker flag for libSDL2.a since Homebrew path is different on arm (for xcodeproj)
* Fallback path for Intel
* de-dup for arm64, allow cross compilation on both Intel and Apple Silicon Mac
* Rename WriteProtect() to JITWriteProtect(), Move JITWriteProtect from arm7_rec to arm7_rec_arm64
* Remove CodeCache memset
* Remove keyboard_device.cpp from xcodeproj
* Use hard tab
* Update libchdr to support compiling on M1 (thanks @scribam)
2021-07-23 22:34:12 +02:00
Flyinghead
de060d66ab
don't save flash if no game started. libretro: fix notifications
...
compilation warnings, non-functional changes
2021-07-20 19:21:11 +02:00
Flyinghead
7f49accc22
Merge remote-tracking branch 'origin/master' into fh/directx
2021-06-07 20:53:31 +02:00
scribam
57ae9022dd
Update Windows resource and version.h.in files
2021-05-28 14:56:04 +02:00
flyinghead
7ed68952ba
Merge remote-tracking branch 'origin/master' into fh/directx
...
# Conflicts:
# core/deps/patches/SDL.patch
# core/hw/maple/maple_devs.cpp
# core/rend/gl4/gles.cpp
# core/rend/gles/gles.cpp
# core/rend/gui.cpp
# core/rend/gui.h
# shell/apple/emulator-osx/reicast-osx.xcodeproj/project.pbxproj
2021-05-26 22:38:48 +02:00
vkedwardli
2b62f8c607
Fix macOS cmake & Xcode project ( #255 )
...
* Update zlib reference for Xcode project
* Add CoreHaptics.framework for Xcode project
* Capitalize app bundle
* Use local FindSDL2.cmake script for macOS
* Use `macOS` instead of the old `OSX`
2021-05-25 10:11:58 +02:00
scribam
fa217e4cd0
ioctl: replace SCSIDEFS.h with Windows headers
2021-05-25 10:10:50 +02:00
Flyinghead
54c492cac6
Use libchdr as git submodule. bump to latest version
2021-05-22 17:52:17 +02:00
flyinghead
5f5d31730c
sdl: hide mouse in fullscreen. fix & refactor mouse devices
...
support rawinput mouse wheel
simplify mapping load
2021-05-19 18:13:52 +02:00
Flyinghead
a56f45af98
macos: build sdl from source to avoid high sierra crash
2021-05-17 19:08:37 +02:00
Edward Li
eb5a3bfd01
spacing
2021-05-17 19:56:28 +08:00
Edward Li
2d2ab0b99a
Fix macOS crash
2021-05-17 19:56:09 +08:00
Flyinghead
f616fe25bb
fix macos project
2021-05-17 12:08:56 +02:00
Flyinghead
1464c02903
mmu: add address cache to mem slow path. better fastmmu hashtable.
...
mmu: add address cache to Read/WriteMemNoEx
fastmmu: ignore 1k pages. optimize hashtable
get rid of NO_MMU
2021-05-14 19:03:57 +02:00
flyinghead
23f483cd01
Merge pull request #237 from vkedwardli/fix-macos-multiple-instance
...
Fix macOS multiple instance
2021-05-12 17:32:50 +02:00
Edward Li
aae3ae988f
change to `com.flyinghead` for Xcode project
2021-05-12 03:52:33 +08:00
Edward Li
36576713af
Using the correct identifier for instance count
2021-05-12 03:51:50 +08:00
Flyinghead
e07977eea9
mac,x11: propagate win/sdl mouse/keyboard changes
2021-05-10 13:48:12 +02:00
Edward Li
b56c5b1c51
Get the largest size even if kDisplayModeNativeFlag is not present
2021-05-06 06:57:21 +08:00
flyinghead
b90cdf9588
RawInput driver. Multiple keyboards support
...
Merge Keyboard and KbGamepad
Always use system mouse for UI
Issue #138
Fix DX9 when not using SDL
2021-04-29 18:58:04 +02:00
Flyinghead
72968290bf
cheats: support for .CHT cheat files
...
Issue #167
gui: no need to save background in opengl, use RenderLastFrame instead
disable cheats when online
2021-04-06 11:41:41 +02:00
Flyinghead
1e6874c5eb
SDL2/SDL.h -> SDL.h
2021-03-21 20:07:53 +01:00
Flyinghead
685dcd1c8a
Variable length arrays not supported by msvc. Fix MacOS project
2021-03-21 18:03:22 +01:00
C.W. Betts
06879c65bc
Update the iOS Xcode project.
2021-03-13 14:21:41 -07:00
C.W. Betts
90c1cd0d5c
Minor pokes.
2021-03-13 13:58:48 -07:00
C.W. Betts
24fe77e4f0
Better include paths in Xcode.
...
Include emulator-osx-Bridging-Header.h in osx-main.mm, with added extern "C" around the header.
2021-03-13 13:58:47 -07:00
C.W. Betts
004b238fb7
Remove the printf to darw_printf define.
...
Quiets a warning about unknown printf-format type 'darw_printf'.
2021-03-13 13:58:47 -07:00
C.W. Betts
de8382b4d0
Update Xcode projects.
...
Add arm64 source code to the macOS Project.
2021-03-13 13:58:42 -07:00
C.W. Betts
d20ba556a9
iOS: migrate to Xcode assets.
...
Fix the PadViewController xib: it was basing the image names with the file extensions.
2021-03-13 13:57:27 -07:00
C.W. Betts
6ac1e1df0e
Initial poke.
2021-03-13 13:57:27 -07:00
Flyinghead
c61a66257f
macos: no fast-math. fix xbyak "offset too big"
2021-03-13 10:34:13 +01:00
Flyinghead
0c8815549c
Merge branch 'fh/x64-arm-jit'
...
# Conflicts:
# core/hw/aica/aica.cpp
# core/nullDC.cpp
2021-03-02 19:42:15 +01:00
Flyinghead
c3a95594f9
New option system
...
Fix per-game settings (Issue #115 )
Automatic load/save state (Issue #173 )
Reload Naomi/AW BIOS after per-game settings are loaded to allow
per-game BIOS region. (Issue #96 )
Restrict Soul Reaver widescreen cheat to the EU version (Issue #188 )
Disable UI elements for overridden settings
Clean up/simplify legacy Naomi ROM loading
2021-03-01 10:13:40 +01:00
Flyinghead
c6389de3b3
macos: detect shift/ctrl/alt key presses as individual keys
...
Issue #176
Add "Open Menu" menu entry
2021-02-24 17:28:58 +01:00
Edward Li
50ece2a831
Handling scaling properly on macOS
2021-02-18 06:03:14 +08:00
Edward Li
eda6603808
Use `preferredLanguages` to detect system language
2021-02-01 19:57:28 +08:00
Edward Li
94caf86d4d
Precompose unicode characters before displaying since HFS+ and APFS is using decomposed form
2021-02-01 19:42:18 +08:00
Edward Li
98c4343410
Font loading for macOS
2021-02-01 19:40:12 +08:00
Flyinghead
80782475da
x64 rec: get rid of setjmp. standardize ngen_Rewrite/HandleException
...
move rewrite code from exception handlers to x86/x64 dynarecs
use same host context info on linux/win
x64: stack alignment issue in mem handlers
2021-01-30 16:14:44 +01:00
Flyinghead
882e14f13f
aica: x64 jit for arm
...
aica arm x86: use pc-relative addressing to access arm registers
OSX project fix
arm7: add simple ldm/stm handling. optimize arm32 and x64 recs
update CMakeLists.txt and Makefile. finish rebase
2021-01-26 21:32:43 +01:00
flyinghead
93ceb92c12
x86 dsp dynarec
2021-01-26 18:48:17 +01:00
flyinghead
c44302a477
macOS build fix
2021-01-21 21:32:49 +01:00
flyinghead
ed7bd06f96
win32: multiple mice support. Patch and build SDL
2021-01-21 21:00:46 +01:00
flyinghead
9ce66231a1
macOS build fix
2021-01-20 17:11:58 +01:00
flyinghead
3d570f8008
delete deps/coreio
2021-01-19 17:50:03 +01:00
flyinghead
16dec49e08
windows: use utf8 internally. Support latin2, cyrillic, etc. pathnames
...
upgrade libzip to 1.7
imgui: use all glyphs from font including latin2, cyrillic, greek, etc.
2021-01-19 11:11:01 +01:00
Flyinghead
36451614d2
rec-x64: don't use vfmadd to avoid intel/amd variations
2021-01-08 21:40:13 +01:00
Flyinghead
baa36925e2
naomi: more rom list to cpp. remap pjustice buttons. add more inputs
2021-01-05 18:39:00 +01:00
Flyinghead
99bd8b4972
get rid of USE_MODEM/ENABLE_MODEM
2021-01-04 20:58:29 +01:00
Flyinghead
889fc8256d
broadband adapter support
2021-01-02 21:19:50 +01:00
Flyinghead
bbedcaa37b
macOS: ignore -psn arg on first launch. LoadSpecialSettings() clean up
2020-12-29 17:56:35 +01:00
Flyinghead
467e7954a5
log to ~/flycast.log if ./flycast.log isn't valid
2020-12-29 13:12:00 +01:00
Flyinghead
cc7a292591
macOS: link sdl statically, hide vulkan. naomi: use miniupnp for server port
...
macOS doesn't need volk or glslang
link sdl statically
add GameController.framework (Xcode)
2020-12-29 11:53:00 +01:00
Flyinghead
9c43a55c42
miniupnpc: fix include dir
2020-12-28 13:15:06 +01:00
Flyinghead
e7ae03ded9
modem: use miniupnp to open router ports
2020-12-28 11:31:26 +01:00
Flyinghead
1b2de1a4c9
macOS: mouse coordinates must be converted to backing store resolution
2020-12-27 09:01:30 +01:00
Flyinghead
060650e0d8
support for compressed save-states
2020-12-26 09:58:53 +01:00
Flyinghead
ee157db078
macos: microphone support. Audio latency setting
2020-12-24 08:58:46 +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
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
30b8c0d4d4
macos compile fix
2020-11-20 22:15:01 +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
Edward Li
2bb5a5de9b
Enable `-ffast-math` flag in macOS build also to align with all platforms
2020-11-04 00:38:29 +08:00
Edward Li
5f76370121
[Xcode] Ignore EXC_BAD_ACCESS in debug mode. Bypass SIGBUS signal in lldb using Breakpoint Action
2020-08-10 02:02:07 +08:00
Flyinghead
42cb880538
macos: add null audio driver
2020-06-29 21:31:37 +02:00
Flyinghead
5de78a4687
osx: avoid hang when quitting emu during gameplay
2020-05-23 13:03:59 +02:00