Wunkolo
56fe3b9c9d
Fix `arm64_unwind.h` include-order
...
`sh4_core.h` has defines for symbols like `r` and `pr` which conflict with the variable names in `arm64_unwind.h` and cause even deeper errors over in `wingdi.h(4954)` and `wincrypt.h(4741)`.
Swapping the include order avoids this collision.
2024-10-07 18:48:26 +02:00
Flyinghead
30bb864b37
vulkan: check image usage flags if image already exists during RTT
...
Recreate image if usage flags are incorrect.
Fixes vk validation error in Virtua Tennis player list selection screen.
Issue #1664
2024-10-07 18:47:52 +02:00
nbFlyinghead
d689c50e21
naomi: increase dma xfer rate except for force five
...
Revert 54ac9c6361
but make an exception
for force five. Issue #141
Fixes loud music in beach spikers and soul surfers. Issue #1513
Fixes some menu textures not being loaded in F355.
2024-10-05 13:30:36 +02:00
Flyinghead
efd71b3a44
Storage::getParentPath can throw
2024-10-04 16:51:08 +02:00
Flyinghead
5450646b5c
android: add virtual gamepad transparency setting
...
Issue #384
2024-10-04 16:45:28 +02:00
Flyinghead
55e0211a57
android: use ASS to select custom adreno driver
2024-10-04 16:36:56 +02:00
Flyinghead
5d719e0b49
rend: unexpected conversion to unsigned for VO_STARTX/Y with msvc
...
MSVC converts VO_STARTX and VO_STARTY bit-field values to unsigned int,
leading to an overflow when the result is negative.
Issue #1606
2024-10-03 18:03:55 +02:00
Flyinghead
e10a9929da
Set OIT max layers for more games
...
Issue #1610
2024-10-03 17:56:30 +02:00
scribam
3d41e4ea3e
deps: update sdl to version 2.30.8
2024-10-02 19:50:37 +02:00
Flyinghead
2dd4cbe33d
vk oit: draw transparent polys in the first frame after (re)init
...
Fixes missing background in progress window in Fighting Force 2
Issue #1652
2024-09-29 16:42:38 +02:00
Flyinghead
2653c5ed73
naomi2: fix modifier volumes clipping
...
Don't clip modifier volumes but tesselate triangles intersecting the
near plane. Then project clipped vertices onto it in the vertex shader.
Issue #1651
2024-09-29 16:42:38 +02:00
github-actions[bot]
343021a8c5
Fetch translations & Recreate libretro_core_options_intl.h
2024-09-27 22:20:38 +00:00
flyinghead
7907100b9c
dx11: wrong texture returned to libretro in some cases
...
If a render to texture happens before presenting the current frame,
another texture will be bound to shader slot #0 and will be returned to
the libretro frontend.
Issue #1616 and #1619
2024-09-25 21:57:15 +02:00
Flyinghead
f179c00bdd
gl: fix Delay Frame Swapping pacing issue on android
...
Partial revert of c83b0e325f
.
Fix root issue in OpenGLRenderer::DrawOSD.
2024-09-24 14:50:41 +02:00
Flyinghead
c83b0e325f
android: fix Delay Frame Swapping sync issue. ANR in single-threaded
...
Framebuffer swap should only be called when a new frame has been
rendered.
ANR when stopping the emulator in single-threaded mode: race condition
causes stopRequested to not be handled, and Pause event is never sent.
2024-09-24 11:54:15 +02:00
Flyinghead
210e8ca6e3
android: get rid of ouya sdk
2024-09-23 20:46:33 +02:00
Flyinghead
a46dc71156
android: target android 14 / sdk 34
2024-09-23 18:01:21 +02:00
Flyinghead
4baf529ff7
race condition when stopping emu thread right after start
...
In threaded rendering, CpuRunning is set after the emu thread is
started. If calling Emulator::stop() before it is set, the call will
hang.
2024-09-23 17:43:23 +02:00
Flyinghead
63ef3aaab4
android: avoid crash when app is run in restricted mode
...
App may be run in restricted mode, where the Application object is a
generic android.app.Application. Disallow backup to avoid this. If
Application object isn't of the expected type, restart the app.
2024-09-23 17:21:02 +02:00
Flyinghead
abe71409b5
android: race condition with render thread. ANR with auto save state
...
Race condition when starting then stopping the render thread:
mainui_enabled isn't set until after the thread has started. If stopped
during that time, it will hang.
Auto save state in a background thread to avoid ANR.
2024-09-23 17:17:46 +02:00
Flyinghead
f8c12d2835
android: fix getFileInfo for document uri. cheats: limit file size
...
android: Fix AndroidStorage.getFileInfo for document uri (cheat file)
cheats: limit cheat file size to 1MB to avoid parsing garbage forever. Save file path only if valid.
2024-09-23 17:08:57 +02:00
github-actions[bot]
92555c68c6
Fetch translations & Recreate libretro_core_options_intl.h
2024-09-20 22:20:53 +00:00
Flyinghead
915532f946
vk: don't depend on current clamping values when compiling shader
...
Fog clamping values may change so the shader shouldn't depend on the
current value when compiling.
Fixes Red Dog Superior Firepower glitch.
Issue #1642
2024-09-18 11:34:35 +02:00
Flyinghead
079180faab
Force PAL for Snow Surfer. Increase Max Layers for some games.
...
Force PAL broadcast for Snow Surfer.
Issue #1643
Increase max layers for Soldier of Fortune, BANG! Gunship Elite and MDK
2.
Issue #1610
2024-09-18 11:30:46 +02:00
Flyinghead
38de2868a0
sgdrvsim: axis 0 is master audio volume, not wheel
...
Use (unused) axis 4 instead. Wheel position is read with the ffb drive
board, not JVS.
Map clutch to left trigger 2.
Issue #1636
2024-09-16 18:26:13 +02:00
Flyinghead
0e97f97bb7
android: virtual gamepad rumble power wasn't set at app startup
...
Make sure emu.cfg is loaded before setting rumble power.
Issue #1640
2024-09-16 11:28:25 +02:00
Flyinghead
64d7199107
Merge remote-tracking branch 'origin/master' into dev
2024-09-16 11:16:04 +02:00
scribam
0077b8ecec
deps: update sdl to version 2.30.7
2024-09-08 16:24:37 +02:00
Flyinghead
5393235c40
aica: skip remaining step functions when channel is disabled
...
CA is reset to 0 when channel is disabled due to AEG and this value must
not be changed.
Issue #472 and #1180
2024-09-07 14:55:45 +02:00
Flyinghead
a81a02f14b
maple: save rfid card after decrementing counter
...
Issue #1626
2024-09-07 14:50:29 +02:00
github-actions[bot]
480f93e50d
Fetch translations & Recreate libretro_core_options_intl.h
2024-09-06 22:21:05 +00:00
Flyinghead
7174ef1194
naomi: full rfid chip emulation for mushiking series
...
Fixes hang after playing 3 games.
Issue #1626
2024-09-04 09:48:34 +02:00
Flyinghead
f039a809da
naomi: limit max analog values to avoid overflow
...
Fixes overflow in wild riders when going full right or full accel/brake.
Follow up to Issue #1627
2024-09-02 17:04:17 +02:00
Flyinghead
1223154665
jvs: fix analog axes values encoding
...
The least significant byte of analog axis values seems to be handled as
signed.
Fixes crazy taxi going right when turning full left.
Issue #1627
2024-09-01 18:41:37 +02:00
Flyinghead
8cb847940b
vk oit: attachment 0 must be loaded too
...
Issue #1614
2024-09-01 18:41:37 +02:00
github-actions[bot]
9691fe9622
Fetch translations & Recreate libretro_core_options_intl.h
2024-08-30 22:20:34 +00:00
Flyinghead
c575eac89b
naomi: add mushik4t rom
2024-08-30 17:49:07 +02:00
Flyinghead
b468c9bdae
aica: reset CA to 0 when disabling channel due to AEG
...
CA was reset to 0 for non-looping sound when ending, but not for looping
ones when they reach full attenuation. This confuses some games.
Disable the channel when it reaches full attenuation and reset CA to 0.
Revert a7702c622a
Issue #1602
Better fix for
Issues #472 , #483 , #1180 , #1249 , #1030 (partial)
2024-08-29 13:09:39 +02:00
Flyinghead
368bd17ae0
vk: use swap_chain_size + 1 semaphores
...
Fixes validation error VUID-vkAcquireNextImageKHR-semaphore-01779
introduced in vulkan sdk 1.3.275
Issue #1620
2024-08-29 13:01:11 +02:00
Flyinghead
757732d0f8
vk oit: load correct attachment. Only reset pipelines when needed
...
Fixes partial renders: ECCO initial sequence.
Issue #1614
Don't reset pipelines when resizing framebuffer.
2024-08-29 12:57:10 +02:00
Flyinghead
0ff9caf656
ci: make breakpad optional on all platforms
...
Issue #739
2024-08-29 12:06:29 +02:00
Flyinghead
a93bd9e64e
Merge remote-tracking branch 'origin/playstore' into dev
2024-08-24 18:08:59 +02:00
Flyinghead
308d9fc1ac
Increase max transparent layers for some games
...
Issue #1604
Add 96 layers option to libretro core.
Issue #1610
2024-08-24 16:49:16 +02:00
Flyinghead
7a27a43ba4
vulkan: Fix multipass RTT in OIT mode
...
Use correct temp attachment depending on pass count. Keep attachment
index to bind the correct one before final subpass.
Use correct initial layout for OP+PT attachment 1 (was eUndefined) when
creating the RTT render pass.
Fixes Alone in the Dark cutscenes.
Issue #1609
Recreate RTT attachments if switching CopyToVRAM on/off.
2024-08-24 16:37:52 +02:00
Flyinghead
244bb724c9
naomi: add FFB support for Tokyo Bus Guide
...
Only rumble seems to be used.
Issue #1601
Add info about awave BIOS
2024-08-24 16:29:29 +02:00
github-actions[bot]
349083030d
Fetch translations & Recreate libretro_core_options_intl.h
2024-08-23 22:20:21 +00:00
Flyinghead
b99b3450c8
sh4: compute fsrra as 1/sqrt(x) instead of sqrt(1/x)
...
Fixes invisible chaos emerald in Sonic Adventure cutscene after Emerald
Coast.
Partial revert of ec3ad9b
.
Issue #1600
2024-08-20 21:12:05 +02:00
Flyinghead
6061d402bd
build fix
2024-08-17 18:08:53 +02:00
Flyinghead
4d06743d9a
gdrom: don't crash on unsupported sector size
...
Fixes MINIDUMP-284
2024-08-17 17:56:35 +02:00
Flyinghead
af7353225b
pvr: rgb888 needs to be correctly aligned when xclip.min != 0
...
Fixes glitchy combat opening animation in soul calibur (with full
framebuffer emulation). Use slower but correct method instead.
Issue #1591
2024-08-17 17:29:32 +02:00