Flyinghead
2a465d2f03
ios: check if jit is enabled. attempt to enable it by debugging self
...
JIT detection and enabling taken from ppsspp
Re-check JIT and restart AltServer discovery every 10 secs until JIT is
enabled.
Attempt to enable JIT by forking a process to debug the parent process.
(jailbroken devices)
2022-12-30 16:22:38 +01:00
Flyinghead
95a00a165a
sentry: upload crashes after reading emu.cfg to comply with user choice
...
android: get rid of Send Logs button
2022-12-23 10:06:24 +01:00
Flyinghead
f3a6fb7d8b
sentry.io integration
2022-12-20 21:52:46 +01:00
Flyinghead
d417237e64
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/emulator.cpp
2022-12-06 21:47:50 +01:00
Flyinghead
a0529d1cfc
drop support for legacy .reicast config dir (linux, macOS)
2022-12-06 18:09:43 +01:00
Edward Li
1995eb935b
Build OpenMP.xcframework
2022-11-19 12:52:58 +01:00
scribam
f6532ca27a
fix some warnings
2022-11-19 12:52:26 +01:00
Edward Li
092006fbbe
Mark Flycast as a game for Launchpad
2022-10-15 21:33:22 +02:00
scribam
582876b99e
libomp.rb: update and set min macosx version to 10.9
2022-10-08 18:34:00 +02:00
Flyinghead
1858cf3b33
Merge remote-tracking branch 'origin/master' into dev
2022-09-24 19:28:38 +02:00
Edward Li
da0d012328
Handle Dock menu's Quit action
2022-09-16 16:03:25 +02:00
Flyinghead
e0d87eb093
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/rend/gui.cpp
2022-08-22 13:09:56 +02:00
Edward Li
9b751fced8
NSLog with UTF-8, better color handling
2022-07-22 18:12:43 +02:00
vkedwardli
852df89f93
[macOS] Handle Quit menu item properly ( #684 )
...
* [macOS] Handle Quit menu item properly
* cleanup
2022-07-05 14:37:28 +02:00
vkedwardli
b5eb8694f6
macOS Breakpad ( #683 )
...
* Breakpad.framework and dump_syms
* Use ExceptionHandler manually instead of using public methods from the framework
* Change macOS buildType to RelWithDebInfo and enable building Breakpad framework
* Enable symbol upload on GitHub runner
* Compile Breakpad directly instead of embedding the Breakpad.framework
* Print minidump location also
* Ignore `EXC_MASK_BAD_ACCESS` again
2022-07-05 14:36:21 +02:00
Flyinghead
19112aecb2
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/hw/naomi/naomi_cart.cpp
2022-07-01 12:42:37 +02:00
vkedwardli
a659b57e63
Install Vulkan SDK in generate_xcode_project.command ( #678 )
2022-06-30 14:11:26 +02:00
Flyinghead
5eb302898f
box art fetch and display
...
Issue #22
2022-06-15 21:22:12 +02:00
Flyinghead
971d47eb42
sdl: SDL_QuitSubSystem() on exit
...
Tentative fix for issue #654
2022-05-31 17:42:42 +02:00
vkedwardli
5c579de459
Enable Texture Upscaling on macOS ( #645 )
...
* Compile a universal libomp
* static linking OpenMP
2022-05-28 13:00:20 +02:00
Flyinghead
22ad95cbfe
ios: diagonal DPad buttons. Pan between buttons. Help tip for menu
...
Add diagonal DPad buttons
Allow switching virtual button without lifting finger.
Display help tip on first startup about pausing/opening menu.
2022-05-27 18:32:55 +02:00
Flyinghead
db8508cefc
ios: update AltKit
2022-05-27 18:20:16 +02:00
Flyinghead
a710674cd4
gui: init once. reset ui driver when needed. android 120+ Hz support
...
ImGui is now initialized once at startup and shutdown before
terminating. graphics initialization is independent.
Move more imgui stuff into imgui drivers.
switch: set scaling on external screen to 1.4, same as xbox
UI scaling refactoring.
2022-04-13 18:06:19 +02:00
Flyinghead
ddfc00ed9f
Merge remote-tracking branch 'origin/master' into dev
2022-04-13 16:29:41 +02:00
scribam
3d5fd61285
macos: fix size for image icons
2022-04-09 12:06:17 +02:00
Flyinghead
af0574c04e
build fixes for msvc, ios and android
2022-03-27 15:57:01 +02:00
Flyinghead
53b5588bda
Merge remote-tracking branch 'origin/master' into dev
2022-03-13 11:01:27 +01:00
Flyinghead
e5d517dad2
use platform.isConsole(), platform.isNaomi(), ...
2022-01-27 17:52:19 +01:00
Flyinghead
dcd48f4264
ios: on-screen keyboard support
2022-01-19 13:48:16 +01:00
Edward Li
8ee9f1b1d9
Cleanup macOS screen DPI calculation (included in SDL 2.0.20 now)
2022-01-18 11:58:57 +01:00
Edward Li
5aeef17d09
macOS: Enable "New Instance" in File and Dock menu for SDL
2021-12-25 21:46:19 +01:00
Flyinghead
3f82c7fb6f
iOS: use play and record audio session only when necessary
...
Change audio session to play and record when a microphone is connected.
Use a play only session otherwise. Issue #360
Hide VSync-related gui option.
2021-12-21 21:36:12 +01:00
scribam
109cb81ab7
ci: add cmake install and refactor artifact generation
2021-12-20 14:36:48 +01:00
scribam
73fa0e3efc
cmake/deps: update sdl to version 2.0.18
2021-12-19 11:18:24 +01:00
Edward Li
3db4993077
Xcode project file (debug friendly) generator with predefined LLDB Init File to bypass SIGBUS error
2021-12-03 15:49:47 +01:00
Edward Li
bc1a5fdd8d
Make LLDB ignore EXC_BAD_ACCESS for debugging
2021-12-03 15:49:47 +01:00
scribam
8a6ce19e1e
input: cleanup virtual function specifier
2021-11-29 18:19:22 +01:00
Flyinghead
e56ecfec40
vk,dx9: black screen/crash in single-threaded on direct fb access
...
When rendering happens after the render timeout (initial sega copyright
screen and more), the frame is never swapped and never displayed. Causes
a crash in vk since the acquired swapchain image is never
presented/released.
2021-11-11 11:17:39 +01:00
Flyinghead
ac5abd96bb
ui: imgui driver, GraphicsContext interface, dx9 swap interval
...
Refactor imgui backend code into imgui drivers for gl, vk, dx9
Generic GraphicsContext interface for gl/vk/dx9 contexts
Simplify graphics api switching code
dx9, gl(sdl): set swap interval based on monitor refresh rate.
2021-11-10 20:35:30 +01:00
scribam
d100067e02
cmake: use AltKit default include directory for AltKit-Swift.h
2021-11-08 11:58:42 +01:00
Flyinghead
da3ed74c4e
vulkan: moltenvk support on macOS - WIP
...
sdl: save/restore window position in config
2021-11-01 13:05:22 +01:00
Flyinghead
ff39b8b252
macOS: use ~/Library/Application Support/Flycast as home directory
...
still use ~/.flycast or ~/.reicast if found for backward-compatibility
Issue #336
2021-10-27 12:22:24 +02:00
Flyinghead
ab45b5ec8a
ggpo: keyboard/mouse games support. Fix chat when keyboard disabled
...
ggpo: support for arcade games using keyboard (totd, luptype) and
mouse/rotary encoders (waiwai drive)
Chat and UI now usable when the keyboard is not set to a maple port.
2021-10-19 16:56:46 +02:00
Flyinghead
5bcfa35737
Better background game loader
...
Pass LoadProgress object to report load progress and cancel
Better UI
Cancel with exception
Fix issues when stopping/exiting in !threaded
dx9: call gui_term on shutdown
2021-10-02 11:30:40 +02:00
Flyinghead
699dcdaf5b
Merge remote-tracking branch 'origin/master' into net-rollback
...
# Conflicts:
# core/hw/maple/maple_if.cpp
# core/rend/mainui.cpp
# shell/libretro/libretro.cpp
2021-09-30 15:03:29 +02:00
Flyinghead
f72f4c49fb
macos: fix freeze in !threaded. input: fix crash when saving mapping
...
audiostream: delete legacy [audio]disable option
2021-09-30 14:31:51 +02:00
Flyinghead
2803ee8274
imgread.ImagePath clean up. ggpo: poll input late if !thread
2021-09-30 14:24:17 +02:00
Flyinghead
99bf7f77c4
single-threaded mode. refactoring.
...
single-threaded mode similar to libretro core
stateful Emulator object
disable memory watcher when !gppo
ggpo: poll input as late as possible in !threaded
2021-09-29 10:22:58 +02:00
Flyinghead
7fe2ab720f
refactor screen_width/height
2021-09-27 20:29:23 +02:00
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