Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] gdxsv-master from flyinghead:master #265

Merged
merged 790 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
790 commits
Select commit Hold shift + click to select a range
53d092c
naomi: set SB_GDSTARD and SB_GDLEND when starting dma
flyinghead Jul 17, 2024
0b6b8b3
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Jul 19, 2024
2b83df8
boxart: don't save database when pausing (android, uwp)
flyinghead Jul 20, 2024
8b2c1bc
android: bug fixes
flyinghead Jul 20, 2024
33d1daf
android: revert changesNotSentForReview param change
flyinghead Jul 20, 2024
3afa432
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Jul 26, 2024
588dca2
cmake: cleanup
scribam Jul 28, 2024
bb048de
ci: use default xcode version
scribam Jul 28, 2024
088c1e6
unit: build fix for apple platform when ctest is enabled
scribam Jul 28, 2024
cea8056
deps: update submodules
scribam Jul 28, 2024
56b8bb1
vk: cleanup
scribam Jul 28, 2024
6b3e866
deps: fix libzip compilation error with gcc 14.1
scribam Jul 28, 2024
45bf218
ci: bump actions/setup-python to v5
scribam Jul 29, 2024
a058481
oboe: log record stream buffer capacity, not output stream
flyinghead Aug 13, 2024
9fd80b9
Storage::getSubPath can throw if path doesn't exist (android)
flyinghead Aug 13, 2024
138adc2
android: ANR when loading cheat file
flyinghead Aug 13, 2024
09ab139
android: deadlock when Emulator::checkStatus is called concurrently
flyinghead Aug 15, 2024
dae3676
android: NPE in NativeGLView when Emulator.currentActivity is null
flyinghead Aug 15, 2024
aafa9f0
android: intent url ignored unless external storage legacy is enabled
flyinghead Aug 15, 2024
fbe7cc8
input: crash when setting the keyboard to port None
flyinghead Aug 15, 2024
ecb468a
msvc build fix
flyinghead Aug 15, 2024
f1fd8b1
android: do all rumble/haptic on background thread
flyinghead Aug 15, 2024
6679cb2
android: show/hide keyboard in main thread to avoid deadlock
flyinghead Aug 16, 2024
8ea1244
android: fix touchscreen coords when view is scaled
flyinghead Aug 16, 2024
5565b79
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Aug 16, 2024
00f60a3
win32: don't compile clock.c with clang
flyinghead Aug 17, 2024
cb0b667
maple: don't assert dma interrupt if using hardware dma trigger
flyinghead Aug 17, 2024
af73532
pvr: rgb888 needs to be correctly aligned when xclip.min != 0
flyinghead Aug 17, 2024
4d06743
gdrom: don't crash on unsupported sector size
flyinghead Aug 17, 2024
6061d40
build fix
flyinghead Aug 17, 2024
b99b345
sh4: compute fsrra as 1/sqrt(x) instead of sqrt(1/x)
flyinghead Aug 20, 2024
3490830
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Aug 23, 2024
244bb72
naomi: add FFB support for Tokyo Bus Guide
flyinghead Aug 24, 2024
7a27a43
vulkan: Fix multipass RTT in OIT mode
flyinghead Aug 24, 2024
308d9fc
Increase max transparent layers for some games
flyinghead Aug 24, 2024
a93bd9e
Merge remote-tracking branch 'origin/playstore' into dev
flyinghead Aug 24, 2024
0ff9caf
ci: make breakpad optional on all platforms
flyinghead Aug 29, 2024
757732d
vk oit: load correct attachment. Only reset pipelines when needed
flyinghead Aug 29, 2024
368bd17
vk: use swap_chain_size + 1 semaphores
flyinghead Aug 29, 2024
b468c9b
aica: reset CA to 0 when disabling channel due to AEG
flyinghead Aug 29, 2024
c575eac
naomi: add mushik4t rom
flyinghead Aug 30, 2024
9691fe9
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Aug 30, 2024
8cb8479
vk oit: attachment 0 must be loaded too
flyinghead Sep 1, 2024
1223154
jvs: fix analog axes values encoding
flyinghead Sep 1, 2024
f039a80
naomi: limit max analog values to avoid overflow
flyinghead Sep 2, 2024
7174ef1
naomi: full rfid chip emulation for mushiking series
flyinghead Sep 4, 2024
480f93e
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Sep 6, 2024
a81a02f
maple: save rfid card after decrementing counter
flyinghead Sep 7, 2024
5393235
aica: skip remaining step functions when channel is disabled
flyinghead Sep 7, 2024
0077b8e
deps: update sdl to version 2.30.7
scribam Sep 8, 2024
64d7199
Merge remote-tracking branch 'origin/master' into dev
flyinghead Sep 16, 2024
0e97f97
android: virtual gamepad rumble power wasn't set at app startup
flyinghead Sep 16, 2024
38de286
sgdrvsim: axis 0 is master audio volume, not wheel
flyinghead Sep 16, 2024
079180f
Force PAL for Snow Surfer. Increase Max Layers for some games.
flyinghead Sep 18, 2024
915532f
vk: don't depend on current clamping values when compiling shader
flyinghead Sep 18, 2024
92555c6
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Sep 20, 2024
f8c12d2
android: fix getFileInfo for document uri. cheats: limit file size
flyinghead Sep 23, 2024
abe7140
android: race condition with render thread. ANR with auto save state
flyinghead Sep 23, 2024
63ef3aa
android: avoid crash when app is run in restricted mode
flyinghead Sep 23, 2024
4baf529
race condition when stopping emu thread right after start
flyinghead Sep 23, 2024
a46dc71
android: target android 14 / sdk 34
flyinghead Sep 23, 2024
210e8ca
android: get rid of ouya sdk
flyinghead Sep 23, 2024
c83b0e3
android: fix Delay Frame Swapping sync issue. ANR in single-threaded
flyinghead Sep 24, 2024
f179c00
gl: fix Delay Frame Swapping pacing issue on android
flyinghead Sep 24, 2024
7907100
dx11: wrong texture returned to libretro in some cases
flyinghead Sep 25, 2024
343021a
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Sep 27, 2024
2653c5e
naomi2: fix modifier volumes clipping
flyinghead Sep 28, 2024
2dd4cbe
vk oit: draw transparent polys in the first frame after (re)init
flyinghead Sep 29, 2024
3d41e4e
deps: update sdl to version 2.30.8
scribam Oct 2, 2024
e10a992
Set OIT max layers for more games
flyinghead Oct 3, 2024
5d719e0
rend: unexpected conversion to unsigned for VO_STARTX/Y with msvc
flyinghead Oct 3, 2024
55e0211
android: use ASS to select custom adreno driver
flyinghead Oct 4, 2024
5450646
android: add virtual gamepad transparency setting
flyinghead Oct 4, 2024
efd71b3
Storage::getParentPath can throw
flyinghead Oct 4, 2024
d689c50
naomi: increase dma xfer rate except for force five
flyinghead Oct 5, 2024
30bb864
vulkan: check image usage flags if image already exists during RTT
flyinghead Oct 7, 2024
56fe3b9
Fix `arm64_unwind.h` include-order
Wunkolo Oct 7, 2024
e427c4d
lr: don't set IntOption if overridden
flyinghead Oct 8, 2024
f37e43b
vk: don't set scissoring in final OIT subpass
flyinghead Oct 8, 2024
d7c168f
naomi: copy cart dma data in chunks
flyinghead Oct 8, 2024
86657c0
Fix `{Push,Pop}StyleVar` assert
Wunkolo Oct 8, 2024
ff6a311
vk: Determine object type enum when setting object name
Wunkolo Oct 8, 2024
556e2ea
vk: Refactor physical device selection (#1671)
Wunkolo Oct 8, 2024
01e5cd8
pvr: fix default clipping rectangle
flyinghead Oct 9, 2024
03d20f9
bug report: ask for flycast version instead of github hash
flyinghead Oct 9, 2024
0c3f5c7
vk: Refactor device/instance extension enablement
Wunkolo Oct 9, 2024
b94acb7
vk: Use matching u/v/w sampler address-mode when possible
Wunkolo Oct 9, 2024
a8bc1c1
vk: Optimize redundant `QuadBuffer` uploads
Wunkolo Oct 9, 2024
b20db6a
vk: Disable LOD clamping in samplers (#1674)
Wunkolo Oct 9, 2024
5b34356
vk: Add `CommandBufferDebugScope` utility-type
Wunkolo Oct 9, 2024
4d73cc8
vk: Add `VK_EXT_provoking_vertex` optimization (#1681)
Wunkolo Oct 11, 2024
b2c6159
Merge remote-tracking branch 'origin/dev'
flyinghead Oct 11, 2024
d3916f1
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Oct 11, 2024
6d2ed41
lr: fix core options to work around translation issue
flyinghead Oct 12, 2024
9793e54
avoid deadlock when sh4 cpu is restarted while emu is being stopped
flyinghead Oct 12, 2024
bb7ad07
extra depth scale for sturmwind
flyinghead Oct 12, 2024
ea1cd9d
vk: Fix undefined push-constant data
Wunkolo Oct 9, 2024
6edad8e
android: update gradle and agp
scribam Oct 12, 2024
71dc4c3
ci: disable android signing on pull requests
scribam Oct 12, 2024
8f74f78
vk: Use `VK_FORMAT_R8G8B8A8_UNORM` for vertex colors
Wunkolo Oct 12, 2024
595842f
vk: Remove naomi2 vertex attributes when not needed
Wunkolo Oct 12, 2024
a50164a
vk: missing some changes to use VK_FORMAT_R8G8B8A8_UNORM
flyinghead Oct 13, 2024
b4937ef
f355: pass full BIOS path to slaves
flyinghead Oct 14, 2024
5aec6d0
vk: (lr) use one vk::DeviceQueueCreateInfo when possible
flyinghead Oct 14, 2024
f71dd6d
cdi: better detection of invalid CDI media
flyinghead Oct 14, 2024
fd475bd
vk: some pipelines don't need the provoking vertex extension
flyinghead Oct 14, 2024
75af269
rend: ignore inside clipping if rect is default value
flyinghead Oct 15, 2024
b698cc3
dx11: reset device context state to fix libretro shaders
flyinghead Oct 15, 2024
d4a2236
enable RTT Copy to VRAM for Silent Scope
flyinghead Oct 17, 2024
894ac54
imgui: fix dpad navigation issue on shield tv
flyinghead Oct 17, 2024
4750ddb
android: new option to use legacy file picker instead of new SAF one
flyinghead Oct 17, 2024
54e8589
android: disable import/export home when SAF is disabled. Code clean up
flyinghead Oct 18, 2024
82925c4
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Oct 18, 2024
d981c48
libretro: fix translations
flyinghead Oct 19, 2024
c86ed29
picotcp: use dns.flyca.st as default dns
flyinghead Oct 19, 2024
b0403ed
imgui: ignore invalid fonts when merging
flyinghead Oct 21, 2024
8108e63
rcheevos: race condition in event handlers and async tasks
flyinghead Oct 21, 2024
e221f6f
deadlock when pausing/resuming quickly (android)
flyinghead Oct 25, 2024
760813e
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Oct 25, 2024
32d11dd
fix missing include
abouvier Oct 25, 2024
32ccb75
libretro: fix translations
flyinghead Oct 29, 2024
f3a64e5
android: clean exit when using the exit hotkey
flyinghead Oct 29, 2024
742090b
rcheevos: disable achievements in naomi slaves
flyinghead Oct 29, 2024
2e5309b
aica: don't batch samples
flyinghead Nov 1, 2024
cec4699
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Nov 1, 2024
65aadb9
pvr: avoid infinite loop if tile array is invalid
flyinghead Nov 2, 2024
da3cfd9
deps: update sdl to version 2.30.9
scribam Nov 2, 2024
4d5ced1
maple: add Full Controller with 2 analog sticks and all buttons
flyinghead Nov 2, 2024
96aac66
naomi: improve performance of M1 and M4 carts dma
flyinghead Nov 2, 2024
037dc3b
atomiswave: set dma speed to 7 MB/s for all aw games and conversions
flyinghead Nov 3, 2024
5fc84ac
maple: base vmu file name on game ID for multidisk games
flyinghead Nov 3, 2024
fc6142b
maple: do a full save of the vmu after loading a state
flyinghead Nov 4, 2024
d8a3ee9
android: disable openmp affinity on some devices
flyinghead Nov 6, 2024
9d4d486
naomi: add crc32 to GDROM and AW roms
flyinghead Nov 6, 2024
f892630
[Libretro] Add game dir as fall back for arcade BIOSes
bslenul Nov 5, 2024
cd8a883
get rid of TARGET_NO_EXCEPTIONS
flyinghead Nov 6, 2024
c77ddba
get rid of settings.dynarec.disable_nvmem
flyinghead Nov 6, 2024
aa38771
refactor sh4_sr_GetFull/sh4_sr_SetFull
flyinghead Nov 6, 2024
897e06b
sh4: refactor GetDR/SetDR and access to fp registers
flyinghead Nov 6, 2024
7eec648
sh4: move Sh4RegType & GetRegPtr into sh4/dyna
flyinghead Nov 6, 2024
d5aeb48
sh4: move sq_buffer into sh4 context
flyinghead Nov 6, 2024
52df013
sh4: pass sh4 context to sq write handlers
flyinghead Nov 6, 2024
e03e11b
arm64: mask value operand when calling a write mem handler
flyinghead Nov 7, 2024
93ae9d0
sh4: refactor interpreter and recompiler with Sh4Executor interface
flyinghead Nov 7, 2024
9cb7d9e
rec-arm64: fix Store Queue write handlers
flyinghead Nov 8, 2024
db846ca
sh4: pass context to interpreter funcs. get rid of sh4 regs #define
flyinghead Nov 8, 2024
2b28e81
sh4: build fix. rounding mode refactoring
flyinghead Nov 8, 2024
1cadeb2
sh4: test fix
flyinghead Nov 8, 2024
a3708a7
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Nov 8, 2024
dff967f
ui: notify user when loading a state fails and why
flyinghead Nov 9, 2024
fc33002
network: add Golf Shiyouyo 2 ports
flyinghead Nov 9, 2024
e394840
sh4: pass sh4 context to dynarecs, sh4cycles and caches
flyinghead Nov 9, 2024
7c1c581
sh4: move sqWrite func into sh4 context. Simplify usage
flyinghead Nov 9, 2024
129673a
dynarec: use sh4 ctx to get register pointers. prefer offset
flyinghead Nov 9, 2024
c9f2383
New macOS app icon
flyinghead Nov 11, 2024
3efb87b
vk: fix crash when enabling/disabling EmulateFramebuffer
flyinghead Nov 11, 2024
76638df
sh4: split xffr array. Fix FPCB_PAD on windows
flyinghead Nov 13, 2024
bdd2d5a
naomi: emulate dimm registers for gd cart
flyinghead Nov 14, 2024
1e30f48
New iOS app icon
flyinghead Nov 14, 2024
42ad553
Update Xcode project generator (#1732)
vkedwardli Nov 14, 2024
e2f8de3
audio: add build options for audio backend support
bsdcode Nov 13, 2024
d259a2e
libchdr: add build option for using system library
bsdcode Nov 13, 2024
b7163dd
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Nov 15, 2024
d618abc
rend: modifier volumes must be clipped
flyinghead Nov 17, 2024
fbd52a7
naomi: load and decrypt gd-rom on demand
flyinghead Nov 17, 2024
6612e3f
gdrom: update settings and more when swapping disks
flyinghead Nov 20, 2024
aa95c71
libretro build fix
flyinghead Nov 20, 2024
c4d7716
lua: add build option for Lua support
bsdcode Nov 20, 2024
7531f5d
oss: cleanup and unification
bsdcode Nov 14, 2024
b4dcc64
android: draw onscreen gamepad with imgui
flyinghead Nov 22, 2024
58c8a33
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Nov 22, 2024
d0584b8
vk: defer deleting framebuffers in ScreenDrawer and lr context
flyinghead Nov 23, 2024
a9fa33c
gl: test glBlitFramebuffer compliance and disable its use if failing
flyinghead Nov 26, 2024
516982c
ios: allow virtual gamepad layout customization
flyinghead Nov 26, 2024
792aa38
input: implement ramp up/down for analog axes mapped to buttons
flyinghead Nov 26, 2024
6bf38e5
input: fix potential race condition with analog ramp up/down
flyinghead Nov 26, 2024
974dc2e
missing iOS app icon source files
flyinghead Nov 27, 2024
df78a78
allow USE_HOST_LIBCHDR with libretro
flyinghead Nov 27, 2024
b42387e
naomi: vf4 and mazan input descriptors
flyinghead Nov 28, 2024
59c2343
android: add mime-type argument to addStorage()
flyinghead Nov 28, 2024
5e9c168
android: add BooleanArray to jni util. refactor using templates
flyinghead Nov 28, 2024
36c2f51
ios, android: load custom vgamepad image. disable unused controls
flyinghead Nov 28, 2024
a085fd2
ui: never disable Up and Down buttons on iOS. rename source files
flyinghead Nov 28, 2024
5f55a9f
naomi: fix issue when creating eeprom. Ignore audio disable.
flyinghead Nov 29, 2024
d38ce47
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Nov 29, 2024
b91f82c
win32: create screenshots path if needed. Fall back to Pictures folder
flyinghead Nov 30, 2024
c860807
gdrom: reduce dma buffer size. reios: schedule dma reads by chunks
flyinghead Nov 30, 2024
a40c51e
gdrom: fix deserialization crash
flyinghead Dec 3, 2024
de1584d
systemsp: input remapping. Input desc for mushiking, dinoking, lovebery
flyinghead Dec 3, 2024
78fa3ee
vulkan: delay updating imgui texture when driver has just been reset
flyinghead Dec 3, 2024
21f9e9f
android,ios: arcade vgamepad layout. android vgamepad rewrite
flyinghead Dec 3, 2024
92c5892
android: fix scaling when editing vgamepad. vgamepad code clean up
flyinghead Dec 4, 2024
dea8e74
better CI job names
flyinghead Dec 4, 2024
89abb79
Pro Pinball needs copy to vram. remove Nightmare Creatures widescreen
flyinghead Dec 7, 2024
a99aa52
sdl: don't run null haptic effects. Stop effects instead
flyinghead Dec 7, 2024
fff03f6
ssa: Fix wrong opcode comparison (#1769)
j-mattsson Dec 7, 2024
354d649
Merge remote-tracking branch 'origin/master' into dev
flyinghead Dec 7, 2024
5656370
deps: update sdl to version 2.30.10
scribam Dec 7, 2024
fb64fc4
ci: update freebsd and openbsd versions
scribam Dec 7, 2024
15617c1
ssa: fix regression
flyinghead Dec 8, 2024
e4599e3
Merge remote-tracking branch 'origin/master' into dev
flyinghead Dec 8, 2024
1507097
naomi: set offscreen sensor when reloading. fix wldkicks PCB inputs
flyinghead Dec 9, 2024
94f35ca
arcade: add input descriptors for most games
flyinghead Dec 9, 2024
bb1b105
sh4: SCIF DR bit can't be reset if rx fifo isn't empty
flyinghead Dec 11, 2024
67eee05
lightgun: wiggle the reported lightgun position in a 2x2 square
flyinghead Dec 11, 2024
f5389bc
battle cable: notify user when data first received from peer
flyinghead Dec 11, 2024
34961da
gdrom: add support for hardware CD-ROM devices
flyinghead Dec 11, 2024
53e0f12
win32: force libcdio static link
flyinghead Dec 12, 2024
a7f2008
rend: support planar VQ textures
flyinghead Dec 12, 2024
a46677e
ui: add cancel button when inserting a disk
flyinghead Dec 12, 2024
9ea0563
gdrom: stop cdda playback when reaching session lead out
flyinghead Dec 12, 2024
27a0497
win32: fix opening CD drive on command line. libretro build fix
flyinghead Dec 12, 2024
4af1d09
audio: reset buffer on loadstate/term. Fix null audio driver on windows
flyinghead Dec 13, 2024
686f08e
vgamepad: hide btn0 and map reload to btn1 for lightgun games
flyinghead Dec 13, 2024
421245a
lightgun xhair: centralize logic in crosshairNeeded()
flyinghead Dec 13, 2024
989d3b1
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Dec 13, 2024
20517cf
vgamepad: enable touch mouse when lightgun used
flyinghead Dec 14, 2024
8257784
ui: show boxart cover when starting a game
flyinghead Dec 14, 2024
d789b57
rend: get rid of globals for fog/palette updates & tex cache flush
flyinghead Dec 14, 2024
e5b1d56
rend: split texture conversion routines into their own file
flyinghead Dec 14, 2024
667e390
sh4: work around previous SCIF issues when loading a state
flyinghead Dec 14, 2024
ecd0305
fix build without dynarec
flyinghead Dec 14, 2024
3f8d645
rend: last frame was sometimes presented after the game is stopped
flyinghead Dec 15, 2024
34a5e7f
input: dreamconn+ support prototype
flyinghead Dec 16, 2024
dfd4dbe
fix windows build
flyinghead Dec 16, 2024
7fee0d2
cheat to work around fur fighters hanging
flyinghead Dec 16, 2024
6c3d77b
more windows build fix
flyinghead Dec 16, 2024
b9fdd50
dreamconn: detect dreamconn+ with VID/PID. Send maple data as text.
flyinghead Dec 20, 2024
b72750c
libretro: set an SDL hint to keep flycast SIGSEGV handler
flyinghead Dec 21, 2024
9bfd48c
ios: make the keyboard remappable
flyinghead Dec 21, 2024
50a1059
picotcp: Resolved memory leak
flyinghead Dec 26, 2024
cfd3677
picotcp: add socket event before socket is deleted
flyinghead Dec 26, 2024
f0aa1ab
picotcp: Fixed bug in tcpopt_len_check (rolling back index).
flyinghead Dec 26, 2024
6853238
picotcp: Discard incoming TCP segments with zero-len options
flyinghead Dec 26, 2024
59e844d
picotcp: Integer Overflow in pico icmp4
flyinghead Dec 26, 2024
1d29056
picotcp: accept PSH flag in SYN+ACK packets
flyinghead Dec 26, 2024
9038ef6
sdl: disable rumble when rumble power is set to 0
flyinghead Dec 26, 2024
9402981
net: add asio. use it for the gdb agent
flyinghead Dec 27, 2024
553f77c
dreamconn: send buzzer messages. Rename controller. Use asio iostream
flyinghead Dec 27, 2024
32d8d9a
Fetch translations & Recreate libretro_core_options_intl.h
invalid-email-address Dec 27, 2024
10aaec1
dreamconn: send data with socket to avoid fragmentation. Build fix
flyinghead Dec 28, 2024
ee1a716
dreamconn: open pause menu when LT+RT+Start is pressed
flyinghead Dec 28, 2024
a067917
Merge remote-tracking branch 'origin/dev'
flyinghead Dec 29, 2024
1106801
picotcp: support threads with msvc. Fix msvc pragma push issue
flyinghead Dec 30, 2024
d01cbde
Fix crash when reading 2448-byte sectors
flyinghead Dec 30, 2024
b7e2f5e
ci: force ubuntu-22.04 on libretro-x86_64-pc-linux-gnu target
scribam Dec 29, 2024
2f03c1b
build: drop unsupported architectures
scribam Dec 29, 2024
f3a3364
Generate Xcode project which can support both iOS and iOS Simulator
vkedwardli Dec 28, 2024
e18ada7
rend: reset scissoring before drawing final modvol quad
flyinghead Dec 31, 2024
5add29c
fix perf regression on macOS and iOS. Add Silent Scope (JP) identifier.
flyinghead Jan 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 0 additions & 14 deletions .cirrus.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
buy_me_a_coffee: hhwtpernwq
custom: ['https://www.paypal.com/paypalme/FlycastEmu']
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ assignees: ''

Platform / OS / Hardware:

Github hash:
Flycast version:

Hardware:

Expand Down
39 changes: 27 additions & 12 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push, pull_request]

jobs:
build:
name: Android
runs-on: ubuntu-latest

steps:
Expand All @@ -12,30 +13,41 @@ jobs:
sudo apt-get update
sudo apt-get -y install ccache libcurl4-openssl-dev ninja-build

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-java@v3
submodules: recursive

- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.ccache
key: android-ccache-${{ github.sha }}
restore-keys: android-ccache-

- name: Disable release signing
run: sed -i 's/signingConfig signingConfigs.release/signingConfig signingConfigs.debug/g' shell/android-studio/flycast/build.gradle
if: github.repository != 'flyinghead/flycast' || github.event_name != 'push'

- name: Bump version code
uses: chkfung/[email protected]
with:
gradlePath: shell/android-studio/flycast/build.gradle
versionCode: ${{ github.run_number }}

- name: Gradle
working-directory: shell/android-studio
run: ./gradlew assembleRelease --parallel
run: ./gradlew assembleRelease bundleRelease --parallel
env:
SENTRY_UPLOAD_URL: ${{ secrets.SENTRY_UPLOAD_URL }}
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: flycast-release.apk
path: shell/android-studio/flycast/build/outputs/apk/release/flycast-release.apk
Expand All @@ -50,7 +62,7 @@ jobs:
- name: Extract symbols
run: |
DUMP_SYMS=./core/deps/breakpad/bin/dump_syms
SO_DIR=shell/android-studio/flycast/build/intermediates/merged_native_libs/release/out/lib
SO_DIR=shell/android-studio/flycast/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib
for arch in arm64-v8a armeabi-v7a x86 x86_64 ; do
$DUMP_SYMS $SO_DIR/$arch/libflycast.so > libflycast.so.sym
BUILD_ID=`head -1 libflycast.so.sym | awk '{ print $4 }'`
Expand All @@ -60,34 +72,37 @@ jobs:

- name: Configure AWS Credentials
id: aws-credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: AKIAJOZQS4H2PHQWYFCA
aws-secret-access-key: ${{ secrets.S3_SECRET_KEY }}
aws-region: us-east-2
if: github.repository == 'flyinghead/flycast' && github.event_name == 'push'

- name: Upload to S3
run: aws s3 sync shell/android-studio/flycast/build/outputs/apk/release s3://flycast-builds/android/${GITHUB_REF#refs/}-$GITHUB_SHA --acl public-read --exclude='*.json' --follow-symlinks
run: |
cp shell/android-studio/flycast/build/outputs/bundle/release/*.aab shell/android-studio/flycast/build/outputs/apk/release/
aws s3 sync shell/android-studio/flycast/build/outputs/apk/release s3://flycast-builds/android/${GITHUB_REF#refs/}-$GITHUB_SHA --acl public-read --exclude='*.json' --follow-symlinks
if: ${{ steps.aws-credentials.outputs.aws-account-id != '' }}

- name: Setup Sentry CLI
uses: mathieu-bour/setup-sentry-cli@v1
uses: mathieu-bour/setup-sentry-cli@v2
env:
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
with:
url: https://sentry.io
token: ${{ env.SENTRY_TOKEN }}
organization: flycast
project: minidump
version: 2.21.2
if: ${{ env.SENTRY_TOKEN != '' }}

- name: Upload symbols to Sentry
run: |
VERSION=$(git describe --tags --always)
sentry-cli releases new "$VERSION"
sentry-cli releases set-commits "$VERSION" --auto
sentry-cli upload-dif symbols
sentry-cli debug-files upload symbols
shell: bash
env:
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: BSD CI

on: [push, pull_request]

jobs:
build:
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
runs-on: ubuntu-latest
strategy:
matrix:
operating_system: [ freebsd, netbsd, openbsd ]
architecture: [ arm64, x86-64 ]
include:
- operating_system: freebsd
version: '14.2'
pkginstall: sudo pkg install -y alsa-lib ccache cmake evdev-proto git libao libevdev libudev-devd libzip lua54 miniupnpc ninja pkgconf pulseaudio sdl2 libcdio
- operating_system: netbsd
version: '10.0'
pkginstall: sudo pkgin update && sudo pkgin -y install alsa-lib ccache cmake gcc12 git libao libzip lua54 miniupnpc ninja-build pkgconf pulseaudio SDL2 libcdio && export PATH=/usr/pkg/gcc12/bin:$PATH
- operating_system: openbsd
version: '7.6'
pkginstall: sudo pkg_add ccache cmake git libao libzip miniupnpc ninja pkgconf pulseaudio sdl2 libcdio
exclude:
- architecture: arm64

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.operating_system }}-${{ matrix.architecture }}-${{ github.sha }}
restore-keys: ccache-${{ matrix.operating_system }}-${{ matrix.architecture }}-

- uses: cross-platform-actions/[email protected]
with:
operating_system: ${{ matrix.operating_system }}
architecture: ${{ matrix.architecture }}
version: ${{ matrix.version }}
environment_variables: CCACHE_DIR
run: |
${{ matrix.pkginstall }}
cmake -B build -DUSE_LIBCDIO=ON -DCMAKE_BUILD_TYPE=Release -G Ninja
cmake --build build --config Release
39 changes: 20 additions & 19 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ jobs:
CCACHE_DIR: ${{ github.workspace }}/.ccache

strategy:
fail-fast: false
matrix:
config:
- {name: i686-pc-windows-msvc, os: windows-latest, shell: cmd, arch: x86, cmakeArgs: -G Ninja, buildType: Release}
- {name: apple-darwin, os: macos-latest, shell: sh, cmakeArgs: -G Xcode -DAPPLE_BREAKPAD=ON, destDir: osx, buildType: RelWithDebInfo}
- {name: apple-darwin, os: macos-latest, shell: sh, cmakeArgs: -G Xcode -DUSE_DISCORD=ON, destDir: osx, buildType: RelWithDebInfo}
- {name: apple-ios, os: macos-latest, shell: sh, cmakeArgs: -DCMAKE_SYSTEM_NAME=iOS -G Xcode, destDir: ios, buildType: Release}
- {name: x86_64-pc-linux-gnu, os: ubuntu-20.04, shell: sh, cmakeArgs: -G Ninja, destDir: linux, buildType: RelWithDebInfo}
- {name: x86_64-pc-windows-msvc, os: windows-latest, shell: cmd, arch: x64, cmakeArgs: -G Ninja, buildType: Release}
- {name: x86_64-w64-mingw32, os: windows-latest, shell: 'msys2 {0}', cmakeArgs: -G Ninja, destDir: win, buildType: RelWithDebInfo}
- {name: libretro-x86_64-pc-linux-gnu, os: ubuntu-latest, shell: sh, cmakeArgs: -DLIBRETRO=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -G Ninja, buildType: Release}
- {name: libretro-x86_64-w64-mingw32, os: windows-latest, shell: 'msys2 {0}', cmakeArgs: -DLIBRETRO=ON -G Ninja, buildType: Release}
- {name: x86_64-pc-linux-gnu, os: ubuntu-20.04, shell: sh, cmakeArgs: -G Ninja -DUSE_DISCORD=ON -DUSE_LIBCDIO=ON, destDir: linux, buildType: RelWithDebInfo}
- {name: x86_64-pc-windows-msvc, os: windows-latest, shell: cmd, arch: x64, cmakeArgs: -G Ninja -DUSE_DISCORD=ON, buildType: Release}
- {name: x86_64-w64-mingw32, os: windows-latest, shell: 'msys2 {0}', cmakeArgs: -G Ninja -DUSE_DISCORD=ON -DUSE_LIBCDIO=ON, destDir: win, buildType: RelWithDebInfo}
- {name: libretro-x86_64-pc-linux-gnu, os: ubuntu-22.04, shell: sh, cmakeArgs: -DLIBRETRO=ON -DUSE_LIBCDIO=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -G Ninja, buildType: Release}
- {name: libretro-x86_64-w64-mingw32, os: windows-latest, shell: 'msys2 {0}', cmakeArgs: -DLIBRETRO=ON -DUSE_LIBCDIO=ON -G Ninja, buildType: Release}

steps:
- name: Set up build environment (macOS)
run: |
# Unlink and re-link to prevent errors when github mac runner images install python outside of brew. See https://github.com/actions/setup-python/issues/577
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
brew update
brew update || :
brew install libao ldid ninja pulseaudio
VULKAN_VER=1.3.250.1 && aria2c https://sdk.lunarg.com/sdk/download/$VULKAN_VER/mac/vulkansdk-macos-$VULKAN_VER.dmg
hdiutil attach ./vulkansdk-macos-*.dmg
brew uninstall --ignore-dependencies zstd
VULKAN_VER=1.3.261.1 && aria2c https://sdk.lunarg.com/sdk/download/$VULKAN_VER/mac/vulkansdk-macos-$VULKAN_VER.dmg
hdiutil attach ./vulkansdk-macos-*.dmg -mountpoint /Volumes/VulkanSDK
sudo /Volumes/VulkanSDK/InstallVulkan.app/Contents/MacOS/InstallVulkan --root $HOME/VulkanSDK --accept-licenses --default-answer --confirm-command install
hdiutil detach /Volumes/VulkanSDK
echo "VULKAN_SDK=$HOME/VulkanSDK/macOS" >> $GITHUB_ENV
Expand All @@ -45,15 +45,15 @@ jobs:
run: |
sudo add-apt-repository ppa:christianrauch/libdecoration
sudo apt-get update
sudo apt-get -y install ccache libao-dev libasound2-dev libevdev-dev libgl1-mesa-dev liblua5.3-dev libminiupnpc-dev libpulse-dev libsdl2-dev libudev-dev libzip-dev ninja-build libcurl4-openssl-dev
sudo apt-get -y install ccache libao-dev libasound2-dev libevdev-dev libgl1-mesa-dev liblua5.3-dev libminiupnpc-dev libpulse-dev libsdl2-dev libudev-dev libzip-dev ninja-build libcurl4-openssl-dev libcdio-dev
sudo apt-get -y install libwayland-dev libdecor-0-dev libaudio-dev libjack-dev libsndio-dev libsamplerate0-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxkbcommon-dev libdrm-dev libgbm-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev
if: runner.os == 'Linux'

- name: Set up build environment (Windows, MinGW)
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
install: git make mingw-w64-x86_64-ccache mingw-w64-x86_64-cmake mingw-w64-x86_64-lua mingw-w64-x86_64-ninja mingw-w64-x86_64-SDL2 mingw-w64-x86_64-toolchain
install: git make mingw-w64-x86_64-ccache mingw-w64-x86_64-cmake mingw-w64-x86_64-lua mingw-w64-x86_64-ninja mingw-w64-x86_64-SDL2 mingw-w64-x86_64-toolchain mingw-w64-x86_64-libcdio
if: matrix.config.shell == 'msys2 {0}'

- name: Set up build environment (Windows, Visual Studio)
Expand All @@ -67,10 +67,10 @@ jobs:
arch: ${{ matrix.config.arch }}
if: matrix.config.shell == 'cmd'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
submodules: recursive

- name: Compile a universal OpenMP (macOS)
run: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew reinstall --build-from-source --formula ./shell/apple/libomp.rb
Expand All @@ -80,7 +80,7 @@ jobs:
run: ./shell/apple/emulator-ios/OpenMP/build_ios_openmp.sh --disableSimulator
if: matrix.config.name == 'apple-ios'

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.config.name }}-${{ github.sha }}
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
rm artifact/bin/flycast
if: matrix.config.name == 'x86_64-pc-linux-gnu'

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: flycast-${{ matrix.config.name }}
path: artifact/bin
Expand All @@ -145,7 +145,7 @@ jobs:

- name: Configure AWS Credentials
id: aws-credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: AKIAJOZQS4H2PHQWYFCA
aws-secret-access-key: ${{ secrets.S3_SECRET_KEY }}
Expand All @@ -158,22 +158,23 @@ jobs:
if: ${{ steps.aws-credentials.outputs.aws-account-id != '' }}

- name: Setup Sentry CLI
uses: mathieu-bour/setup-sentry-cli@v1
uses: mathieu-bour/setup-sentry-cli@v2
env:
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
with:
url: https://sentry.io
token: ${{ env.SENTRY_TOKEN }}
organization: flycast
project: minidump
version: 2.21.2
if: ${{ env.SENTRY_TOKEN != '' }}

- name: Upload symbols to Sentry (Windows, macOS, Linux)
run: |
VERSION=$(git describe --tags --always)
sentry-cli releases new "$VERSION"
sentry-cli releases set-commits "$VERSION" --auto
sentry-cli upload-dif symbols
sentry-cli debug-files upload symbols
shell: bash
env:
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/crowdin_prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Java JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 18
distribution: zulu

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Upload Source
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/crowdin_translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Java JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 18
distribution: zulu

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
Expand All @@ -43,7 +43,7 @@ jobs:
git commit -m "Fetch translations & Recreate libretro_core_options_intl.h"

- name: GitHub Push
uses: ad-m/github-push-action@v0.6.0
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
Loading