Flyinghead
5f4eefab58
naomi: add pjustic (rev b) and pjustica. fix gunsur2 and gunsur2j
...
Issue #716
2025-05-06 20:04:11 +02:00
Flyinghead
7538424efb
cheat to allow The Next Tetris online features
...
Bypass check of modulation type and rx/tx speeds.
2025-05-04 19:31:09 +02:00
Flyinghead
3976fe1be2
readme: smaller flycast logo
2025-05-04 19:26:21 +02:00
Flyinghead
c57b2e1aa7
oit: incorrect color used when src=OTHER_COLOR if dest is 2nd accum
...
Using src=OTHER_COLOR with destination secondary accumulator should use
the secondary accumulator color, not the final one.
Fixes dark gun in Doom 64 with Ultra graphics (bump mapping).
Issue #1771
2025-05-03 11:05:59 +02:00
Flyinghead
9cc3d1030d
vk: (mali) add subpass dependency from subpass 2 to external
...
Add subpass dependency from the last subpass to external/top of pipe.
Fix glitches in upper left corner when using OIT on Mali GPUs.
Issue #1014
Issue #1234
Issue #1356
Issue #1497
Issue #1852
2025-05-03 11:05:49 +02:00
Flyinghead
48e964235c
vk: (mali) add memory barrier in GetLastFrame
...
Add memory barrier between drawing and transfer.
Fix savestate thumbnail image corruption.
Issue #1922
2025-05-03 11:05:40 +02:00
Flyinghead
e148fabeae
libretro: don't allow saving states in a background thread
...
Issue #1903
2025-05-03 11:03:11 +02:00
Flyinghead
d3b8a67cba
naomi: add missing zombrvne rom
2025-05-03 11:01:05 +02:00
Flyinghead
03f2ef6df0
libretro: fix crash when terminating vulkan context early
...
Issue #1906
2025-05-03 10:57:34 +02:00
Flyinghead
57cc7b4a60
Fix crash on apple silicon due to cmake 4 change
...
The test to set TARGET_MAC doesn't work anymore with cmake 4.
Fixes #1918
2025-04-30 16:40:25 +02:00
Flyinghead
cdef7f7444
dricas auth cheat for Aero Dancing FSD
2025-04-28 21:10:10 +02:00
github-actions[bot]
30e1a858da
Fetch translations & Recreate libretro_core_options_intl.h
2025-04-25 22:21:57 +00:00
kapodamy
b04f0eb530
Allow tweak GDB related options and see Virtual memory addresses
2025-04-24 21:32:40 +02:00
Flyinghead
ef3d3bd246
iOS: fix crash
...
due to f3a33642f8
2025-04-23 16:39:16 +02:00
github-actions[bot]
2ca596ae20
Fetch translations & Recreate libretro_core_options_intl.h
2025-04-18 22:21:32 +00:00
Flyinghead
25a882341d
linux AppImage build needs libfuse
2025-04-15 14:30:55 +02:00
Flyinghead
75064f5683
ci: build AppImage with ubuntu 22
2025-04-15 14:30:46 +02:00
Flyinghead
93aaf50b4f
Revert "libretro: don't restart the emu in retro_serialize_size"
...
This reverts commit aff64d43d4 .
Issue #1885 , #1903
2025-04-15 14:26:57 +02:00
github-actions[bot]
93f463296d
Fetch translations & Recreate libretro_core_options_intl.h
2025-04-11 22:21:32 +00:00
Flyinghead
aff64d43d4
libretro: don't restart the emu in retro_serialize_size
...
Stop the emu in retro_serialize_size and don't restart it until after
the state is saved in retro_serialize. This avoids issues when the
actual state size is greater than what retro_serialize_size returned.
Issue #1885
2025-04-11 12:02:53 +02:00
Xphalnos
240be07bbb
Misc: Remove Duplicated Semicolons
2025-04-10 11:30:33 +02:00
Flyinghead
786ccf4139
vulkan: fix crash when fast-forwarding with libretro core
...
Issue #1901
2025-04-10 11:29:52 +02:00
Xphalnos
56c00b0eb5
[GUI] Adding Rounded Borders
2025-04-07 09:06:12 +02:00
Flyinghead
3114394019
Merge remote-tracking branch 'origin/dev'
2025-04-05 22:30:31 +02:00
github-actions[bot]
e5f13b6858
Fetch translations & Recreate libretro_core_options_intl.h
2025-04-04 22:21:17 +00:00
Flyinghead
3193d2cf5d
quick'n'dirty cmake 4.0 support
2025-04-02 14:20:33 +02:00
scribam
0f18e2e167
deps: update sdl to version 2.32.4
2025-04-01 17:17:22 +02:00
Flyinghead
5908b1a84a
picoppp: send UDP data synchronously
...
Use send_to instead of async_send_to for UDP sockets. Set socket to
non-blocking and discard data if socket full. Tentative fix for
corrupted Speed Devils Online UDP packets.
Fix uncaught exception if dns server name can't be resolved.
Use lambda instead of std::bind.
2025-04-01 17:16:39 +02:00
Flyinghead
4d6168dd0b
dcnet: find best access point
2025-04-01 17:07:54 +02:00
scribam
2d1c602a69
ci: remove ninja installation for macos runner
2025-03-30 16:00:45 +02:00
Flyinghead
130675aae3
gles3: use GL_R8 internal format for fog texture
...
regression due to 3469b7f
Issue #1886
2025-03-28 11:12:30 +01:00
Xphalnos
75d5cc4d63
Use DXGI 1.6 and D3D11_4
2025-03-27 17:42:48 +01:00
Isaac Marovitz
5a110fd666
Replace sprintf with snprintf ( #1884 )
...
Signed-off-by: Isaac Marovitz <[email protected] >
2025-03-25 18:47:07 +01:00
Flyinghead
13436a4dda
support for (some) encrypted cheats
2025-03-23 18:07:56 +01:00
James
2631706fe2
Enable physical VMU memory access ( #1881 )
2025-03-22 15:59:42 +01:00
Xphalnos
ea6d5f8732
Update xxHash to 0.8.3 + Use faster algorithm
2025-03-22 15:58:22 +01:00
Flyinghead
305cae496f
dcnet: don't try to detect ppp frames on output. send data immediately
2025-03-22 15:24:23 +01:00
Flyinghead
416085980f
dcnet: empty modem buffer on init. Allow hostname override in emu.cfg
2025-03-19 19:46:16 +01:00
RTA
8b35fb80b4
Reset static device state on core unload to ensure input descriptors refresh
2025-03-17 15:36:18 +01:00
Flyinghead
5c1249c55f
ci: another switch build fix attempt
...
gitsome's gh isn't compatible with the github one. Specify rclone
version to avoid gh use.
2025-03-17 15:00:40 +01:00
Flyinghead
fac44e4a2f
ci: switch build fix. Filter *.json files on android
2025-03-17 14:41:43 +01:00
Flyinghead
4ea317d51f
ci: use rclone for android and switch builds
2025-03-17 13:50:12 +01:00
Flyinghead
310d5e612e
ci: use rclone instead of aws cli
2025-03-17 10:26:23 +01:00
Flyinghead
62778b1a68
ci: testing scaleway
2025-03-16 23:33:06 +01:00
Flyinghead
604415b0d2
ci: trying s3 cp instead of sync
2025-03-16 22:05:15 +01:00
Flyinghead
49ea1135ee
ci: ditch configure-aws-credentials
2025-03-16 20:56:07 +01:00
Flyinghead
46e2d52b75
store build artifacts on OVH
2025-03-16 20:31:17 +01:00
github-actions[bot]
44f77408e4
Fetch translations & Recreate libretro_core_options_intl.h
2025-03-14 22:21:10 +00:00
scribam
2860aa96f4
deps: update sdl to version 2.32.2
2025-03-12 18:30:06 +01:00
scribam
8b0a5fa480
deps: update oboe to version 1.9.3
2025-03-12 18:30:06 +01:00
scribam
b150ba2b62
android: update project
2025-03-12 18:30:06 +01:00
github-actions[bot]
48bce25820
Fetch translations & Recreate libretro_core_options_intl.h
2025-03-07 22:19:55 +00:00
Eric Warmenhoven
562f78cd71
libretro: build osx-x64 build on new builder
2025-03-05 21:25:39 +01:00
github-actions[bot]
9e0573aa98
Fetch translations & Recreate libretro_core_options_intl.h
2025-02-28 22:21:22 +00:00
Flyinghead
d23b3b6bc7
rcheevos: include flycast version in user-agent header
...
Issue #1798
2025-02-27 11:26:52 +01:00
Flyinghead
1d9f8ab438
custom textures: fix static deinit order issue
2025-02-27 11:20:31 +01:00
Flyinghead
df3c075fba
Force TV composite for Caesar's Palace 2000 and PAL for the EU edition
...
Issue #1851
2025-02-27 11:00:48 +01:00
Mike Kosek
9cdd0aab9f
Rename DreamPort to DreamPicoPort ( #1850 )
...
* Renamed DreamPort to DreamPicoPort
* Removed fallback to deprecated config keys
2025-02-22 08:11:05 +01:00
github-actions[bot]
e4d9220f3f
Fetch translations & Recreate libretro_core_options_intl.h
2025-02-21 22:21:05 +00:00
Flyinghead
0bf9c64b1b
Merge remote-tracking branch 'origin/dev'
2025-02-18 09:27:07 +01:00
James and Mike Kosek
4e74619d9e
Harden serial comm interface ( #1847 )
...
* Harden serial interface
* Fixed build errors
* Minor tweaks
* Automatically attached A->A, B->B, etc
* Interfaces go in decending order
* Do a modulo in case I decide to move interface numbers
* Do specifically mod 4
* Call SDL_JoystickGetDeviceInstanceID which seems to help with a Windows bug
* Made MapleDevices smart pointers so they can freely be swapped out without leaking
* Fixed issues some issues reported by kosekmi
* Added missing bracket
* Fixed another compile issue
* Fixed a missing else
* If device had no serial number, fall down to checking name
* Use new DreamPort firmware dynamics
* Added missing parens
* Fixed screen blanking issue
* Added const
* Reset VMU Screen on game/emulator exit
* Added gameTermination() hook to hardware gamepad
* Send SW port on game termination
* Added checks so port is only sent if data is valid
* Fixed bug: wait for write to complete in sendCmd
* Fixed bug leading to multiple pointers to VMU and Rumble pack
---------
Co-authored-by: Mike Kosek <[email protected] >
2025-02-16 17:36:57 +01:00
Flyinghead
0414a90500
dcnet: don't use timer for modem. better error reporting. race condition
...
Use io_context::post() instead of a timer to read from modem.
Notify user if connection to DCNet fails.
Fix race condition/crash with BBA.
Use lambdas instead of std::bind.
2025-02-16 17:33:56 +01:00
github-actions[bot]
5866e97d18
Fetch translations & Recreate libretro_core_options_intl.h
2025-02-14 22:21:01 +00:00
scribam
387e2427b4
deps: update sdl to version 2.32.0
2025-02-10 18:13:12 +01:00
Flyinghead
5187258f4b
dcnet: BBA support
...
Stop network service when bba is reset. Start it on first frame out.
dcnet: close connection on dhcp release
picoppp: close all sockets and acceptors when stopping.
2025-02-10 18:12:24 +01:00
e1da1c3a55
CMake: Change core install location to lib/libretro ( #1842 )
...
* CMake: Change core install location to lib/libretro
* fix CI build artifacts location
---------
Co-authored-by: Andrew Wong <[email protected] >
Co-authored-by: Flyinghead <[email protected] >
2025-02-10 13:25:34 +01:00
Flyinghead
84356e3b26
dreampi.py: shake off the modem on first run (from scrivani)
2025-02-08 16:20:47 +01:00
Flyinghead
c7499df3a8
cheats for Aero Dancing i & i2 in BBA mode
2025-02-08 16:17:15 +01:00
github-actions[bot]
03f7a0f605
Fetch translations & Recreate libretro_core_options_intl.h
2025-02-07 22:20:30 +00:00
Flyinghead
f3c838d19d
dricas auth cheat for Aero Dancing i - Jikai Saku Made Matemasen
2025-02-05 18:29:56 +01:00
Flyinghead
d6f3ca986d
fix from jscrivani to work around the initial failed connection
2025-02-05 18:28:12 +01:00
Flyinghead
b9df7d3469
network digital outputs: check config option when game starts
...
Avoid the need to restart when enabling or disabling this option
Send game name to newly connected sockets
ignore SIGPIPE (telnet)
Log network errors
2025-02-04 17:46:02 +01:00
Flyinghead
bf1d4a56ae
gdrom: fix savestate compatibility issue
...
consequence of c860807fef
2025-02-04 17:27:47 +01:00
Flyinghead
a682e20bbd
modem: modem must hang up as soon as reg20 is written
...
some games don't do a full reset and the modem would stay connected.
Remove debug file dumps.
2025-02-04 17:20:15 +01:00
Flyinghead
5b9dd96064
option to set the ISP username in flash rom
2025-02-04 17:17:38 +01:00
Flyinghead
a99a72589b
better cheats for dricas auth
2025-02-04 17:14:01 +01:00
James
77ed9c20de
Connect to DreamConn only once registered ( #1828 )
2025-02-03 18:19:22 +01:00
Flyinghead
7cb0fe53d7
add cheats to bypass dricas authentication
...
Aero Dancing i
Daytona USA (JP)
Sega Tetris
Golf Shiyou Yo 2
Hundred Swords
2025-02-03 18:18:28 +01:00
Flyinghead
3db0fce9b6
bypass dricas auth in aero dancing i
2025-02-02 17:12:54 +01:00
Flyinghead
6a15e7a3aa
rend: LoD0 of VQ YUV textures is invalid. Use LoD1 instead.
...
Fixes background magenta textures in WSB2K2. Issue #1038
2025-02-02 17:11:22 +01:00
github-actions[bot]
431d71de5e
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-31 22:20:31 +00:00
Flyinghead
914fa29d31
gdrom: increase dma delay for small DMA transfers
...
Fixes WSB 2K2 freezes.
Issue #1038
2025-01-31 18:09:33 +01:00
Flyinghead
c143cae09b
disable Daytona USA (US) widescreen cheat
...
breaks online features
2025-01-31 15:32:18 +01:00
James
a35e8214df
Serial comm update ( #1820 )
...
* Broke apart DreamConn and DreamcastControllerUsb implementations; added serial timeouts; process serial in thread; removed crc from DreamcastControllerUsb sdl definition
* Added missing include statements
* Changed INFO_LOG to NOTICE_LOG on a couple of lines
* Clear the read queue once string is pulled off of it
2025-01-28 17:27:26 +01:00
Flyinghead
d84108de32
maple: yet another maple timing change
...
Use 2 Mb/s for console and 740 Kb/s for devices.
Fixes Silent Scope vmu load issue at boot. Issue #1796
D+Vine has issues detecting A and B presses with one controller
connected but it does work eventually. No issue with more than 1
controller. Issue #1279
Power Drift only boots with one controller connected. Crashes with 2 or
more.
2025-01-28 17:26:22 +01:00
Flyinghead
1513c6cab8
msvc build fix
2025-01-27 17:47:22 +01:00
Mike Kosek
34104724a6
Added config file override for DreamcastControllerUsb Serial Device
2025-01-27 17:30:46 +01:00
Flyinghead
b70c2791b2
dynarec: proper ftrc implem. (arm32/64) Use double for fipr/ftrv
...
Use double for canonical FIPR and FTRV on all platforms.
Fix interpreter implementation of FTRC.
Fix canonical implementation of cvt_f2i (FTRC).
arm32: use Vfma instead of Vmla for FMAC. Vfma does not a fused
muliply-add, Vmla doesn't.
arm32: Use canonical implementations of FIPR and FTRV.
arm32,arm64: Correct implemetation of cvt_f2i (FTRC)
Fixes desync with NBA 2k1/2k2 online games.
2025-01-27 17:30:06 +01:00
scribam
ccdd53ee0e
deps: update sdl to version 2.30.11
2025-01-25 17:02:56 +01:00
scribam
57a3e4ca53
ci: update netbsd version
2025-01-25 17:02:56 +01:00
scribam
b92ac1544e
android: update project
2025-01-25 17:02:56 +01:00
Mike Kosek
26d386f833
Fixed handling of asio::io_context
2025-01-25 17:02:18 +01:00
Mike Kosek
ce0060126e
Now adding mappings for Dreamcast Controller USB during input_sdl_init()
2025-01-25 17:02:18 +01:00
Mike Kosek
4389a3ffa6
Reverted Dreamcast Controller USB mapping workaround
2025-01-25 17:02:18 +01:00
Flyinghead
b3fa453d75
dreamconn: asio::serial_port isn't defined on all platforms
2025-01-25 17:02:18 +01:00
Mike Kosek
32c274f407
Updated serial device search on Windows to select only matching VID/PID
2025-01-25 17:02:18 +01:00
Mike Kosek
cb2d3e3776
Maple Message to Dreamcast Controller USB now prefixed for compatibility with newest version
2025-01-25 17:02:18 +01:00
Mike Kosek
28f5dd983e
Now properly setting and checking left/right Trigger
2025-01-25 17:02:18 +01:00
Mike Kosek
160828a4c7
Overrode default mapping for DreamcastControllerUsb on MacOS/Windows
2025-01-25 17:02:18 +01:00
Mike Kosek
aee932808e
Removed unused function getDreamcastControllerType()
2025-01-25 17:02:18 +01:00
Mike Kosek
77636391fc
Enabled the usage of VMUs and Rumble Packs with Original DC Controllers
2025-01-25 17:02:18 +01:00
Flyinghead
944af44c7f
naomi: some digital outputs still missing for f355
...
Lamps use 14 bits of output in f355.
2025-01-25 17:00:48 +01:00
github-actions[bot]
5c27648699
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-24 22:21:08 +00:00
Flyinghead
7ef35eaf68
dreampi: fix paths
2025-01-24 18:26:44 +01:00
Flyinghead
bb733323ce
dcnet utility for dreampi
2025-01-24 18:13:56 +01:00
Flyinghead
1b6bf25e7a
naomi: broadcast digital outputs even when using FFB drive
...
The first byte is for lamps, the next two are for FFB.
Fixes missing lamp notifications when broadcasting digital outputs
(F355).
2025-01-23 18:40:24 +01:00
Flyinghead
aa65b81f89
switch build fix
2025-01-23 18:34:58 +01:00
Wunkolo
da9f030a0e
vk: Refactor swapchain format selection
...
Use a series of stable-partitions to sort the list of available formats
to find the best candidate surface-format/color-space that is a non-sRGB
format being presented in an sRGB color-space. Vulkan mandates that all
surface formats that have SRGB forms must also support a UNORM form.
This is basically just RGBA8/BGRA8 on all platforms still, but in a way
that is still capable of falling back to secondary formats in a stable
way in the case that the primary choice is not available. Mobile
devices especially have a LOT of secondary HDR surface formats and other
weird formats that can be used to present such as RGBA16 or RGBA565.
With stable partitions, if we can't get our best option then there is
always a "next best thing" to fall back on rather than relying on the
driver-order.
2025-01-22 18:28:55 +01:00
Wunkolo
a0e1eb0005
vulkan: Allow native RGB8 screenshot framebuffers when available
...
Some notable devices support native RGB8 color-attachments:
https://vulkan.gpuinfo.org/listdevicescoverage.php?optimaltilingformat=R8G8B8_UNORM&featureflagbit=COLOR_ATTACHMENT
This removes the need to do a manual RGBA->RGB format conversion on the CPU in favor of a direct memcpy from the downloaded texture, when available.
2025-01-22 18:27:20 +01:00
Flyinghead
5cc15429cd
Force Native Depth Interpolation on UWP/Xbox. UWP build fix
2025-01-22 18:26:29 +01:00
Flyinghead
18656f5986
picoppp: terminate MiniUPnP in a background thread
2025-01-21 18:21:47 +01:00
Flyinghead
536be34853
dcnet: update emu network state when connected
2025-01-21 18:19:39 +01:00
Flyinghead
5b513cac5b
gl: use textureProj for palette texture sampling when possible/available
...
Fixes UV precision issue when doing the Z-divide manually.
Issue #1804
2025-01-21 18:18:05 +01:00
Flyinghead
5efdf58e85
custom texture: skip updating a texture if its hash hasn't changed
...
Some textures are frequently updated because of their location in vram,
close to a hotspot. This causes the custom texture to never be loaded.
This change will skip the unneeded texture update, allowing the custom
tex to replace it when available.
Issue #1812
2025-01-21 18:12:10 +01:00
github-actions[bot]
a93f3697d6
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-17 22:20:48 +00:00
Flyinghead
b98e833c57
uwp: define _WIN32_WINNT to avoid compile issues with asio
2025-01-17 17:46:49 +01:00
github-actions[bot]
2e89848041
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-10 22:20:35 +00:00
Flyinghead
bb4ba3ed89
dcnet: libretro support
2025-01-09 19:01:50 +01:00
Flyinghead
a5a338d408
experimental DCNet cloud service
2025-01-09 18:48:29 +01:00
Edward Li
3114344414
[macOS] Fix booting game stuck at "Starting..." when Video Routing is enabled with OpenGL
2025-01-09 13:59:54 +01:00
oltolm
20ba79668f
fix compiler warnings
2025-01-09 13:59:21 +01:00
oltolm
7a4f9d8667
CMake: fix build on Windows
2025-01-06 19:46:52 +01:00
Wunkolo
22bff1b017
cmake: Use set_target_properties to set C++ standard
...
This stops dependencies from inheriting a global C++20 standard setting
and instead designates the flycast target alone to be a C++20 project.
2025-01-05 22:06:37 +01:00
Wunkolo
9344856c7e
ggpo: Fix malformed template constructor
...
This form is not needed for a template-class's constructor.
Fix for C++20 builds
2025-01-05 22:06:37 +01:00
Wunkolo
b2c1d134e1
deps: Update luabridge to 2.8
...
From 2.6 to 2.8. Includes some C++20 fixes.
2025-01-05 22:06:37 +01:00
Wunkolo
160d3e7ef3
cmake: C++20 enablement
...
Enables the C++ 20 standard
2025-01-05 22:06:37 +01:00
Flyinghead
3cf4808033
fix perf regression on macOS and iOS. Add Silent Scope (JP) identifier.
...
Regression introduced in f3a3364
CopyToVRAM wasn't enabled for Silent Scope (JP). Issue #1796
2025-01-05 22:06:37 +01:00
Flyinghead
1bd894f941
rend: reset scissoring before drawing final modvol quad
...
See d618abc320
Issue #1797
2025-01-05 22:06:37 +01:00
Edward Li
8dc55721d0
Generate Xcode project which can support both iOS and iOS Simulator
2025-01-05 22:06:37 +01:00
scribam
c94deaee9d
build: drop unsupported architectures
2025-01-05 22:06:37 +01:00
scribam
95583583ca
ci: force ubuntu-22.04 on libretro-x86_64-pc-linux-gnu target
2025-01-05 22:06:37 +01:00
Flyinghead
42752acef5
Fix crash when reading 2448-byte sectors
...
Fixes MINIDUMP-5J0, MINIDUMP-5M7, MINIDUMP-5M8, MINIDUMP-5MA,
MINIDUMP-5MF
2025-01-05 22:06:37 +01:00
github-actions[bot]
45c700ab60
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-05 22:06:37 +01:00
Flyinghead
a3902fc278
sdl: disable rumble when rumble power is set to 0
...
Issue #1766
Issue #1783
2025-01-05 22:06:37 +01:00
Flyinghead
0606f3e63e
ios: make the keyboard remappable
2025-01-05 22:06:37 +01:00
Flyinghead
0558c957e8
libretro: set an SDL hint to keep flycast SIGSEGV handler
...
Thanks to mrfixit2001 for helping troubleshoot the issue.
2025-01-05 22:06:37 +01:00
github-actions[bot]
2ca9187137
Fetch translations & Recreate libretro_core_options_intl.h
2025-01-05 22:06:37 +01:00
Flyinghead
5add29cbed
fix perf regression on macOS and iOS. Add Silent Scope (JP) identifier.
...
Regression introduced in f3a3364
CopyToVRAM wasn't enabled for Silent Scope (JP). Issue #1796
2025-01-05 10:21:54 +01:00
Flyinghead
5a1c3f80f5
msvc32 build fix
2025-01-02 13:55:39 +01:00
Flyinghead
a0e8e9a9df
libretro: windows build fix
2025-01-02 12:11:45 +01:00
Flyinghead
45f4378184
network: use asio for modem/bba. DirectPlay4 support
...
DirectPlay4 support: StarLancer, PBA Bowling
miniupnp: remove unused stuff
2025-01-02 11:27:11 +01:00
Flyinghead
c7d030c2e6
uwp: enable vmem. fix dynarec crash. windows: dll loading utility
...
uwp: Fix crash in x64 dynarec when rewriting due to wrong unprotect
range.
uwp: load MapViewOfFileEx dynamically to map regions at a given address.
dll load and function lookup utility.
2025-01-02 11:13:25 +01:00
Flyinghead
2bee6b1ce4
picotcp: fix msvc build. reduce logging
2025-01-02 11:01:58 +01:00
Flyinghead
522505273e
miniupnpc: minissdpc.c: fix memory allocation error
...
backport
https://github.com/miniupnp/miniupnp/commit/9698973600e639ddf0ceb0ee565d7297598486fe
2025-01-02 10:57:38 +01:00
Flyinghead
0481f5464d
misc non-functional changes
2025-01-02 10:54:19 +01:00
Flyinghead
7478476f9c
multithreading utilities (periodic, worker thread)
2025-01-02 10:50:46 +01:00
Flyinghead
76c3695f6e
log: support udp log server
2025-01-02 10:35:27 +01:00
Flyinghead
e18ada7225
rend: reset scissoring before drawing final modvol quad
...
See d618abc320
Issue #1797
2024-12-31 18:22:07 +01:00
Edward Li
f3a33642f8
Generate Xcode project which can support both iOS and iOS Simulator
2024-12-30 12:23:27 +01:00
scribam
2f03c1b147
build: drop unsupported architectures
2024-12-30 12:22:59 +01:00
scribam
b7e2f5e489
ci: force ubuntu-22.04 on libretro-x86_64-pc-linux-gnu target
2024-12-30 12:22:28 +01:00
Flyinghead
d01cbde41c
Fix crash when reading 2448-byte sectors
...
Fixes MINIDUMP-5J0, MINIDUMP-5M7, MINIDUMP-5M8, MINIDUMP-5MA,
MINIDUMP-5MF
2024-12-30 12:20:29 +01:00
Flyinghead
11068012fe
picotcp: support threads with msvc. Fix msvc pragma push issue
...
Enable threading support with msvc, similar to posix.
Fix missing pragma pop after picotcp include files
2024-12-30 12:15:36 +01:00
Flyinghead
a06791780d
Merge remote-tracking branch 'origin/dev'
2024-12-29 10:59:49 +01:00
Flyinghead
ee1a7167f6
dreamconn: open pause menu when LT+RT+Start is pressed
...
Issue #1305
2024-12-28 15:39:11 +01:00
Flyinghead
10aaec1619
dreamconn: send data with socket to avoid fragmentation. Build fix
...
Issue #1305
2024-12-28 12:21:26 +01:00
github-actions[bot]
32d8d9a8c3
Fetch translations & Recreate libretro_core_options_intl.h
2024-12-27 22:20:31 +00:00
Flyinghead
553f77c675
dreamconn: send buzzer messages. Rename controller. Use asio iostream
...
Issue #1305
2024-12-27 18:47:12 +01:00
Flyinghead
9402981b43
net: add asio. use it for the gdb agent
2024-12-27 18:39:13 +01:00
Flyinghead
9038ef6d8a
sdl: disable rumble when rumble power is set to 0
...
Issue #1766
Issue #1783
2024-12-26 16:31:23 +01:00
Flyinghead
1d290560e0
picotcp: accept PSH flag in SYN+ACK packets
...
Windows CE adds the PSH flag to SYN+ACK packets, which isn't normally
valid, so just ignore the flag. See dcgamespy filter in dreampi.
2024-12-26 13:04:07 +01:00
Flyinghead
59e844db15
picotcp: Integer Overflow in pico icmp4
...
upstream
https://github.com/virtualsquare/picotcp/commit/cc923d2a1221d2066dc9270fb86c5c43635ce06e
2024-12-26 12:38:26 +01:00
Flyinghead
6853238c8b
picotcp: Discard incoming TCP segments with zero-len options
...
upstream
https://github.com/virtualsquare/picotcp/commit/7aa288510a033691c3f09e2c43e10f07e24434b7
2024-12-26 12:12:48 +01:00
Flyinghead
f0aa1abf89
picotcp: Fixed bug in tcpopt_len_check (rolling back index).
...
upstream
https://github.com/virtualsquare/picotcp/commit/f569ed8fb66630fa4a4dc59259253767da67b23a
2024-12-26 12:03:09 +01:00
Flyinghead
cfd3677746
picotcp: add socket event before socket is deleted
...
Socket callback is called with PICO_SOCK_EV_DEL just before the socket
is deleted. After returning from the callback, the socket pointer is no
longer valid.
2024-12-26 11:45:58 +01:00
Flyinghead
50a10598e4
picotcp: Resolved memory leak
...
upstream
https://github.com/tass-belgium/picotcp/commit/83527c69d3f69ba2b049b827c4f80c0633dce390
2024-12-26 11:33:26 +01:00
Flyinghead
9bfd48cf40
ios: make the keyboard remappable
2024-12-21 12:26:16 +01:00
Flyinghead
b72750c7d5
libretro: set an SDL hint to keep flycast SIGSEGV handler
...
Thanks to mrfixit2001 for helping troubleshoot the issue.
2024-12-21 12:25:30 +01:00
Flyinghead
b9fdd5070b
dreamconn: detect dreamconn+ with VID/PID. Send maple data as text.
...
Create DreamConn gamepad when detected.
Send/receive maple data in ascii dump form.
Simplify maple device creation.
Issue #1305
2024-12-20 20:02:58 +01:00
Flyinghead
6c3d77b012
more windows build fix
2024-12-16 18:14:21 +01:00
Flyinghead
7fee0d2d29
cheat to work around fur fighters hanging
...
Root issue seems to be TCNT0 returning the same value twice, which
breaks the game calculation of the game speed/frame rate.
Issue #145
2024-12-16 17:54:02 +01:00
Flyinghead
dfd4dbebc4
fix windows build
2024-12-16 17:34:38 +01:00
Flyinghead
34a5e7f47d
input: dreamconn+ support prototype
...
Issue #1305
2024-12-16 17:17:45 +01:00
Flyinghead
3f8d645c42
rend: last frame was sometimes presented after the game is stopped
...
When the clearLastFrame flag is set, renderers should return false from
Present() and RenderLastFrame() until a new frame is rendered.
2024-12-15 15:55:28 +01:00
Flyinghead
ecd0305a60
fix build without dynarec
2024-12-14 19:43:32 +01:00
Flyinghead
667e3906d8
sh4: work around previous SCIF issues when loading a state
...
Force SCIF_SCBRR2 to 8 bits when loading a state.
See e03e11b8a9 and
6115a918b2 .
2024-12-14 19:13:05 +01:00
Flyinghead
e5b1d56a7c
rend: split texture conversion routines into their own file
2024-12-14 19:07:18 +01:00
Flyinghead
d789b57412
rend: get rid of globals for fog/palette updates & tex cache flush
...
Add state vars to Renderer
Use events to detect loading a state and terminating the game.
Don't present last rendered frame after game terminated.
2024-12-14 17:00:51 +01:00
Flyinghead
825778445a
ui: show boxart cover when starting a game
2024-12-14 16:54:18 +01:00
Flyinghead
20517cf0da
vgamepad: enable touch mouse when lightgun used
...
Use unique touch mouse class for iOS and Android.
Enable touch mouse for arcade lightgun games or when maple device A is a
lg. Disable it otherwise.
android: only display controllers that actually send events, including
system mouse and keyboard. Use separate Touch Mouse and System Mouse.
iOS: fix missing button input for touch mouse. Don't bubble up touch
events that hit vgampad buttons or controls.
2024-12-14 16:18:35 +01:00
github-actions[bot]
989d3b1370
Fetch translations & Recreate libretro_core_options_intl.h
2024-12-13 22:21:39 +00:00
Flyinghead
421245aeba
lightgun xhair: centralize logic in crosshairNeeded()
2024-12-13 17:21:32 +01:00
Flyinghead
686f08e7dd
vgamepad: hide btn0 and map reload to btn1 for lightgun games
2024-12-13 16:49:57 +01:00
Flyinghead
4af1d096de
audio: reset buffer on loadstate/term. Fix null audio driver on windows
...
Eliminate audio clicks when loading a state or starting the next game.
Fix overflow in null audio driver on windows. Detect fast forward and
reset time counter.
2024-12-13 15:58:32 +01:00
Flyinghead
27a0497dd5
win32: fix opening CD drive on command line. libretro build fix
2024-12-12 15:52:07 +01:00
Flyinghead
9ea0563a7a
gdrom: stop cdda playback when reaching session lead out
...
Issue #1654
2024-12-12 14:27:23 +01:00
Flyinghead
a46677e64e
ui: add cancel button when inserting a disk
...
Issue #1566
2024-12-12 10:17:45 +01:00
Flyinghead
a7f2008763
rend: support planar VQ textures
...
Fixes gens4all emu in teenage mutant ninja turtle collection.
Issue #868
2024-12-12 10:14:30 +01:00
Flyinghead
53e0f12c22
win32: force libcdio static link
...
Issue #1654
2024-12-12 09:57:18 +01:00
Flyinghead
34961daaec
gdrom: add support for hardware CD-ROM devices
...
Use libcdio to read CD/DVD/BD drives (linux, windows, bsd)
Get rid of old ioctl win32 driver.
Add detected CDROM devices to game list.
Issue #1654
2024-12-11 11:25:50 +01:00
Flyinghead
f5389bcd0b
battle cable: notify user when data first received from peer
...
Document SCIF register bits.
2024-12-11 11:04:44 +01:00
Flyinghead
67eee05c14
lightgun: wiggle the reported lightgun position in a 2x2 square
...
Fixes claychal not registering shots in menus.
2024-12-11 10:41:53 +01:00
Flyinghead
bb1b1059d4
sh4: SCIF DR bit can't be reset if rx fifo isn't empty
...
Fixes manic panic periodic touchscreen errors.
2024-12-11 10:37:48 +01:00
Flyinghead
94f35ca54f
arcade: add input descriptors for most games
2024-12-09 16:09:45 +01:00
Flyinghead
1507097bcd
naomi: set offscreen sensor when reloading. fix wldkicks PCB inputs
...
Most games using analog inputs for lightguns also have an offscreen
sensor (lupinsho, mok, hotd2, confmiss). Activate it when reloading or
shooting offscreen.
Fix World Kicks PCB inputs.
2024-12-09 16:02:30 +01:00
Flyinghead
e4599e36ed
Merge remote-tracking branch 'origin/master' into dev
2024-12-08 10:47:31 +01:00
Flyinghead
15617c1816
ssa: fix regression
...
due to fff03f64a3
Issue #1773
2024-12-08 10:40:44 +01:00
scribam
fb64fc418e
ci: update freebsd and openbsd versions
2024-12-07 21:04:17 +01:00
scribam
5656370388
deps: update sdl to version 2.30.10
2024-12-07 21:03:49 +01:00
Flyinghead
354d649ebd
Merge remote-tracking branch 'origin/master' into dev
2024-12-07 20:38:55 +01:00
Johan Mattsson and flyinghead
fff03f64a3
ssa: Fix wrong opcode comparison ( #1769 )
...
* ssa: Fix wrong opcode comparison
* ssa: handle 32 bits shift case first (shld, shad)
---------
Co-authored-by: flyinghead <[email protected] >
2024-12-07 18:59:14 +01:00
Flyinghead
a99aa5217b
sdl: don't run null haptic effects. Stop effects instead
...
Tentative fix for Issue #1766
2024-12-07 18:57:40 +01:00
Flyinghead
89abb7925b
Pro Pinball needs copy to vram. remove Nightmare Creatures widescreen
...
Issue #1763
2024-12-07 10:04:36 +01:00
Flyinghead
dea8e74182
better CI job names
2024-12-04 18:19:34 +01:00
Flyinghead
92c5892d4c
android: fix scaling when editing vgamepad. vgamepad code clean up
2024-12-04 18:17:11 +01:00
Flyinghead
21f9e9fbc2
android,ios: arcade vgamepad layout. android vgamepad rewrite
...
Refactor common virtual gamepad code.
Distinct layouts for console and arcade.
Add arcade buttons 5 and 6, insert card button, service mode toggle.
System SP support
2024-12-03 21:04:51 +01:00
Flyinghead
78fa3ee09e
vulkan: delay updating imgui texture when driver has just been reset
...
Fixes crash when selecting a custom gamepad layout .png (android)
2024-12-03 20:42:54 +01:00
Flyinghead
de1584d97c
systemsp: input remapping. Input desc for mushiking, dinoking, lovebery
...
Allow input remapping for SystemSP.
Add input descriptors for barcode games: mushiking, dinoking and
love&berry
2024-12-03 20:16:56 +01:00
Flyinghead
a40c51e682
gdrom: fix deserialization crash
...
regression due to c860807fef
Issue #1755
2024-12-03 18:33:58 +01:00
Flyinghead
c860807fef
gdrom: reduce dma buffer size. reios: schedule dma reads by chunks
...
Reduce gdrom dma buffer size to 16 sectors from 32.
Limit serialization of dma and pio buffers to actual content.
reios: schedule transfer of dma data in chunks.
Fixes Soul Calibuf audio drop outs at boot with HLE BIOS (RA).
Issue #1755
2024-11-30 16:37:55 +01:00
Flyinghead
b91f82c7e5
win32: create screenshots path if needed. Fall back to Pictures folder
...
Ask Windows to create the Screenshots folder if it doesn't exist.
Fall back to Pictures folder if the Screenshots folder can't be
determined.
Issue #1761
2024-11-30 13:06:53 +01:00
github-actions[bot]
d38ce47081
Fetch translations & Recreate libretro_core_options_intl.h
2024-11-29 22:21:28 +00:00
Flyinghead
5f55a9fd3f
naomi: fix issue when creating eeprom. Ignore audio disable.
...
Byte at offset 2 was incorrect.
Ignore disable attract mode audio in BootID.
Remove ikaruga default eeprom.
Issue #1760
2024-11-29 17:11:36 +01:00
Flyinghead
a085fd2f6d
ui: never disable Up and Down buttons on iOS. rename source files
2024-11-28 17:45:40 +01:00
Flyinghead
36c2f5137c
ios, android: load custom vgamepad image. disable unused controls
...
User can choose a custom vgamepad image or reset to default.
Unused controls are disabled and hidden based on the game (arcade) or
maple device (console).
2024-11-28 17:09:09 +01:00
Flyinghead
5e9c168fc9
android: add BooleanArray to jni util. refactor using templates
2024-11-28 17:01:39 +01:00
Flyinghead
59c2343cad
android: add mime-type argument to addStorage()
2024-11-28 16:46:17 +01:00
Flyinghead
b42387e929
naomi: vf4 and mazan input descriptors
2024-11-28 16:41:30 +01:00
Flyinghead
df78a781ec
allow USE_HOST_LIBCHDR with libretro
2024-11-27 10:04:23 +01:00
Flyinghead
974dc2e233
missing iOS app icon source files
...
Courtesy of @maxtron95
Issue #1731
2024-11-27 10:02:26 +01:00
Flyinghead
6bf38e5085
input: fix potential race condition with analog ramp up/down
...
Fix a potential race condition on android causing missed inputs with
analog axes bound to buttons.
2024-11-26 19:29:40 +01:00
Flyinghead
792aa38d34
input: implement ramp up/down for analog axes mapped to buttons
...
Full analog axes now have a ramp up/down of 100 ms when the mapped
button is pressed/released. Works also for keyboards.
Issue #1017
2024-11-26 16:06:13 +01:00
Flyinghead
516982c66c
ios: allow virtual gamepad layout customization
...
Use same display code as android.
Support custom buttons.png.
Allow layout customization as in android.
Save layout in emu.cfg.
Allow transparency setting.
Issue #990
2024-11-26 10:46:02 +01:00
Flyinghead
a9fa33c17a
gl: test glBlitFramebuffer compliance and disable its use if failing
2024-11-26 10:03:33 +01:00
Flyinghead
d0584b8652
vk: defer deleting framebuffers in ScreenDrawer and lr context
...
Defer deleting framebuffers and attachments in ScreenDrawer and lr
context when resizing.
Fixes crash when starting 240pSuite on the lr core.
2024-11-23 13:47:19 +01:00
github-actions[bot]
58c8a33d11
Fetch translations & Recreate libretro_core_options_intl.h
2024-11-22 22:20:51 +00:00
Flyinghead
b4dcc64ef6
android: draw onscreen gamepad with imgui
...
Get rid of Renderer::DrawOSD.
gl: make a GlQuadDrawer class.
Draw on-screen gamepad using imgui.
Clean up vgamepad interface.
2024-11-22 14:42:51 +01:00
Stefan Schlosser
7531f5df20
oss: cleanup and unification
...
Audio and record initializations are unified by providing helper functions for
opening the audio device and for setting the device parameters. The ioctl calls
are properly checked for errors and log an appropriate error message. The init
fails if the requested parameters are not supported by the device, i.e. 44.1kHz
16bit stereo for playback. This provides consistent behavior with all the other
audio backends.
2024-11-22 13:06:18 +01:00
Stefan Schlosser
c4d77165a6
lua: add build option for Lua support
...
The added build option USE_LUA (enabled by default) allows to enable/disable Lua
support in the build. This provides more control over the used dependencies, and
is important especially for OpenBSD and FreeBSD i386 builds, where the build
fails with enabled Lua support, see also [1].
[1] https://github.com/vinniefalco/LuaBridge/issues/302
2024-11-20 18:01:06 +01:00
Flyinghead
aa95c71ead
libretro build fix
2024-11-20 12:06:39 +01:00
Flyinghead
6612e3fef8
gdrom: update settings and more when swapping disks
...
Set forced and per game settings.
Update game id and save state file name.
Reset cheats and custom textures.
Update game title and window title.
Issue #1748
hle bios: reboot the game when "exit to bios" vector is called
2024-11-20 11:46:34 +01:00
Flyinghead
fbd52a72d4
naomi: load and decrypt gd-rom on demand
...
Shorten load times and avoid ANR on android with libretro when loading a
GD-ROM game. Load and decrypt data by 16 KB chunk when needed.
Issue #1457
Issue #1738
2024-11-17 20:39:30 +01:00
Flyinghead
d618abc320
rend: modifier volumes must be clipped
...
Modifier volumes should also be clipped when needed.
Implement outside clipping for non-OIT renderers.
OIT renderers are less affected since the shadowed polys themselves are
usually also clipped after shadow is applied.
Fixes overflowing shadows in baserunner cams in WSB 2K1.
2024-11-17 12:09:40 +01:00
github-actions[bot]
b7163dda83
Fetch translations & Recreate libretro_core_options_intl.h
2024-11-15 22:21:36 +00:00
Stefan Schlosser
d259a2e2f5
libchdr: add build option for using system library
...
The added build option USE_HOST_LIBCHDR allows to build with libchdr provided by
the system. The option is disabled by default.
2024-11-14 13:17:00 +01:00
Stefan Schlosser
e2f8de33e8
audio: add build options for audio backend support
...
The added build options USE_ALSA, USE_LIBAO, USE_OSS and USE_PULSEAUDIO allow to
enable/disable specific audio backends in the build. This provides more control
over the used dependencies.
The OSS backend wasn't enabled in the previous build configuration, consequently
the build option USE_OSS is set to OFF by default.
2024-11-14 13:16:27 +01:00
vkedwardli
42ad5532b2
Update Xcode project generator ( #1732 )
...
* Do not build breakpad in Xcode project, fix `PhaseScriptExecution failed` error and fix Flycast cannot be launched from debugger
* NSLog prettyprint for Xcode 16
2024-11-14 13:15:54 +01:00
Flyinghead
1e30f483c2
New iOS app icon
...
Courtesy of @maxtron95
Issue #1731
2024-11-14 13:13:59 +01:00
Flyinghead
bdd2d5af7f
naomi: emulate dimm registers for gd cart
...
Emulate 1.02 dimm board without network so that the bios detects it and
shows the expected GD-ROM SYSTEM boot screen.
Fix rom board serial id issue (error 04) with ikaruga, tetkiwam,
puyofev[j] and sprtjam.
Issue #1735
Add naomigd and naomidev bios definitions (unused).
Use netdimm for mj1 and wccf* series (still not working).
2024-11-14 13:05:48 +01:00
Flyinghead
76638df001
sh4: split xffr array. Fix FPCB_PAD on windows
...
Split xffr[32] into xf[16] and fr[16].
Set FPCB_PAD size to 64_KB. Issue #1736
Get rid of shil_param::reg_aofs
2024-11-13 10:31:45 +01:00
Flyinghead
3efb87ba6d
vk: fix crash when enabling/disabling EmulateFramebuffer
...
Make sure to end the current render pass with the previous setting.
Fix initial layout of color attachments in OIT.
Fix missing initial transition after Term/Init in !OIT.
Issue #1734
2024-11-11 22:15:57 +01:00
Flyinghead
c9f238362d
New macOS app icon
...
courtesy of @maxtron95
Issue #1731
2024-11-11 22:09:52 +01:00
Flyinghead
129673a84b
dynarec: use sh4 ctx to get register pointers. prefer offset
...
Move restoreHostRoundingMode() into Sh4Context
2024-11-09 18:44:51 +01:00
Flyinghead
7c1c5817d3
sh4: move sqWrite func into sh4 context. Simplify usage
...
Allow passing sh4 context to dynarec canonical implementations
Reduce FPCB padding to PAGE_SIZE except on arm32
2024-11-09 16:54:47 +01:00
Flyinghead
e394840344
sh4: pass sh4 context to dynarecs, sh4cycles and caches
...
Reorder RuntimeBlockInfo members to save space
2024-11-09 13:25:55 +01:00
Flyinghead
fc33002284
network: add Golf Shiyouyo 2 ports
2024-11-09 11:44:58 +01:00
Flyinghead
dff967f60a
ui: notify user when loading a state fails and why
2024-11-09 11:43:10 +01:00
github-actions[bot]
a3708a7e95
Fetch translations & Recreate libretro_core_options_intl.h
2024-11-08 22:20:44 +00:00
Flyinghead
1cadeb276e
sh4: test fix
2024-11-08 22:01:48 +01:00
Flyinghead
2b28e819e5
sh4: build fix. rounding mode refactoring
2024-11-08 21:34:24 +01:00
Flyinghead
db846ca933
sh4: pass context to interpreter funcs. get rid of sh4 regs #define
2024-11-08 18:36:08 +01:00
Flyinghead
9cb7d9e5d5
rec-arm64: fix Store Queue write handlers
2024-11-08 18:27:52 +01:00
Flyinghead
93ae9d0375
sh4: refactor interpreter and recompiler with Sh4Executor interface
2024-11-07 18:14:18 +01:00
Flyinghead
e03e11b8a9
arm64: mask value operand when calling a write mem handler
...
AppleClang doesn't mask the operand in the callee. This must be done in
the dynarec.
See 6115a918b2
Tentative fix for barcode reader not working on macOS/arm
2024-11-07 14:10:02 +01:00
Flyinghead
52df0133f0
sh4: pass sh4 context to sq write handlers
2024-11-06 23:27:20 +01:00
Flyinghead
d5aeb482d9
sh4: move sq_buffer into sh4 context
2024-11-06 22:11:27 +01:00
Flyinghead
7eec648690
sh4: move Sh4RegType & GetRegPtr into sh4/dyna
...
rec-arm: use getRegOffset/reg_nofs instead of GetRegPtr
2024-11-06 20:46:32 +01:00
Flyinghead
897e06b887
sh4: refactor GetDR/SetDR and access to fp registers
2024-11-06 19:26:04 +01:00
Flyinghead
aa38771cd0
refactor sh4_sr_GetFull/sh4_sr_SetFull
2024-11-06 18:01:01 +01:00
Flyinghead
c77ddba109
get rid of settings.dynarec.disable_nvmem
2024-11-06 17:03:01 +01:00
Flyinghead
cd8a88366d
get rid of TARGET_NO_EXCEPTIONS
2024-11-06 16:59:16 +01:00
Bobby Smith
f892630e4b
[Libretro] Add game dir as fall back for arcade BIOSes
2024-11-06 16:46:29 +01:00
Flyinghead
9d4d486524
naomi: add crc32 to GDROM and AW roms
2024-11-06 16:45:42 +01:00
Flyinghead
d8a3ee9c3a
android: disable openmp affinity on some devices
...
Disable omp affinity on POCO F5, Redmi Note 12 Turbo, Redmi Note 13 Pro
5G and POCO X6 5G to avoid crashes.
2024-11-06 16:40:11 +01:00
Flyinghead
fc6142b332
maple: do a full save of the vmu after loading a state
...
A partial save might corrupt the vmu file system.
2024-11-04 19:19:31 +01:00
Flyinghead
5fc84acdfb
maple: base vmu file name on game ID for multidisk games
...
Build vmu file name with game ID so that all disks of multidisk games
share the same vmu (A1 only, or all with libretro when enabled).
Rename existing vmu file to new format if none exists.
Issue #1556
2024-11-03 17:14:31 +01:00
Flyinghead
037dc3b4b9
atomiswave: set dma speed to 7 MB/s for all aw games and conversions
...
AW dma transfer rate seems to be lower than naomi.
Fixes Force Five freeze when starting a game.
Fixes opening sequence animation being truncated in kofxi.
Issue #1724
2024-11-03 16:55:15 +01:00
Flyinghead
96aac66133
naomi: improve performance of M1 and M4 carts dma
...
Limit buffer size to 1 or 2 KB instead of 32 KB.
Only decrypt right before dma transfer.
Fixes frame drops and audio underruns in vf4evoct attract mode.
Issue #1717
2024-11-02 18:46:49 +01:00
Flyinghead
4d5ced1ce6
maple: add Full Controller with 2 analog sticks and all buttons
...
add AllStatusReq string for purupuru device.
Issue #1171
2024-11-02 18:13:38 +01:00
scribam
da3cfd9d58
deps: update sdl to version 2.30.9
2024-11-02 11:05:35 +01:00
Flyinghead
65aadb9dcb
pvr: avoid infinite loop if tile array is invalid
...
Fixes 240pSuite freeze at boot with the libretro core.
2024-11-02 11:04:56 +01:00
github-actions[bot]
cec46990ea
Fetch translations & Recreate libretro_core_options_intl.h
2024-11-01 22:21:16 +00:00
Flyinghead
2e5309bfa3
aica: don't batch samples
...
Batching 32 samples and arm runs causes audio glitches with some wince
games. So run aica 44100 times/sec instead.
Issue #1240
Issue #1605
2024-11-01 14:31:59 +01:00
Flyinghead
742090bb1f
rcheevos: disable achievements in naomi slaves
2024-10-29 17:38:52 +01:00
Flyinghead
f3a64e5891
android: clean exit when using the exit hotkey
...
Finish the activity in dc_exit.
Issue #1713
2024-10-29 17:35:25 +01:00
Flyinghead
32ccb754ff
libretro: fix translations
...
Issue #1688
2024-10-29 15:39:17 +01:00
Alexandre Bouvier
32d11dd89c
fix missing include
2024-10-26 19:28:20 +02:00
github-actions[bot]
760813e45a
Fetch translations & Recreate libretro_core_options_intl.h
2024-10-25 22:20:46 +00:00
Flyinghead
e221f6fed2
deadlock when pausing/resuming quickly (android)
...
Race condition when pausing/resuming is done from a separate thread (android): the renderer gets a result ready status for the previous emu thread, but waits on the newly created one forever.
2024-10-25 08:10:41 +02:00
Flyinghead
8108e63907
rcheevos: race condition in event handlers and async tasks
...
The data passed to event handlers (achievements in particular) must be
copied if used by an async task. It might be deleted before the async
task runs.
Fixes MINIDUMP-3ZR MINIDUMP-4XJ MINIDUMP-4TB MINIDUMP-4CA MINIDUMP-38H
2024-10-21 16:13:00 +02:00
Flyinghead
b0403ed103
imgui: ignore invalid fonts when merging
...
Avoid crashing in release mode if a merged font is invalid or FontNo
can't be found. The font is simply ignored and the glyph range isn't
loaded.
Fixes MINIDUMP-4TD
2024-10-21 16:03:28 +02:00
Flyinghead
c86ed291cf
picotcp: use dns.flyca.st as default dns
...
Use dns.flyca.st as default dns.
Resolve name when pico network starts.
2024-10-19 17:59:24 +02:00
Flyinghead
d981c48a75
libretro: fix translations
2024-10-19 12:47:26 +02:00
github-actions[bot]
82925c4e81
Fetch translations & Recreate libretro_core_options_intl.h
2024-10-18 22:20:39 +00:00
Flyinghead
54e8589f63
android: disable import/export home when SAF is disabled. Code clean up
...
Disable import/export home folder buttons when not using SAF file
picker.
Get rid of unused home migration feature when onboarding.
Android TV screenshots and banner.
2024-10-18 19:23:03 +02:00
Flyinghead
4750ddb646
android: new option to use legacy file picker instead of new SAF one
...
Android 9 and earlier can use the legacy file browser. This fixes issues
with broken SAF file picker on Android TV 9.
Catch exception when no file picker is installed on the device (Android
TV 12) and instruct the user to install one.
Issue #1657
2024-10-17 16:21:06 +02:00
Flyinghead
894ac54b80
imgui: fix dpad navigation issue on shield tv
...
Pressing dpad up or down moves the selection 2 lines up or down resp.
Regression due to ca613db70d .
Happens on 1920x1080 screen with 213 dpi.
Relax vertically touching items test.
2024-10-17 16:04:27 +02:00
Flyinghead
d4a223656f
enable RTT Copy to VRAM for Silent Scope
...
Fixes VMU display
Issue #1703
2024-10-17 16:00:46 +02:00
Flyinghead
b698cc3d10
dx11: reset device context state to fix libretro shaders
...
Reset device context before each render. Rebind palette and fog textures
every frame.
Fixes corruption with libretro shaders.
Issue #1612
2024-10-15 17:28:54 +02:00
Flyinghead
75af269bb8
rend: ignore inside clipping if rect is default value
...
Fixes invisible race start countdown in f355 (arcade).
Issue #1698
2024-10-15 15:55:34 +02:00
Flyinghead
fd475bdd8e
vk: some pipelines don't need the provoking vertex extension
...
ModVol and OIT Final and Clear pipelines don't need it.
2024-10-14 17:19:41 +02:00
Flyinghead
f71dd6d4d8
cdi: better detection of invalid CDI media
2024-10-14 16:45:22 +02:00
Flyinghead
5aec6d05b0
vk: (lr) use one vk::DeviceQueueCreateInfo when possible
...
Using 2 with the same queue index causes a validation error and crash.
2024-10-14 16:39:33 +02:00
Flyinghead
b4937ef271
f355: pass full BIOS path to slaves
...
if the bios file is located relative to the rom location, slaves won't
be able to find it. Pass the full bios path to avoid the issue.
2024-10-14 16:31:23 +02:00
Flyinghead
a50164a91b
vk: missing some changes to use VK_FORMAT_R8G8B8A8_UNORM
...
Fixes Naomi 2 games and android on-screen gamepad.
2024-10-13 14:22:50 +02:00
Wunkolo
595842f606
vk: Remove naomi2 vertex attributes when not needed
...
Disables the naomi2 vertex input attribute when emitting non-naomi2 pipelines.
This addresses some validation messages involving unused vertex inputs and optimizes the bandwidth of the input assembler a little bit for non-naomi2 games.
2024-10-13 13:26:42 +02:00
Wunkolo
8f74f7883a
vk: Use VK_FORMAT_R8G8B8A8_UNORM for vertex colors
...
Rather than using `VK_FORMAT_R8G8B8A8_UINT` for these vertex attributes and then dividing by `255.0` in each of the shaders, the `VK_FORMAT_R8G8B8A8_UNORM` format will automatically remap byte components into the `0.0-1.0` range and removes the need to do the extra divisions or castings within the shader.
2024-10-13 13:25:40 +02:00
scribam
71dc4c3e39
ci: disable android signing on pull requests
2024-10-13 13:25:02 +02:00
scribam
6edad8eaba
android: update gradle and agp
2024-10-13 13:25:02 +02:00
Wunkolo
ea1cd9d31b
vk: Fix undefined push-constant data
...
The full push-constant region is 24 bytes(6 floats), but some of these push-constant writes only wrote 20 bytes of data(5 floats).
Causing 4 bytes at the end to be left undefined.
Resolved by pushing an extra zero.
2024-10-13 13:24:27 +02:00
Flyinghead
bb7ad07701
extra depth scale for sturmwind
...
Issue #1691
2024-10-12 17:35:59 +02:00
Flyinghead
9793e54646
avoid deadlock when sh4 cpu is restarted while emu is being stopped
...
The sh4 cpu is stopped/restarted during a soft reset, and dynarec code
reset (arm64, arm, x86). If the emulator is stopped concurrently, the
call may hang. Use a mutex-protected method to restart the cpu only if
the emu is still running.
2024-10-12 17:31:58 +02:00
Flyinghead
6d2ed417be
lr: fix core options to work around translation issue
...
Adjacent string literals aren't supported.
Fix syntax errors in libretro_core_options_intl.h
Issue #1688
2024-10-12 11:49:12 +02:00
github-actions[bot]
d3916f13d7
Fetch translations & Recreate libretro_core_options_intl.h
2024-10-11 22:20:30 +00:00
Flyinghead
b2c6159b10
Merge remote-tracking branch 'origin/dev'
2024-10-11 15:28:19 +02:00
Wunk
4d73cc8e13
vk: Add VK_EXT_provoking_vertex optimization ( #1681 )
...
* vk: Add `VK_EXT_provoking_vertex` optimization
The dreamcast uses the last vertex as the provoking vertex, while vulkan uses the first vertex.
This requires an additional call to `setFirstProvokingVertex` to reorder the vertices for all incoming geometry.
With `VK_EXT_provoking_vertex`, the pipeline can designate that the provoking vertex is to be the last vertex, which removes the need to re-order incoming geometry on the CPU.
* vk: Propagate physical device API version to VMA
Allows VMA to make assumptions such as using the `*KHR` or non-`KHR` versions of certain function names.
* vk: Refactor libretro device initialization for `VK_EXT_provoking_vertex`
* vk: Top out at vulkan API version to VMA to 1.1
Despite the physical device possibly being 1.2 or 1.3, we only want up to 1.1. Otherwise we will be responsible for other API functions being resolved and loaded when passing to VMA.
* vk: Enable `VK_EXT_provoking_vertex` usage for ModVol and Final(OIT) pipeline
* vk: Enable `VK_EXT_provoking_vertex` for ModVol(OIT) pipeline
Pretty much anything handling dreamcast-geometry should use this extension when available
* vk: Additional `VK_EXT_provoking_vertex` pipeline fixes
2024-10-11 10:23:48 +02:00
Wunkolo
5b343562b9
vk: Add CommandBufferDebugScope utility-type
...
Adds a new RAII-based utility type for adding diagnostic information to command buffers.
Enabled only when `VK_DEBUG` is set to `1`.
2024-10-09 19:47:14 +02:00
Wunk and flyinghead
b20db6a8bb
vk: Disable LOD clamping in samplers ( #1674 )
...
This addresses the `BestPractices-Arm-vkCreateSampler-lod-clamping` message from ARM:
https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/65b79bac615ec1c47ab61a02d55a3bba871b56b9/layers/best_practices/bp_descriptor.cpp#L103-L110
Rather than clamping the LOD in the samplers, instead rely on the Image-View's `vk::ImageSubresourceRange` to limit the number of sampled LODs.
Currently, only game-textures actually have MipMaps, so this does not introduce any additional mip-map sampling or filtering anywhere. If any code want's to actually limit the number of LODs sampled, then they would allocate an additional ImageView for the range of MipMaps to be sampled.
Co-authored-by: flyinghead <[email protected] >
2024-10-09 19:46:36 +02:00
Wunkolo
a8bc1c12f4
vk: Optimize redundant QuadBuffer uploads
...
Hashes the contents of the `QuadBuffer` vertex-data such that data is only uploaded when the vertices actually change rather than every frame.
2024-10-09 19:40:59 +02:00
Wunkolo
b94acb70a6
vk: Use matching u/v/w sampler address-mode when possible
...
This addresses the `BestPractices-Arm-vkCreateSampler-different-wrapping-modes` message from ARM:
https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/65b79bac615ec1c47ab61a02d55a3bba871b56b9/layers/best_practices/bp_descriptor.cpp#L95-L100
The `W`-axis for these samplers is always unused, it's never the case that these samplers are going to be used for 3D textures.
ARM suggests trying to keep all of the wrapping-modes the same if possible for performance.
`wRepeat` will be set to the same value as `vRepeat` to try and encourage all three wrapping-modes to be the same.
2024-10-09 19:40:20 +02:00
Wunkolo
0c3f5c7a76
vk: Refactor device/instance extension enablement
...
* Uses a utility-lambda for repeated extension-adding logic
* Uses an `std::set` for the list of available extensions for quick queries
* `VK_EXT_DEBUG_REPORT` and `VK_EXT_DEBUG_UTILS` aren't device extensions and don't need to be here. They are instance extensions
* Each extension that is tested to be added has a corresponding log message for if it was enabled or if it was unavailable
```
00:00:162 rend\vulkan\vulkan_context.cpp:427 N[RENDERER]: Device extension enabled: VK_KHR_swapchain
00:00:162 rend\vulkan\vulkan_context.cpp:427 N[RENDERER]: Device extension enabled: VK_KHR_get_memory_requirements2
00:00:162 rend\vulkan\vulkan_context.cpp:427 N[RENDERER]: Device extension enabled: VK_KHR_dedicated_allocation
00:00:162 rend\vulkan\vulkan_context.cpp:430 N[RENDERER]: Device extension unavailable: VK_KHR_portability_subset
00:00:162 rend\vulkan\vulkan_context.cpp:430 N[RENDERER]: Device extension unavailable: VK_EXT_debug_marker
```
2024-10-09 19:39:49 +02:00
Flyinghead
03d20f9d5a
bug report: ask for flycast version instead of github hash
2024-10-09 19:39:04 +02:00
Flyinghead
01e5cd882c
pvr: fix default clipping rectangle
...
Set default clipping rectangle to max (1280x480).
Fixes Irides: Master of blocks bogus clipping to tile 0,0.
2024-10-09 19:37:42 +02:00
Wunk
556e2ead56
vk: Refactor physical device selection ( #1671 )
...
Rather than electing the first physical device it finds, and falling back on the first-listed GPU: a series of stable-partitions are done so that the "least compromising" GPU is selected based on a series of criteria.
It will now maximally try to find a GPU that(in order of priority):
* Is a discrete GPU
* Supports `fragmentStoresAndAtomics`
* Supports `R5G5B5`/`R5G6B5A1`/`R4G4B4A4`
In the case that a system has two dGPUs and one of them supports optimal-formats, the optimal-format one is selected
In the case that a system has an iGPU and the dGPU and they both support optimal formats, the dGPU is selected.
In the case that a system has an iGPU and the dGPU and the dGPU doesn't support optimal formats, the dGPU is still selected.
2024-10-08 17:07:09 +02:00
Wunkolo
ff6a3119b0
vk: Determine object type enum when setting object name
...
Uses compile-time type-information provided by vulkan-hpp to automatically determine a vulkan-object's `objectType` when calling `setObjectName`.
2024-10-08 17:05:32 +02:00
Wunkolo
86657c0c12
Fix {Push,Pop}StyleVar assert
...
When entering an error or contentpath warning popup, there are two `ImguiStyleVar` on the stack.
Within the pop-up frame, an additional `ImguiStyleVar` is added.
When the popup ends, there is technically one more ImguiStyleVar on the internal stack than when we entered the popup, causing an assert to hit:
```
Program: G:\flycast\out\build\x64-Debug\flycast.exe
File: G:\flycast\core\deps\imgui\imgui.cpp
Line: 10104
Expression: SizeOfStyleVarStack >= g.StyleVarStack.Size && "PushStyleVar/PopStyleVar Mismatch!"
```
These nested imgui RAII objects need to be scoped such that the stack is preserved both upon entry and exit of these popups to avoid these asserts.
2024-10-08 17:05:03 +02:00
Flyinghead
d7c168f406
naomi: copy cart dma data in chunks
...
Copy cart dma data in 1K chunks to avoid transferring all in one shot.
Fixes Soul Surfer and Beach Spiker audio glitches when playing a sample
before it's completely transferred.
Issue #1513
2024-10-08 17:03:00 +02:00
Flyinghead
f37e43b26f
vk: don't set scissoring in final OIT subpass
...
If scissoring is enabled, previous framebuffer background isn't drawn
outside of scissor region.
Fixes blinking in Soul Calibur battle loading screen.
Issue #1668
2024-10-08 11:49:34 +02:00
Flyinghead
e427c4d5c4
lr: don't set IntOption if overridden
...
Fixes OIT Max Layers overrides being ignored.
Issue #1610
2024-10-08 11:39:49 +02:00
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
Flyinghead
cb0b667129
maple: don't assert dma interrupt if using hardware dma trigger
...
Fixes Virtua Cop 2 pause when shooting. Regression due to ecce915
Issue #474
2024-08-17 17:23:34 +02:00
Flyinghead
00f60a3d62
win32: don't compile clock.c with clang
...
Issue #1588
2024-08-17 17:08:40 +02:00
github-actions[bot]
5565b79b9e
Fetch translations & Recreate libretro_core_options_intl.h
2024-08-16 22:20:19 +00:00
Flyinghead
8ea12443d3
android: fix touchscreen coords when view is scaled
...
Samsung phones/tablets can scale down the emulator view to improve
performance. In this case, getPointerCoords() returns screen, not view
coordinates. Use MotionEvent.getX/Y() instead.
2024-08-16 13:12:27 +02:00
Flyinghead
6679cb2f31
android: show/hide keyboard in main thread to avoid deadlock
...
Tentative fix for deadlock when main thread is calling
JNIdc.rendinitNative(null), and render thread is blocked on a lock
trying to hide on-screen keyboard.
2024-08-16 10:17:06 +02:00
Flyinghead
f1fd8b12e2
android: do all rumble/haptic on background thread
...
Haptic effects for the virtual gamepad must be done on a background
thread. Not sure about gamepad rumble but it shouldn't hurt.
Reuse haptic duration for haptic power (0-100).
Fix crash when power is zero (createOneShot needs power >= 1)
2024-08-15 17:25:02 +02:00
Flyinghead
ecb468a723
msvc build fix
2024-08-15 13:05:02 +02:00
Flyinghead
fbe7cc8fe3
input: crash when setting the keyboard to port None
...
Issue #1593
2024-08-15 12:28:22 +02:00
Flyinghead
aafa9f0bf0
android: intent url ignored unless external storage legacy is enabled
...
Issue #1584
Accept fileDir (internal storage) as home folder in case it was created
without external storage.
2024-08-15 12:09:27 +02:00
Flyinghead
dae3676979
android: NPE in NativeGLView when Emulator.currentActivity is null
2024-08-15 11:58:45 +02:00
Flyinghead
09ab139407
android: deadlock when Emulator::checkStatus is called concurrently
...
If checkStatus(wait = true) is called, any other thread will be blocked
even when calling with wait = false since the mutex is locked. This
happens on Android when JNIdc.rendinitNative(null) is called by the app
main thread.
Use a shared_future instead and unlock the mutex before waiting.
2024-08-15 11:55:07 +02:00
Flyinghead
138adc28d7
android: ANR when loading cheat file
2024-08-13 17:41:40 +02:00
Flyinghead
9fd80b952a
Storage::getSubPath can throw if path doesn't exist (android)
2024-08-13 17:38:23 +02:00
Flyinghead
a058481e36
oboe: log record stream buffer capacity, not output stream
...
Fixes MINIDUMP-43E
2024-08-13 17:18:31 +02:00
scribam
45bf218df4
ci: bump actions/setup-python to v5
2024-07-29 16:45:12 +02:00
scribam
6b3e86619e
deps: fix libzip compilation error with gcc 14.1
2024-07-28 20:02:34 +02:00
scribam
56b8bb1245
vk: cleanup
...
* Use constants for extension names
* Prefer VK_USE_PLATFORM_* constants
* Remove IOS_MVK/MACOS_MVK deprecated code
2024-07-28 20:02:34 +02:00
scribam
cea80560db
deps: update submodules
...
* discord-rpc: use upstream repository
* googletest: v1.15.0
* libchdr: master
* oboe: v1.9.0
* rcheevos: v11.5.0
2024-07-28 20:02:34 +02:00
scribam
088c1e6b0d
unit: build fix for apple platform when ctest is enabled
2024-07-28 20:02:34 +02:00
scribam
bb048dea8f
ci: use default xcode version
...
Currently, it is Xcode 15.4
2024-07-28 20:02:34 +02:00
scribam
588dca2bfd
cmake: cleanup
...
* Set min macos deployment version to 10.13. This is the lowest version supported by Xcode 14.3.1 and 15+
* Prefer target_compile_options to add compilation flags
* Simplify macos custom commands with TARGET_FILE and TARGET_FILE_DIR
* Do not install discord-rpc and libzip files
2024-07-28 20:02:34 +02:00
github-actions[bot]
3afa4322f1
Fetch translations & Recreate libretro_core_options_intl.h
2024-07-26 22:20:39 +00:00
Flyinghead
33d1dafdb7
android: revert changesNotSentForReview param change
...
Probably due to the current weather conditions at google's HQ
2024-07-20 10:58:26 +02:00
Flyinghead
8b2c1bc5dc
android: bug fixes
...
onInputDeviceAdded may be called with an invalid device id. Avoid NPE
onGenericMotionEvent: event may have a null device. Avoid NPE
getExternalFilesDir may return null if no external storage available.
Use getFilesDir in this case.
Catch exceptions in HomeMover and continue.
addStorage: catch SecurityException and alert user. Graceful failure.
2024-07-20 10:30:27 +02:00
Flyinghead
2b83df86cd
boxart: don't save database when pausing (android, uwp)
...
Avoids ANR on android. Unnecessary since database is now saved
regularly.
2024-07-20 10:07:18 +02:00
github-actions[bot]
0b6b8b3753
Fetch translations & Recreate libretro_core_options_intl.h
2024-07-19 22:21:06 +00:00
Flyinghead
53d092c326
naomi: set SB_GDSTARD and SB_GDLEND when starting dma
...
Fixes toukon4 fmv freeze
Issue #1582
2024-07-17 10:05:58 +02:00
flyinghead
bfba850ee7
Google Play install link
2024-07-16 09:49:29 +02:00
scribam
db5a4d1247
ci: add lua54 for freebsd and netbsd
2024-07-14 10:32:33 +02:00
scribam
3ad00596a1
ci: use freebsd 14.1
2024-07-14 10:32:33 +02:00
Flyinghead
39e04b07b8
Merge remote-tracking branch 'origin/dev'
2024-07-11 18:27:44 +02:00
Flyinghead
b9cbf3e47f
lr: get rid of trash
2024-07-11 18:27:31 +02:00
Flyinghead
72d9ad34dc
google play: don't send changes for review automatically
2024-07-08 17:15:42 +02:00
Flyinghead
e72a867363
ui: only show dreamcast bios entry if bios present
2024-07-08 16:49:20 +02:00
scribam
2a4356e72c
deps: update sdl to version 2.30.5
2024-07-06 14:04:24 +02:00
Flyinghead
136ce267dc
aica: apply 6dB attenuation after adding channels in mono
...
Less saturation with sega bass fishing challenge's default audio
settings.
Issue #1564
2024-07-06 14:03:48 +02:00
github-actions[bot]
c6f50fad9d
Fetch translations & Recreate libretro_core_options_intl.h
2024-07-05 22:20:32 +00:00
Flyinghead
916afeb5ef
Fix Cool Boarders Burrrn game id
...
Issue #1073
Issue #1265
2024-07-04 09:00:30 +02:00
Flyinghead
81842ccc23
Cool Boarders Burrn and Castle Fantasia fixes
...
Force HLE Bios for Cool Boarders Burrn.
Issue #1073
Force Copy to VRAM for Cool Boarders Burrn and Castle Fantasia.
Issue #1265
2024-07-03 17:38:23 +02:00
Flyinghead
4fdd28fab7
rend: intersect poly clipping with base clipping
...
Fixes glitch in FluffMatch split-screen (Fur Fighters)
Issue #145
2024-07-03 11:13:51 +02:00
Flyinghead
a01edd22c7
Merge remote-tracking branch 'origin/dev' into playstore
2024-06-30 11:24:46 +02:00
Edward Li
c1f5f2e8f9
Do the conversion in Oboe to try to get a low latency stream
2024-06-30 10:36:44 +02:00
scribam
f6c1503887
deps: update sdl to version 2.30.4
2024-06-25 14:02:58 +02:00
scribam
71982eda7a
miniupnp: add support for api version 18
2024-06-25 14:02:31 +02:00
Flyinghead
fefdb6c661
Merge remote-tracking branch 'origin/master' into dev
2024-06-23 16:15:13 +02:00
Flyinghead
4dd490034a
android: disable home folder migration
2024-06-23 16:13:28 +02:00
Flyinghead
719fd70860
sdl: always open haptic interface. use default rumble except for wheels
...
Always open joysticks haptic interface if available and create FFB
effects if supported.
Use default joystick rumble except for racing wheels (sine effect)
Revert 4e3d1caf3f
2024-06-23 16:06:50 +02:00
Flyinghead
49ad2b6864
naomi: save printer output as a screenshot
...
Use hostfs::saveScreenshot()
2024-06-23 16:00:31 +02:00
scribam
7d645541f8
ci: remove brew zstd
2024-06-23 11:15:34 +02:00
Flyinghead
f50d6204dd
android: tentative fix for touchscreen not working on android 14
...
Use more generic source test to detect touch events. Also get rid of
Retroid Pocket 2+ specific test.
Issue #1421
2024-06-23 11:05:40 +02:00
Flyinghead
e270621a03
f355: fix gearbox and clutch mappings
2024-06-22 21:40:07 +02:00
Flyinghead
07172416c1
android: tentative fix for touchscreen not working on android 14
...
Use more generic source test to detect touch events. Also get rid of
Retroid Pocket 2+ specific test.
Issue #1421
2024-06-22 15:07:05 +02:00
github-actions[bot]
f9dcd08cf3
Fetch translations & Recreate libretro_core_options_intl.h
2024-06-21 22:20:38 +00:00
Flyinghead
83a27b9125
android: import/export home folder
...
Use "folder" instead of "directory" in UI.
When game list is empty, show button to easily add a new content path.
Improve folder paths display in settings with middle ellipsis.
android: import/export home folder content
2024-06-21 18:37:34 +02:00
Flyinghead
9976fe10fb
android: gamepad rumble support (untested)
...
Use single thread to handle rumble for virtual and physical gamepads.
Use heavy click effect for vgamepad buttons when available (android 10)
Handle rumble inclination param.
2024-06-21 18:32:25 +02:00
Flyinghead
af7edadedb
Merge remote-tracking branch 'origin/dev' into playstore
2024-06-21 18:20:40 +02:00
Flyinghead
d882c48b4f
android screenshots
2024-06-20 18:18:01 +02:00
Flyinghead
d92790e69f
sh4: incorrect div1 implementation if Rn == Rm
2024-06-20 18:12:11 +02:00
Flyinghead
5eef0309bf
Merge remote-tracking branch 'origin/master' into dev
2024-06-20 18:02:36 +02:00
Flyinghead
5f88293fbd
discord-rpc: disable clang-format
2024-06-19 15:08:09 +02:00
Flyinghead
245b9043c5
gl: GL_READ_FRAMEBUFFER doesn't exist in GLES2
...
and glBindFramebuffer isn't needed at this point
2024-06-19 15:06:13 +02:00
Flyinghead
e3a1440e25
achievements: don't log token
2024-06-19 15:04:49 +02:00
Flyinghead
0a9eaa6cb8
android: storage fixes
...
storage: add file update date to FileInfo.
Savestates and custom textures can be loaded from content path / ASS.
Cache last savestate update date to improve perf on android.
android: Don't use scoped storage for android < 5. Optimize listContent.
Fix getSubPath
android: instrumented storage test
2024-06-17 09:53:32 +02:00
Flyinghead
e4ca99afba
android ci: bump versionCode on each run
2024-06-14 15:36:12 +02:00
Flyinghead
e5ccf98693
android ci: set track to internal
2024-06-14 14:31:28 +02:00
Flyinghead
e832509175
android ci: missing keystore password
2024-06-14 13:16:15 +02:00
Flyinghead
977d6c6f95
android: upload to google play
2024-06-14 12:59:19 +02:00
Flyinghead
2103dd5a7a
storage: add exists() method. load bios from content path. android fix
...
Add Storage::exists() method
Allow dc and arcade bios to be loaded from content path.
Fix android getSubPath when called on a root uri.
2024-06-14 12:39:32 +02:00
Flyinghead
9df12f950b
android: target android 13
...
disable non-android CI jobs
2024-06-13 20:25:12 +02:00
Flyinghead
272f25ceb3
discord-rpc: disable clang-format
2024-06-13 16:49:34 +02:00
Flyinghead
46340e7e77
ui: add title to select file/folder popups. fix frame padding
...
android: always do write test in new home folder
2024-06-13 16:05:36 +02:00
Flyinghead
aed4d21a4f
android: prepare transition to sdk 30+. cache last savestate path
...
Migrate home folder to externalFilesDir
(/sdcard/Android/data/com.flycast.emulator/files) if running on android
10+.
Use externalFilesDir for home by default. No more onboarding on first
install.
Use content uri instead of hacking out real path since the latter won't
work on higher target sdk.
Cache last readable savestate path in hostfs::getSavestatePath(). All
content folders are scanned when not found, which is very slow with ASS
2024-06-13 15:36:29 +02:00
Flyinghead
9b4667cb38
windows: less log when Storage::getFileInfo fails
2024-06-12 11:08:24 +02:00
Flyinghead
ec3ad9b328
sh4: use double for fipr and ftrv. divide before sqrt for fsrra. ssa fix
...
dynarec: use double to implement fipr and ftrv except on arm32
interpreter: always use double for fipr and ftrv
fsrra: perform division before square root
fmac: use std::fma or native fma op
get rid of unused dynarec op shop_swap
ssa: dead register pass must assume interpreter fallback modifies all
registers
ssa: replace reg+0 address by reg in constant propagation pass
decoder: replace address offset 0 by null param for indexed mem access
2024-06-12 10:54:15 +02:00
Flyinghead
ca613db70d
ui: better pause menu dpad nav. minor ui fixes
...
Tweak imgui nav algorithm to improve pause menu nav with dpad.
Imgui widgets name conflicts on network settings tab
2024-06-11 17:31:36 +02:00
Flyinghead
9fd48e7de3
wrong id for capcom vs snk millenium fight 2000 PRO (cvsgd)
2024-06-11 16:49:21 +02:00
Flyinghead
1277a8ff13
fix auto savestate
...
Automatic save state when unloading the game stopped working
Regression introduced by 6f0581032b
2024-06-11 16:44:42 +02:00
Flyinghead
8adec3f20b
achievements: crash when unloading a game with active async task
...
Async tasks may reference the active game and will crash if it's been
unloaded/freed.
Fixes MINIDUMP-38H
2024-06-11 16:38:30 +02:00
scribam
9aa7371d82
deps: update imgui to version 1.90.8
2024-06-09 15:39:10 +02:00
scribam
0bf1877d96
cmake: use fallback git values
2024-06-09 15:38:39 +02:00
Flyinghead
4cd6278104
rend: force palette update when setting dx order. extra depth for cvs
...
Force palette update when changing directx color order.
Add 10k extra depth scale to Capcom vs SNK 2000 Pro and cvs.zip to fix
winner character portraits not appearing during ending.
Issue #1546
2024-06-08 16:43:52 +02:00
github-actions[bot]
14b8d4e915
Fetch translations & Recreate libretro_core_options_intl.h
2024-06-07 22:20:06 +00:00
sandboxgamedev123
ddb012bbd2
Add a 32-bit AppImage Script for Linux ( #1539 )
2024-06-05 15:54:41 +02:00
Flyinghead
bfe09667f4
disable native depth interp for mortal kombat. force JP for vonot
...
Revert (again) forcing native depth interp for AMD gpus
Disable native depth interpolation for Mortal Kombat
Issue #1145
Force Japanese bios for vonot
Issue #1542
2024-06-05 15:53:08 +02:00
Flyinghead
4e3d1caf3f
input: temporary logging for failed haptic effects
2024-06-04 13:27:26 +02:00
Flyinghead
6777aa39cb
ui: disable dx9 selection if a naomi 2 game is running
...
Issue #1448
2024-06-03 19:25:22 +02:00
Flyinghead
9bdaa6c40b
naomi: drop support for gdi. default to first bios region found
...
Use the first BIOS region found if the requested one can't be located.
2024-06-03 19:08:19 +02:00
Flyinghead
021249c321
update screenshots (flatpak, AltStore)
2024-06-02 17:33:47 +02:00
Flyinghead
e7a4e64a6b
android: fix imgui crash when editing virtual gamepad layout
...
Happens with openGL
Fixes MINIDUMP-374
2024-06-02 17:28:55 +02:00
scribam
b840a4f477
windows: fix unit tests
2024-06-01 19:05:23 +02:00
Flyinghead
bad55204f2
android: rename packages and activities
2024-06-01 19:03:58 +02:00
Edward Li
70fe47dacf
Pretty print for Xcode 15 console
2024-06-01 11:13:24 +02:00
Edward Li
24e579ed99
Fix macOS debug build crash by providing a non empty ID (for the root of a window)
2024-06-01 11:13:24 +02:00
Flyinghead
8ddbe9212a
Merge remote-tracking branch 'origin/master' into dev
2024-06-01 11:06:45 +02:00
Flyinghead
adeba60ba9
input: ffb support for arcade games. rumble support (f355, 18wheeler)
...
SDL force feedback for racing wheels.
Support for jvs ffb (f355, 18wheeler), atomiswave (maxspeed, ftspeed)
and midi ffb (initd, clubk, kingrt66, sgdrvsim).
Simple haptic rumble for f355 and 18wheeler.
2024-06-01 11:03:14 +02:00
scribam
95de83431b
uwp: fix http ContentLength assignment
2024-05-31 17:34:31 +02:00
scribam
112e05ed5d
libzip: enable zstd
2024-05-31 17:34:01 +02:00
Blackbird88
90896368b8
Cheats: Sega GT (USA) - Widescreen cheat
2024-05-27 10:03:55 +02:00
Relwi
ce46d1a383
Update README.md
...
Remove an unnecessary backtick
2024-05-27 10:03:24 +02:00
Flyinghead
c1abadb6cd
achievements: race condition. pause management. imgui fixes
...
Race condition when promise is deleted before the future is created
(login)
Require username and password before login.
Disallow pause in hardcore mode when needed.
imgui: fix some failing assertions
Issue #761
Fixes MINIDUMP-35Y, MINIDUMP-34A, MINIDUMP-35K, MINIDUMP-34Y
2024-05-27 10:02:43 +02:00
github-actions[bot]
e85fa82101
Fetch translations & Recreate libretro_core_options_intl.h
2024-05-24 22:19:56 +00:00
Flyinghead
0a0d30309b
achievements: run all http requests on a background thread
...
Fixes freeze when unlocking cheevos and other events.
Issue #761
2024-05-24 18:00:28 +02:00
Eric Warmenhoven
30e5466d90
libretro build fix on apple
2024-05-24 08:28:44 +02:00
Blackbird88
48dfab7397
Cheats: Faster Than Speed (Atomiswave) - Widescreen cheat
2024-05-24 08:28:11 +02:00
Flyinghead
4747252187
Merge remote-tracking branch 'origin/dev'
2024-05-23 10:40:57 +02:00
scribam
a5608f4f22
android: update project
...
- Upgrade AGP dependency from 8.3.0 to 8.4.1
- Upgrade Gradle version to 8.6
- Use version catalogs
2024-05-22 16:16:07 +02:00
scribam
20652516e7
deps: update sdl to version 2.30.3
2024-05-22 16:15:40 +02:00
scribam
f05e5f3582
deps: update libchdr
2024-05-22 16:15:40 +02:00
scribam
72e892a77e
deps: update imgui to version 1.90.6
2024-05-22 16:15:40 +02:00
scribam
0fa3e9a37b
cmake: better version conversion for uwp
2024-05-21 10:59:10 +02:00
Flyinghead
1256680a99
lr: Delay Frame Swapping should be enabled by default
2024-05-21 10:45:50 +02:00
Flyinghead
81bebdb900
cheats: fix floigan bros (pal) cheat
...
this cheat shouldn't be used for the ntsc version.
2024-05-21 10:41:21 +02:00
Flyinghead
6cc64c18dd
network: add ports for dee dee planet, floigan bros, IGP and tetris
2024-05-21 10:40:01 +02:00
scribam
6b18ad7e3e
cmake: better version conversion for uwp
2024-05-18 13:15:12 +02:00
Edward Li
2797cca5ff
Always use BSD sed
2024-05-18 12:37:10 +02:00
Flyinghead
b7a2e605f9
dx11: use ALLOW_TEARING flag to disable vsync if available
2024-05-18 12:36:29 +02:00
Flyinghead
ec82c7b9ed
gl: only display crosshairs when needed
...
regression due to 4f834610b3
2024-05-18 12:11:08 +02:00
github-actions[bot]
88f23958ac
Fetch translations & Recreate libretro_core_options_intl.h
2024-05-17 22:19:56 +00:00
Flyinghead
4f834610b3
gl: refactor vmu and xhair drawing. Blit rendered frame only once
...
Refactor vmu and xhair drawing to use the same code as libretro.
Fix an issue were each rendered frame was blit twice to the backbuffer.
2024-05-17 17:37:32 +02:00
Flyinghead
e2e9a54e0e
std::swap is undefined for vector<bool>
2024-05-15 14:20:13 +02:00
Flyinghead
cc56b0fbae
vk: multi render support
...
Fixes Quake III split screen vs. and MSR rear view mirror.
Issue #1511
2024-05-15 14:01:58 +02:00
Flyinghead
5755c5b3c6
fix compile warning
2024-05-15 12:33:06 +02:00
Flyinghead
34216f77af
naomi: fix marstv freeze
...
Force JP BIOS version D for this game.
Issue #1508
2024-05-15 11:55:06 +02:00
Flyinghead
21c77adc4d
os_notify
2024-05-14 22:43:55 +02:00
Flyinghead
35acb7e62c
ui: load savestate thumbnails asynchronously. limit thumbnail size
...
GetLastFrame can take max width or height.
Limit width of savestate screenshot to 640.
Load savestate thumbnail in async task.
2024-05-14 14:23:40 +02:00
Flyinghead
b5f49d6c3a
ios build fix
2024-05-13 16:27:31 +02:00
Flyinghead
de403a6203
switch, uwp, libretro build fixes
2024-05-13 16:12:32 +02:00
Flyinghead
6f0581032b
save screenshot. add screenshot to savestates
...
Retrieve last frame rgb data (gl, vk, dx9, dx11).
Specific save screenshot code for android, iOS and UWP.
Add Save Screenshot emu key (F12 by default)
vk: defer deletion of in-flight textures when texture cache is cleared.
vk: fix issue when updating imgui textures after a render pass has begun
(achievements)
vk: palette texture not updated after a state has been loaded.
gl: Move opengl-specific stuff into opengl imgui driver.
savestate: Add non compressed header, following by screenshot png data,
before actual savestate.
Issue #842
2024-05-13 15:47:34 +02:00
Blackbird88
f13d7ad2dc
Cheats: Tokyo Xtreme Racer 1 (USA) - Widescreen cheat
2024-05-11 17:06:31 +02:00
github-actions[bot]
90b06a688b
Fetch translations & Recreate libretro_core_options_intl.h
2024-05-10 22:19:57 +00:00
Blackbird
1b6b61d253
Cheats: Tokyo Xtreme Racer 2 fix
...
Fixes broken cheat
2024-05-10 11:40:58 +02:00
Flyinghead
83493cc14b
achievements: fix size of multiple challenge indicators popup
...
Issue #761
2024-05-09 18:26:28 +02:00
Flyinghead
9bf60dde3c
ui: bug fixes. cheats window changes
...
Fix boxart list navigation with DPad (regression).
Get rid of several bogus PopStyleVar/PopID.
Better navigation of pause menu buttons.
imgui: tweak NavScoreItem to help pause menu nav.
Allow achievement list navigation with DPad.
Open cheats window fullscreen. Open Add Cheat window as a modal popup.
Add game_scanner.cpp
2024-05-09 10:21:56 +02:00
Flyinghead
24954ec599
work around mingw-w64 init crash
...
commit https://sourceforge.net/p/mingw-w64/mingw-w64/ci/7b33798917a50cf023f1622eee8eba6d7874b796/
introduces a static initialization order fiasco if a static object is
calling clock_gettime() in its constructor.
2024-05-09 10:19:33 +02:00
Flyinghead
c53a1c42c6
work around mingw-w64 init crash
...
commit https://sourceforge.net/p/mingw-w64/mingw-w64/ci/7b33798917a50cf023f1622eee8eba6d7874b796/
introduces a static initialization order fiasco if a static object is
calling clock_gettime() in its constructor.
2024-05-07 22:33:46 +02:00
Flyinghead
13302b87c8
move ui to its own folder
2024-05-07 22:23:51 +02:00
Flyinghead
f76d05a3d5
achievements: leaderboard notifications. detailed toast message
...
Draw achievement notifications using imgui drawlist api
Fixes for insets
Issue #761
2024-05-07 17:50:36 +02:00
Flyinghead
763d9ce06a
ui: split display_settings
2024-05-06 22:26:09 +02:00
Flyinghead
6ab43096a2
ui: use uiScaled()
2024-05-06 21:54:55 +02:00
Flyinghead
ceec01ac2e
ui: use imgui for vmu on pause menu. toast notifications
...
Allow nearest sampling with imgui textures (vmu, crosshair)
Use raii for styles and colors
2024-05-06 21:31:04 +02:00
Flyinghead
7327e52e71
ui: crash when loading asian fonts on windows
...
FontNo must be reset to 0 for Font Awesome.
Issue #1503
Fixes MINIDUMP-314
2024-05-06 14:45:28 +02:00
Flyinghead
f04e9d4a65
achievements: better game load message when no achievements
...
Issue #761
2024-05-06 14:35:00 +02:00
Flyinghead
c386f64faa
macos: bump minimum macOS version to 10.11 to avoid build error
2024-05-05 16:06:57 +02:00
Flyinghead
ff33ff2b88
ui: change pause menu layout. add icons here and there
...
Always display savestate absolute date.
2024-05-05 16:02:37 +02:00
Edward Li
17db07703e
Use Xcode 15.3
2024-05-04 20:53:24 +02:00
Flyinghead
75f64efe93
fix buymeacoffee 'username'
2024-05-04 20:35:11 +02:00
Flyinghead
ab8b4f0e54
buymeacoffee funding
...
stricter deserialize verify for broadcast/cable/region
2024-05-04 20:33:37 +02:00
Flyinghead
43ba8953a2
vk: don't delete the ImGui driver when recreating the swap chain
...
It might be drawing at this point so just reset it.
2024-05-04 19:24:02 +02:00
Flyinghead
6de2f160a1
achievements: hardcore mode
2024-05-04 17:38:42 +02:00
flyinghead
ccc9931de8
achievements: fix crash when loading image cache
...
Fixes MINIDUMP-312, MINIDUMP-313
Issue #761
2024-05-04 13:51:59 +02:00
github-actions[bot]
0517a4600c
Fetch translations & Recreate libretro_core_options_intl.h
2024-05-03 22:19:41 +00:00
Flyinghead
fe17d459a5
ui: achievements list, new pause menu
...
Fix threading issue when hashing disk for RA. Protect cacheMap with
mutex.
Achievement current challenges displayed as small icons.
Embed FontAwesome symbols.
New pause menu.
Issue #761
2024-05-03 20:09:31 +02:00
Edward Li
2d4684a462
Use Xcode 15.3
2024-05-01 18:33:17 +02:00
Flyinghead
300cf0d437
better RetroAchievements UI and threading
...
Pop ups for authentication, game load, game completed, achievements
unlock and progress.
Handle disk changes.
Issue #761
2024-05-01 18:32:39 +02:00
Flyinghead
c96e828c63
move http_client to oslib
2024-04-29 16:17:50 +02:00
Flyinghead
4666ea2fdb
macos: bump minimum macOS version to 10.11 to avoid build error
2024-04-29 15:31:21 +02:00
Flyinghead
8f5f2caae6
Merge remote-tracking branch 'origin/master' into dev
2024-04-29 15:27:23 +02:00
Flyinghead
8fdd1dde3d
RetroAchievements support
...
MVP
Issue #761
2024-04-29 14:59:47 +02:00
github-actions[bot]
8e96590065
Fetch translations & Recreate libretro_core_options_intl.h
2024-04-26 22:20:05 +00:00
Flyinghead
d46b181084
ui: fix cosmetic issues
...
Limit Filter fields width to what's available. Issue #1488
Avoid bouncing loop when scrollbar appearance and responsive boxart size
work against each other. Issue #1489
2024-04-25 12:57:34 +02:00
scribam
e46815d070
ci: update netbsd and openbsd versions
2024-04-20 09:16:36 +02:00
github-actions[bot]
3c38fc1f16
Fetch translations & Recreate libretro_core_options_intl.h
2024-04-19 22:19:34 +00:00
Díaz Urbaneja Víctor Diego Alejandro (Sodomon)
47b6a90bec
Update README.md
...
edited build instructions
2024-04-18 09:10:50 +02:00
Flyinghead
de6a43bd21
savestate: drop support for legacy libretro and <v16 savestates
2024-04-16 09:40:55 +02:00
github-actions[bot]
7438094d7c
Fetch translations & Recreate libretro_core_options_intl.h
2024-04-12 22:19:05 +00:00
Flyinghead
336706e728
move most os_* funcs to oslib
...
add os_DestroyWindow and os_UpdateInputState
2024-04-12 17:37:45 +02:00
C.W. Betts
8f486e71cb
Update types.h
...
Use angle brackets for including pthread.h
2024-04-12 09:24:10 +02:00
Flyinghead
b378161837
lr: switch build fix
2024-04-11 18:50:49 +02:00
Flyinghead
a136583189
drop dispmanx support. move switch main() to its own file
...
Dispmanx support is provided by SDL
Enable omx audio and set TARGET_VIDEOCORE when building for RPi3
2024-04-11 16:27:28 +02:00
Flyinghead
06a6e26588
get rid of os_GetSeconds()
...
replace it with std::chrono-based getTimeMs()
2024-04-11 15:25:25 +02:00
Flyinghead
5541d34a9e
lr win32 build fix
2024-04-10 18:10:21 +02:00
Flyinghead
108c8a4b5d
vk: move macOS video routing code from context to renderer
2024-04-10 17:31:23 +02:00
Flyinghead
9e916ca1c9
minor input and lua fixes
...
Make macOS keyboard class with haptic code
Call SDL_JoystickSetPlayerIndex using maple port
Add Network event for LUA
Set proper controller unique id on iOS
rumblePower wasn't copied over new mappings.
2024-04-10 17:24:47 +02:00
Flyinghead
42e98e86d0
set thread names
...
Name all threads to help debugging and improve crash reports (windows
only)
Add ^C handler for clean exit on linux
2024-04-10 17:08:24 +02:00
Flyinghead
010fba15a8
macOS build fix
2024-04-08 21:26:18 +02:00
Flyinghead
bf249061cf
thegamedb: ignore common disk ids T0000 and T0000M
...
These are default disk ids and shouldn't be used to identify media
2024-04-08 19:09:14 +02:00
Flyinghead
24db1422b8
ui: rearrange Settings > Video screen
...
Issue #665
2024-04-08 19:07:44 +02:00
Flyinghead
da6c34b2fd
android workflow: fetch submodules recursively (for libadrenotools)
2024-04-07 12:34:34 +02:00
Flyinghead
a6c4530e22
vulkan: allow custom GPU driver loading with libadrenotools
...
Issue #1471
2024-04-07 12:27:54 +02:00
Flyinghead
e8340bfa5e
maple: implement AllStatusReq for controller and VMU
2024-04-07 11:47:42 +02:00
Flyinghead
eaa22a49d1
msvc build fix
2024-04-06 19:07:27 +02:00
Flyinghead
4f87a3556e
Fix vmu beep frequency
2024-04-06 17:43:19 +02:00
Flyinghead
41d418ed25
bump libchdr to match master
2024-04-06 17:21:27 +02:00
github-actions[bot]
9d6eab74e1
Fetch translations & Recreate libretro_core_options_intl.h
2024-04-05 22:20:01 +00:00
scribam
a0c81d2f2a
deps: update sdl to version 2.30.2
2024-04-03 10:50:17 +02:00
flyinghead
d6efbc513c
win: fix dump textures and box art saves when path contains non-ascii
...
Texture dumping and local boxart scraper were failing on windows if
image path contains non-ascii chars. nonwide::fopen must be used.
2024-04-03 10:49:40 +02:00
github-actions[bot]
ed78eb4d50
Fetch translations & Recreate libretro_core_options_intl.h
2024-03-29 22:19:29 +00:00
Flyinghead
236b747db8
gl: fix GLES2 build
...
Issue #1470
2024-03-28 17:48:39 +01:00
Flyinghead
c9fafa0ed1
widescreen cheats for Surf Rocket Racers (US) and Love & Berry 1 and 3
...
Courtesy of Goddamn Superhero
2024-03-26 18:43:38 +01:00
Flyinghead
4bd8866164
libretro: don't load overridden settings from frontend
...
Fixes game specific overrides being ignored.
2024-03-26 18:40:48 +01:00
Flyinghead
f346bcd68b
elf: only load PT_LOAD sections
2024-03-24 10:16:02 +01:00
github-actions[bot]
187991d71f
Fetch translations & Recreate libretro_core_options_intl.h
2024-03-22 22:19:19 +00:00
Alexandre Bouvier
40cdef6c1c
cmake: allow system glslang library
2024-03-19 14:16:10 +01:00
Bobby Smith
8252a28e48
[Libretro] Check for per-pixel compatibility and hide the option if not supported
2024-03-17 17:55:23 +01:00
Flyinghead
c7ee42f0ba
ios: don't use glad
...
Fixes crash at start up on iOS.
Issue #1461
2024-03-17 17:54:37 +01:00
Flyinghead
e27b5dc1aa
Merge remote-tracking branch 'origin/master' into dev
2024-03-16 19:40:48 +01:00
github-actions[bot]
966ff3767d
Fetch translations & Recreate libretro_core_options_intl.h
2024-03-15 22:19:31 +00:00
Flyinghead
056a02357d
Cardcaptor Sakura widescreen cheat
2024-03-14 13:22:44 +01:00
Flyinghead
6115a918b2
arm dynarec: apply mask to mem write8 and write16 value operand
...
Compilers do not cast the operand, which results in u8 handlers being
called with an u32 value.
2024-03-14 13:21:10 +01:00
Flyinghead
3ffb09ec72
gl: fully recreate opengl texture when loading a custom one
...
Regenerate texID and call glTexStorage2D when loading a custom texture
(GL 4.2+, GLES3).
rend: missing old_vqtexture_hash in move constructor.
2024-03-14 12:56:11 +01:00
Flyinghead
de89d8cfed
rend: fix Space Harrier arcade in Shenmue
...
Use the original tex dimensions and make sure they never change between
updates.
2024-03-12 14:56:13 +01:00
Flyinghead
c7d6525c51
force PAL for MTV Sports - Skateboarding (EU)
2024-03-12 14:37:38 +01:00
Flyinghead
5ce1f92e5c
naomi: allow mapping of left & right trigger 2
...
Makes rear brake usable in wild riders
Issue #1450
2024-03-12 14:36:38 +01:00
Flyinghead
464defe0d7
don't force Native Depth Interpolation for AMD GPUs
...
Some AMD GPUs have issues with this option enabled so let the user
decide.
partial revert of 9f9b29b833 and
cab19ad54b .
Issue #1445
Add BSD CI badge to README
2024-03-10 14:17:21 +01:00
github-actions[bot]
d323490d1f
Fetch translations & Recreate libretro_core_options_intl.h
2024-03-08 22:20:07 +00:00
scribam
d8c15de030
deps: update sdl to version 2.30.1
2024-03-07 15:01:59 +01:00
Flyinghead
b55054249f
ui: file dropping can start multiple games at once
...
Happens on macOS, linux and likely others.
Fixes MINIDUMP-2N4
2024-03-07 15:01:28 +01:00
Flyinghead
0aa8910742
ui: update gamepad settings for both console and arcade profiles
2024-03-06 16:53:43 +01:00
Flyinghead
43bb7c83f7
hide P3 and P4 light gun crosshairs for arcade games
2024-03-06 16:42:43 +01:00
Flyinghead
391da7023f
sh4: fix SCIF serialization
...
Fixes MINIDUMP-2M0
Add some diag logging to win_vmem
2024-03-04 17:02:42 +01:00
Flyinghead
b0a268b89e
richer discord presence using boxart from thegamesdb
2024-03-03 16:03:22 +01:00
scribam
960b8134c1
ci: update mathieu-bour/setup-sentry-cli action
2024-03-02 18:37:52 +01:00
scribam
5a51749daa
libretro: fix translation
2024-03-02 18:37:20 +01:00
scribam
d2dc60ec00
android: update android gradle plugin to version 8.3.0
2024-03-02 18:36:54 +01:00
github-actions[bot]
33bcf4443f
Fetch translations & Recreate libretro_core_options_intl.h
2024-03-01 22:19:09 +00:00
Flyinghead
62d00578af
fix compile warnings
2024-03-01 12:58:53 +01:00
Flyinghead
dac5c008ab
Discord Presence support
...
Issue #1289
2024-03-01 12:34:49 +01:00
Flyinghead
588035d9eb
set currently played game name in the window title
...
Issue #28
2024-03-01 12:00:24 +01:00
Bobby Smith
f63a82afc4
Update libchdr
2024-02-29 19:58:39 +01:00
Flyinghead
c052822fd4
jojo's bizarre adventure (US) requires NTSC
2024-02-29 16:45:14 +01:00
Flyinghead
2846b3002b
rawinput: append device id to device name
...
Append device id to friendly name to distinguish between generic
HID-compliant devices.
Issue #664
Issue #835
Better UI for device tables using new imgui table API.
2024-02-29 16:43:53 +01:00
Flyinghead
19a240503d
minor clean up
2024-02-29 16:26:49 +01:00
Flyinghead
c9d3096e41
android: hid barcode scanner support
2024-02-27 17:39:51 +01:00
Flyinghead
d6ae47d0f7
fix FreeBSD x64 segfault context
...
Issue #1401
2024-02-27 17:39:51 +01:00
Flyinghead
40a7c08d14
isofs: fix long directory listing
...
Directory entries can't cross a sector boundary, so reading must
continue on the next one.
Add list() method
2024-02-27 17:39:51 +01:00
Flyinghead
6f8a588794
bump depth scale for NHL 2K2
...
Fixes helmet rendering in team selection menu
Issue #1416
2024-02-27 17:39:51 +01:00
Flyinghead
156aafe95b
sh4: fix P4 region mapping and on chip ram addressing
...
P4 region is normally mapped outside of the sq and system registers
areas (E4-EF, F8-FE).
Fixes NHL 2K2 missing helmet and jersey textures. Issue #1416
Fixes invalid geometry in worldkicks series (using interpreter or 4 GB
vmem space)
Fix On Chip RAM addressing: bit 13 or 25 is used to select the bank.
2024-02-27 17:39:51 +01:00
scribam
1017d3eb95
deps: sync imgui_impl_vulkan.cpp with upstream
2024-02-27 17:39:51 +01:00
scribam
3059b43121
deps: update imgui to version 1.90.4
2024-02-27 17:39:51 +01:00
Flyinghead
93789e2a63
sdl: support multiple mice when allowed by the platform
2024-02-27 17:39:51 +01:00
Flyinghead
6639d6b167
naomi: fix shaktam inputs
...
Issue #1420
2024-02-27 17:39:51 +01:00
scribam
daef33cea5
cmake: improved parallelism in msbuild
2024-02-27 17:39:51 +01:00
scribam
a7c89701fe
ci: use cross-platform-actions/action to build on bsd systems
2024-02-27 17:39:51 +01:00
scribam
9a119e7646
bsd: update segfault context for arm64
2024-02-27 17:39:51 +01:00
scribam
c8462e1f78
deps: update imgui to version 1.90.3
2024-02-27 17:39:51 +01:00
scribam
50944772b7
linux: use egl with x11 instead of glx
2024-02-27 17:39:51 +01:00
scribam
952a785bf0
deps: update libchdr
2024-02-27 17:39:51 +01:00
scribam
f9eed1ed3f
deps: update libzip to version 1.10.1
2024-02-27 17:39:51 +01:00
scribam
b7df183c7c
ci: use latest devkitpro docker image
2024-02-27 17:39:51 +01:00
Flyinghead
13edf858e3
init drive when running .elf. Skip special settings for BIOS and .elf.
2024-02-27 17:39:51 +01:00
Flyinghead
d45de9e8a9
gladLoader: check return code and log. cheats: light refactoring
2024-02-27 17:39:51 +01:00
Flyinghead
81cbf45bdb
samsptk: use cheat instead of extra depth scale
...
Use a cheat to fix the game bug instead of dealing with ginormous depth
values.
2024-02-27 17:39:51 +01:00
Flyinghead
d340b620c3
gdrom: delay "no disk" reporting to let the BIOS play the boot animation
...
Thanks to kihato for the prototype code.
Issue #587
2024-02-27 17:39:51 +01:00
Flyinghead
443d5a2ba6
pvr: apply a negative bias to background plane depth
...
Fixes skybox in Xtreme Sports. Issue #1381
Fixes background clipping in Blue Stinger (JP) intro. Issue #721
Fixes Windows CE yuv FMV black screen (4x4 EVO, Armada, Carsear's
Palace, Giant Killers, PBA bowling, Starlancer, Tomr Raider, Wild Metal,
Who wants to beat up...)
Get rid of ForceWindowsCE option
Force PAL for Super Runabout (EU)
2024-02-27 17:39:51 +01:00
Flyinghead
894a38fb71
ui: replace Exit by Close Game. Better format for some UI values.
...
Issue #1383
2024-02-27 17:39:51 +01:00
Flyinghead
aea37b3bd8
gdrom: set correct lead-out FAD of single-density area
...
Use end FAD +1 of track 2 as start of lead-out for single density area.
gdi: set track end FAD based on track size, not start of next track
chd: ignore pad frames when calculating end FAD
cdi: end FAD was one off
Issue #1386
2024-02-27 17:39:51 +01:00
Flyinghead
b5eecb79b8
android: hid barcode scanner support
2024-02-26 16:27:18 +01:00
Flyinghead
f629c352e1
fix FreeBSD x64 segfault context
...
Issue #1401
2024-02-26 11:27:03 +01:00
Flyinghead
ff91d1101a
isofs: fix long directory listing
...
Directory entries can't cross a sector boundary, so reading must
continue on the next one.
Add list() method
2024-02-25 15:59:22 +01:00
Flyinghead
4f1512d369
bump depth scale for NHL 2K2
...
Fixes helmet rendering in team selection menu
Issue #1416
2024-02-25 14:40:37 +01:00
Flyinghead
2dde1d5e7b
sh4: fix P4 region mapping and on chip ram addressing
...
P4 region is normally mapped outside of the sq and system registers
areas (E4-EF, F8-FE).
Fixes NHL 2K2 missing helmet and jersey textures. Issue #1416
Fixes invalid geometry in worldkicks series (using interpreter or 4 GB
vmem space)
Fix On Chip RAM addressing: bit 13 or 25 is used to select the bank.
2024-02-25 14:37:27 +01:00
scribam
3c8769cb5c
deps: sync imgui_impl_vulkan.cpp with upstream
2024-02-24 22:08:40 +01:00
scribam
ba12c01ab8
deps: update imgui to version 1.90.4
2024-02-24 22:08:40 +01:00
Flyinghead
713739bbc7
sdl: support multiple mice when allowed by the platform
2024-02-24 21:33:40 +01:00
Flyinghead
4667d17d78
naomi: fix shaktam inputs
...
Issue #1420
2024-02-24 19:42:41 +01:00
github-actions[bot]
bc51aefa9c
Fetch translations & Recreate libretro_core_options_intl.h
2024-02-23 22:19:36 +00:00
Immersion95
67c4e62c51
Adds option to enable/disable "Fix Upscale Bleeding Edge"
...
Helps with texture bleeding case when upscaling. Disabling it can help if pixels are warping when upscaling in 2D games (MVC2, CVS, KOF, etc.)
2024-02-22 11:30:26 +01:00
scribam
b71541f8dd
cmake: improved parallelism in msbuild
2024-02-22 09:21:34 +01:00
scribam
56cad843c9
ci: use cross-platform-actions/action to build on bsd systems
2024-02-21 08:46:27 +01:00
scribam
1b0781c680
bsd: update segfault context for arm64
2024-02-21 08:46:27 +01:00
scribam
0c5e79d618
deps: update imgui to version 1.90.3
2024-02-17 17:40:22 +01:00
scribam
5c8d7021f6
linux: use egl with x11 instead of glx
2024-02-17 17:38:39 +01:00
scribam
8d2bcdf35e
deps: update libchdr
2024-02-17 17:37:32 +01:00
scribam
eb2826f6d3
deps: update libzip to version 1.10.1
2024-02-15 10:00:56 +01:00
scribam
6cb929953c
ci: use latest devkitpro docker image
2024-02-10 12:41:51 +01:00
Flyinghead
232924d88a
init drive when running .elf. Skip special settings for BIOS and .elf.
2024-02-10 12:41:17 +01:00
Flyinghead
90b13a40ab
gladLoader: check return code and log. cheats: light refactoring
2024-02-10 12:06:48 +01:00
Flyinghead
a50f5765da
Merge remote-tracking branch 'origin/master' into dev
2024-02-10 11:58:39 +01:00
github-actions[bot]
44fa364f36
Fetch translations & Recreate libretro_core_options_intl.h
2024-02-09 22:19:47 +00:00
Flyinghead
7029e1615a
systemsp: lovebery needs Copy to VRAM. Allow space in card codes.
...
Enable Copy to VRAM for lovebery and lovebero.
Allow space characters in card codes.
Issue #1388
Force HLE BIOS for Suika.
Issue #1278
2024-02-09 13:05:38 +01:00
Flyinghead
3469b7fca7
gl: use red for single channel textures instead of alpha on GLES3
...
Only GLES2 needs to use the alpha channel. glTexStorage2D only supports
red.
Issue #1391
2024-02-09 12:59:50 +01:00
Flyinghead
434083c716
samsptk: use cheat instead of extra depth scale
...
Use a cheat to fix the game bug instead of dealing with ginormous depth
values.
2024-02-07 19:41:03 +01:00
Flyinghead
d9d91381b5
gdrom: delay "no disk" reporting to let the BIOS play the boot animation
...
Thanks to kihato for the prototype code.
Issue #587
2024-02-07 16:11:25 +01:00
Flyinghead
531c6f94d5
pvr: apply a negative bias to background plane depth
...
Fixes skybox in Xtreme Sports. Issue #1381
Fixes background clipping in Blue Stinger (JP) intro. Issue #721
Fixes Windows CE yuv FMV black screen (4x4 EVO, Armada, Carsear's
Palace, Giant Killers, PBA bowling, Starlancer, Tomr Raider, Wild Metal,
Who wants to beat up...)
Get rid of ForceWindowsCE option
Force PAL for Super Runabout (EU)
2024-02-07 16:02:55 +01:00
Flyinghead
9aa9b5bebc
ui: replace Exit by Close Game. Better format for some UI values.
...
Issue #1383
2024-02-07 11:05:09 +01:00
Flyinghead
e592650afc
gdrom: set correct lead-out FAD of single-density area
...
Use end FAD +1 of track 2 as start of lead-out for single density area.
gdi: set track end FAD based on track size, not start of next track
chd: ignore pad frames when calculating end FAD
cdi: end FAD was one off
Issue #1386
2024-02-06 11:07:20 +01:00
flyinghead
c146a92f83
Merge pull request #1379 from flyinghead/dev
...
merge dev branch
2024-02-03 18:25:15 +01:00
dakrk
d4fa3c441e
cheats: fix parsing cheat codes on some platforms
...
using strtol here instead of strtoul when cheat code values are expected to be unsigned and are above 7fffffff breaks on platforms like Windows where long is 32-bit even on 64-bit platforms, capping out at 2147483647 and causing some cheat codes to break.
2024-02-03 18:19:40 +01:00
scribam
47eeab9985
switch: lock devkipro docker image to known good version
2024-02-03 16:28:57 +01:00
scribam
be8c559b2f
deps: update sdl to version 2.30.0
...
vcpkg is no longer required to build sdl for uwp
2024-02-03 16:28:57 +01:00
scribam
51d25bb49b
android: update android gradle plugin to version 8.2.2
2024-02-03 16:28:57 +01:00
github-actions[bot]
6d69598800
Fetch translations & Recreate libretro_core_options_intl.h
2024-02-02 22:19:10 +00:00
Flyinghead
36684bf82c
vk: share shader code between regular and oit renderers
2024-02-01 18:19:03 +01:00
Flyinghead
cdaaeb5b27
naomi: printer fixes
...
Fix create bitmap DC2 sequence: 4 bytes then data.
Record msb mode at time of image definition as it might change before
the image is printed.
ntvmys uses 64-pixel wide custom characters.
Custom chars must use current bitmap msb setting.
Implement rule line dot fill and pattern fill.
Fixes most ntvmys print out issues.
Issue #1378
2024-02-01 18:15:34 +01:00
Flyinghead
4220c0d64f
naomi: reset destination ram if dma xfer from invalid rom offset
...
Reset destination area to 0 if attempting a dma xfer from an invalid rom
offset. Also update SB_GDSTARD and SB_GDLEND in this case.
Fixes texture corruption in ntvmys.
Issue #1378
2024-02-01 17:51:25 +01:00
Flyinghead
e286f98f72
naomi: new rom ntvmys
2024-01-31 16:52:34 +01:00
Flyinghead
e714e94510
rend: do bilinear filtering of palette textures on the GPU
...
All renderers updated.
2024-01-31 16:46:25 +01:00
Flyinghead
8715e5a5e9
gl: use glTexStorage/glTexSubImage to update textures when available
2024-01-31 16:03:07 +01:00
Flyinghead
1153238e2c
sdl: (linux) fix window position at startup/recreation
...
Window decorations dimensions aren't taken into account on linux when
creating a window. So reposition it after it's shown.
2024-01-29 17:08:10 +01:00
Flyinghead
617d82f5a2
libretro: rename Purupuru to Vibration Pack
2024-01-29 11:29:52 +01:00
Flyinghead
471e0a7786
sdl: add timeout for barcode scanner to recover from incomplete reads
...
Reset barcode buffer after 0.5 s. Allows to recover from a failed read
or the user pressing '*'.
2024-01-29 11:25:55 +01:00
Flyinghead
887e616f76
dx9: load d3d9.dll and d3dx9_??.dll dynamically
2024-01-29 11:15:30 +01:00
Flyinghead
aa2fa1f611
ui: rename Purupuru to Vibration Pack
2024-01-29 11:08:17 +01:00
Flyinghead
57c88e07c4
gl: even better test to detect the nouveau driver
...
Issue #1373
2024-01-29 10:51:48 +01:00
Flyinghead
593b3205bd
reios: fix GETSCD and GET_DRV_STAT status during disk swapping
...
GET_DRV_STAT returns BUSY when disk is being recognized.
GETSCD returns asc and ascq in result 1 on error, does not return unit
attention if drive is busy.
Fixes disk swapping for Shenmue II, Dancing Blade II and Kaen Seibo.
Fixes wrong drive visual in Golf Shiyouyo Course Data Syuu
Issue #1046
2024-01-28 16:00:46 +01:00
Flyinghead
ecce9157bd
maple: raise interrupt on vblank when maple bus is occupied
...
Raise a maple interrupt at the next vblank when the host occupies the
maple bus to read the lightgun position. Fixes RevolveR single shot
issue since the game is waiting for the interrupt.
Issue #1369
2024-01-28 15:21:40 +01:00
Flyinghead
b2d96d77d7
naomi: support hid barcode scanner. sdl: detect keyboard layout
...
sdl: Support for HID barcode scanners such as unitech MS146.
Automatically detect keyboard layout at start up.
2024-01-27 16:01:57 +01:00
github-actions[bot]
e1537ddbda
Fetch translations & Recreate libretro_core_options_intl.h
2024-01-26 22:19:34 +00:00
Flyinghead
4c7e57ebd6
gdrom: revert SPI_TEST_UNIT change
...
Fixes disk swapping for Alone in the Dark and Resident Evil: Code
Veronica (real BIOS)
Issue #1046
2024-01-26 19:49:01 +01:00
Flyinghead
116dc0e1ed
gdrom: don't rely on Status in libGDR_GetDiscType
...
Status is Busy when disk swapping is in progress so libGDR_GetDiscType
always returns NoDisk/Open. Rely on the scheduler instead so that the
correct type is returned when disk swapping is finished.
Issue #1046
Issue #189
2024-01-25 12:36:04 +01:00
Flyinghead
10d3ffdf09
jvs: fix crackin'dj inputs. serialize coin count
...
crackin'dj: map vertical mouse axis to right turntable. Invert fader.
Simulate turntable motor. Embed eeproms with calibration done.
Fix coin being inserted after loading a savestate.
2024-01-24 19:39:20 +01:00
Flyinghead
cbd01fba38
gdrom: fix disk swapping for some games
...
Add a 1 s delay when inserting a disk before the drive is ready.
Fixes disk swapping for Skies of Arcadia, Shenmue II (except HLE), Alone
in the Dark, Dancing Blade, First Kiss Story II and Kaen Seibo.
Issue #1046
Issue #189
Fixes BIOS menu disk swapping.
2024-01-24 18:35:23 +01:00
Flyinghead
88fd2641d9
pvr: allow blending for opaque polys of list continuations
...
Fixes Crackin'DJ invisible background animation and Monkey Ball grey map
background.
2024-01-23 19:20:40 +01:00
Flyinghead
70a69cf48d
switch: fastmem/vmem implementation
...
Only map first writable mirror due to switch limitation.
2024-01-22 15:18:49 +01:00
Flyinghead
f8d5517b8e
Disable overclocking for ggpo and online games. Always release vmem.
...
Disable over/underclocking when GGPO is enabled and when online
(modem/bba).
Always release the address space, which releases virtmem.
2024-01-22 09:46:51 +01:00
Flyinghead
16b2f59a47
ui: use flattened navigation where possible. fix sdl on-screen keyboard
...
Use flattened nav on file select, add cheat and controller mapping
windows and list boxes.
Don't show the SDL on-screen keyboard twice.
Use ImGuiChildFlags_Border instead of the legacy border parameter
(BeginChild)
2024-01-22 09:36:17 +01:00
Flyinghead
07d6ca6c84
gl: better test to detect the nouveau driver
...
GL_VENDOR=nouveau or GL_RENDERER=NVE4 (case insensitive)
Issue #1373
2024-01-22 09:18:17 +01:00
Flyinghead
c9c015976a
switch: tentative fix 2 of git security issue affecting version number
2024-01-20 19:39:22 +01:00
Flyinghead
2615cc13f1
Revert "switch: tentative fix of git security issue affecting version number"
...
This reverts commit 393c3dbfd9 .
2024-01-20 19:26:16 +01:00
scribam
599dc92d11
ci: use freebsd 14
2024-01-20 19:24:07 +01:00
scribam
e26302ef03
deps: update glad
2024-01-20 19:24:07 +01:00
scribam
fd3e74e224
ci: remove ninja-build as it is already installed in devkitpro image
2024-01-20 19:24:07 +01:00
scribam
5b5d7b01eb
ci: bump actions/cache and ad-m/github-push-action
2024-01-20 19:24:07 +01:00
scribam
f6b01aba0c
android: update android gradle plugin to version 8.2.1
2024-01-20 19:24:07 +01:00
Flyinghead
19bb4a6e5d
switch: implement rumble with native API
2024-01-20 19:23:09 +01:00
Flyinghead
bc70d9118d
ui: restore drag scrolling on controller mapping popup
...
regression introduced by 105ab95efa
2024-01-20 16:20:09 +01:00
Flyinghead
393c3dbfd9
switch: tentative fix of git security issue affecting version number
2024-01-20 16:14:18 +01:00
github-actions[bot]
8fd6fefda7
Fetch translations & Recreate libretro_core_options_intl.h
2024-01-19 22:19:50 +00:00
Flyinghead
a620a432c9
boxart: save database regularly when scraping
...
Issue #1117
2024-01-17 17:54:28 +01:00
Flyinghead
9e37d1e726
switch: restore x15 register when returning from the fault handler
...
Also restore NZCV and FPU registers.
Fixes crash/glitch with YUV converter.
Fixes SoA crash when rendering to a texture.
Issue #1312
2024-01-17 17:52:26 +01:00
Flyinghead
c1b087df83
arm64: notify compiler that x10 is used in setHostRoundingMode
...
Fixes a crash on switch in single-threaded mode in
setDefaultRoundingMode.
2024-01-17 10:08:44 +01:00
Flyinghead
2add951f70
switch build fix
2024-01-16 11:39:51 +01:00
Bobby Smith
070ac717d3
[Libretro] Add options to manage each expansion slot
2024-01-16 11:22:12 +01:00
Flyinghead
cfb7ff3054
switch: use latest devkitpro. touchscreen support. cleaner abort
...
Use latest devkitpro image.
Call diagAbortWithResult on fatal errors instead of freezing/infinite
loop.
Add Exit button on main content screen.
Touchscreen support.
2024-01-16 11:21:32 +01:00
scribam
e03c37b013
deps: update imgui to version v1.90.1
2024-01-13 14:58:33 +01:00
Flyinghead
0b0904cdc5
systemsp: hopper and medal game fixes
...
hopper: Limit coin sensors to 100 ms to avoid coin chute jam errors.
hopper: Use periodic sensor for hopper to avoid hopper jam errors.
Issue #1365
medal: wire inputs and emulator required sensors. Embed medal games
nvmem to disable comm and all errors.
magicpop, unomedal, puyomedal, ochaken and westdmrg now playable.
kingyoch rom parent is kingyo
2024-01-13 14:52:29 +01:00
github-actions[bot]
195f401044
Fetch translations & Recreate libretro_core_options_intl.h
2024-01-12 22:19:21 +00:00
flyinghead
552e5b7d7a
dx9,dx11: only draw lightgun crosshair when necessary
...
missing check for arcade games
Issue #1363
2024-01-11 22:20:21 +01:00
Flyinghead
2a48049216
systemsp: cart network hle. hopper emulation.
...
WIP emulation of cart network features.
Hopper emulation.
WIP medal emulation.
Playable games: kingyo, manpuku and shateki
2024-01-10 15:56:21 +01:00
Flyinghead
c001240797
move audio drivers to their own folder
2024-01-10 11:45:54 +01:00
github-actions[bot]
e7d0a5f2f9
Fetch translations & Recreate libretro_core_options_intl.h
2024-01-05 22:19:42 +00:00
Flyinghead
032cc17659
video routing fixes
...
dx11: terminate video routing in DX11Renderer::Term. Don't use
DX11Context.
dx11: avoid using local static vars
gl: don't send rendered frame when full FB is on
gl: send rendered framebuffer
gl: terminate video routing in termGLCommon. Don't use GLGraphicsContext
gl: avoid crash on quick exit during test automation
2024-01-05 12:46:39 +01:00
Flyinghead
c0c6f206bf
f355: fix win32 condition variable implementation
...
A race condition can happen on condition variables due to
unlock/wait/lock not being atomic. This results in the wrong process
being notified, causing a deadlock.
Happens more frequently in twin mode.
Issue #1361
2024-01-05 12:36:20 +01:00
scribam
6aa59c54a5
Minor misc changes ( #1360 )
...
* core: cleanup include headers
* dx11: remove unimplemented function
* core: annotate destructors with override
* aica: use range-based for loop
* bm: use const reference/structured bindings with blkmap
2024-01-02 14:38:16 +01:00
Flyinghead
9c964ac955
refactor embedded resource loading. Use for imgui font and android OSD
...
Generic embedded resource loading function
Zip bios and printer fonts
Add buttons.png and Roboto-Medium.ttf as embedded resources
2024-01-02 14:37:29 +01:00
Flyinghead
5734556440
naomi: crc32 for asndynmt[o]. Use vfnet.flyca.st domain for netdimm
2024-01-01 16:16:55 +01:00
Flyinghead
e76b76dcc4
vk: allow any size for buttons.png on android
2024-01-01 16:07:59 +01:00
Flyinghead
cab19ad54b
libretro: crash at boot when checking for GPU vendor
2024-01-01 16:06:25 +01:00
Flyinghead
a7702c622a
aica: don't disable channel when reaching full attenuation
...
Some games rely on the channel still being processed and CA/LP being
updated. Courtesy of @kihato
Issues #472 , #483 , #1180 , #1249 , #1030 (partial)
2023-12-31 12:02:42 +01:00
Flyinghead
9f9b29b833
rend: force Native Depth Interpolation for AMD gpus
2023-12-28 17:48:33 +01:00
Flyinghead
06529b63f7
gl: don't invert y when saving a test screenshot
2023-12-28 17:36:50 +01:00
Flyinghead
0d36154618
hle bios: wince games hang after IP.BIN
...
regression introduced by 41723a831f
2023-12-28 17:17:11 +01:00
Flyinghead
c7b6f22e10
naomi: limit rom dma delay to 1 sec
...
Fixes crash at boot with jambo safari.
Fix for MINIDUMP-293
2023-12-25 19:07:08 +01:00
Bobby Smith
d069b45bff
[Libretro] Adds some core options description + minor changes
2023-12-23 20:43:19 +01:00
github-actions[bot]
4a0ace5de2
Fetch translations & Recreate libretro_core_options_intl.h
2023-12-22 22:19:29 +00:00
Bobby Smith
57c2dcd961
[Libretro] Fix VMU scaling for dynamic res games
2023-12-21 14:20:34 +01:00
vkedwardli
790f5b1ad2
Video Routing Revamp ( #1323 )
...
* Update Spout2 dep
* Remove all `initVideoRouting` call from `GraphicContext`
* Fix MinGW build error
2023-12-21 14:19:57 +01:00
Flyinghead
54ac9c6361
naomi: lower rom dma transfer speed
...
Decrease from 20 to 7 MB/s. Fixes various freezes with Force Five aw
conversion.
Issue #141
Don't expose atomiswave A0_006 registers to naomi and other arcade
platforms.
2023-12-21 14:18:53 +01:00
Flyinghead
449b871e0c
vk: crash when loading custom texture
...
Regression due to 939e2bc68f
Issue #1351
2023-12-21 10:04:35 +01:00
scribam
e057370e97
core: add missing pragma once to header files
2023-12-17 11:12:20 +01:00
scribam
c938f7b0df
deps: build breakpad on current compatible systems only
2023-12-17 11:11:51 +01:00
Bobby Smith
99dc278ad2
Broadcast override for South Park Rally
2023-12-17 11:11:23 +01:00
scribam
bccdc6600a
ci: update github actions
2023-12-17 11:10:56 +01:00
Flyinghead
ba1a68a69f
vk: fix setObjectName on 32-bit platforms
2023-12-17 11:10:19 +01:00
Flyinghead
363c2c4c3f
modem: register flags documentation
2023-12-17 11:07:13 +01:00
Flyinghead
fe429ec01e
move holly interrupts out of types.h
2023-12-16 23:04:39 +01:00
Flyinghead
192838b9c1
maple: lightgun must return 0 for trigger axes
...
Fixes Death Crimson 2 fast forwarding in story mode when using a
lightgun.
Issue #646
2023-12-16 16:47:48 +01:00
github-actions[bot]
2a19ccf945
Fetch translations & Recreate libretro_core_options_intl.h
2023-12-15 22:19:48 +00:00
scribam
00954f1b60
egl: make sure display is valid before cleanup
2023-12-13 17:32:40 +01:00
scribam
bf4346c849
android: update agp and gradle to version 8.2
2023-12-13 17:31:56 +01:00
scribam
32502e7459
cmake: remove hardcoded path to portlibs/switch
2023-12-13 17:31:17 +01:00
scribam
99031e23d3
windows: cleanup non-sdl code paths
2023-12-13 17:30:29 +01:00
github-actions[bot]
f4f087a6ea
Fetch translations & Recreate libretro_core_options_intl.h
2023-12-08 22:19:57 +00:00
Flyinghead
0433fd824c
naomi: fix handling of dma abort
...
Fixes hang in f355 twin and twin2
2023-12-08 18:30:12 +01:00
Bobby Smith
9137ff998f
Add a hotkey to bypass emulated keyboard
2023-12-07 16:48:31 +01:00
Flyinghead
7cc77b10ed
naomi: schedule end of cart dma
...
Set to 20 MB/s to fix meltyb satsuki vs kouma hang when starting fight
Issue #1255
2023-12-07 16:14:10 +01:00
Flyinghead
07f208d2a2
elan: set dma completion delay to fixed min value
...
Fixes initdexp hang at race start
Issue #1337
2023-12-07 13:43:52 +01:00
Flyinghead
05cd7ee8d3
naomi2: fix initdv3j boot. avoid end of area crash with initdv2/v3jb
...
Abort processing and set elan error when invalid draw/dma commands are
executed.
Issue #981
Fixes MINIDUMP-K5 MINIDUMP-JS MINIDUMP-S0 MINIDUMP-98 MINIDUMP-125
MINIDUMP-12D MINIDUMP-22Q
Delay completion of elan dma transfers. Fixes initdv3j boot.
Issue #647
gdrom: some data was serialized twice
2023-12-05 18:25:40 +01:00
scribam
d8e61520af
windows: map arm/arm64 to host_context_t
2023-12-04 12:00:38 +01:00
Flyinghead
e9beea484d
Merge remote-tracking branch 'origin/master' into dev
2023-12-04 11:58:12 +01:00
Flyinghead
4aecdbbb25
input: new saturation setting for full analog axes. Gamepad settings UI
...
Saturation reduces or increases the range of analog axes.
Issue #675
Axes values are re-scaled with dead zone to allow small values.
New Gamepad Settings dialog box to set up dead zone, saturation and
rumble/haptic power.
2023-12-04 11:57:49 +01:00
Flyinghead
d7c28a4805
aica: recommpile dsp when loading a state
...
Fixes bad noise when loading a menu state on tetris from in game.
2023-12-03 20:51:09 +01:00
Flyinghead
939e2bc68f
vk: better deferred deletion. fix validation layer issues
...
Use raii-like mechanism to delete resources when not in use.
Fix several issues reported by validation layers (vtennis rtt, main
buffer size resizing, ...)
2023-12-03 19:18:16 +01:00
Flyinghead
ce4a3a7147
scif: always schedule timer when updating baud rate
...
Old savestates don't have any callback set, and read only devices
(barcode readers) won't schedule any either
UI message when r/w card is ejected
2023-12-03 18:22:52 +01:00
Flyinghead
5fde889d7c
builtin cheat for f355 network race. enable builtin cheats when online
...
Increase the datapump timeout from 500 to 1000 to avoid an error when
posting network race results.
Enable built in cheats when online
2023-12-03 16:44:43 +01:00
github-actions[bot]
fd2a87fca2
Fetch translations & Recreate libretro_core_options_intl.h
2023-12-01 22:19:52 +00:00
Bobby Smith
153dbb0c56
[Libretro] Input descriptors fixes ( #1330 )
...
* Input descriptors fixes
* Refresh input descriptors w/o having to toggle menu
2023-12-01 15:05:30 +01:00
scribam
e53433e6f5
cmake: use glad glx/egl/wgl only when sdl2 is not found
2023-12-01 15:04:41 +01:00
scribam
db7895cea5
Some ifdefs to improve builds ( #1325 )
...
* mmu: hide some jit and fast mmu functions behind ifdef
* linux: move log to the correct place
2023-12-01 15:03:59 +01:00
scribam
f3a774ab4e
imgui: use fonts upload code from v1.90
2023-12-01 15:02:43 +01:00
Flyinghead
bd25c14cfd
libretro: fix manic panic touchscreen buttons
2023-11-29 12:31:30 +01:00
Flyinghead
035ea0b0c0
Force HLE bios for stupid invaders. Don't autosave state if networking
...
Force HLE bios for stupid invaders
Issue #354
Don't autosave state if GPPO or naomi networking is on
2023-11-29 12:30:16 +01:00
Flyinghead
d6593b9c6e
maple: race controller has only 3 axes
...
Reporting 5 axes (with the optional pedals unit) breaks some games:
daytona usa, super speed racing, F1 world grand prix, ...
2023-11-29 12:26:04 +01:00
scribam
105ab95efa
deps: update imgui and implot
2023-11-25 17:08:01 +01:00
Edward Li
2c711e46fe
Batch script for generating Visual Studio project
2023-11-25 17:07:34 +01:00
Edward Li
923be3899d
msvc: update zlib includes, set default startup project
2023-11-25 17:07:34 +01:00
Flyinghead
cb518b5481
serial: fix RDF and TDFE status bits
...
RDF and TDFE can't be reset if tx/rx fifo is below/above trigger
Remove rx overrun check
Proper reset of scif state
Fixes maxspeed, vonot and hell gate battle cable.
Tetris connects but still has input responsiveness issues.
sh4 mmr: use unnamed bitfields
2023-11-25 17:06:45 +01:00
Flyinghead
a18e3701c6
Merge remote-tracking branch 'origin/master' into dev
2023-11-25 16:58:59 +01:00
Flyinghead
2ed4b4a984
tentative uwp build fix
2023-11-25 15:55:24 +01:00
Flyinghead
f11a5981fe
dynarec: increase code cache free space limit from 16 to 32 KB
...
Windows CE games have huge code blocks. (Tomb Raider - Last Revelation)
Fixes MINIDUMP-21R
2023-11-25 15:53:52 +01:00
github-actions[bot]
ea83b08f89
Fetch translations & Recreate libretro_core_options_intl.h
2023-11-24 22:19:21 +00:00
scribam
b785944560
cmake: use CMAKE_CXX_EXTENSIONS for Nintendo Switch
2023-11-23 16:51:50 +01:00
Flyinghead
8f3124d14e
gdrom: increase gdrom ticks by 10%
...
Fixes Sakura Taisen 3 broken music
Issue #692
2023-11-23 16:49:05 +01:00
Flyinghead
14f3507b86
naomi: initd card reader fix. card reader refactoring
...
cardInserted was shadowed by initd card reader
use deque and vector instead of array+indexes
2023-11-23 16:44:03 +01:00
Flyinghead
4efacd7d71
Battle cable support
...
work in progress
f355 and aero dancing seem to work
vonot and tetris don't
maxspeed is broken
2023-11-23 16:40:20 +01:00
Flyinghead
a9d5b77053
Merge remote-tracking branch 'origin/master' into dev
2023-11-20 17:13:51 +01:00
Flyinghead
bc28c7ccb3
lr: enabke Insert Card button for all card reader games
...
Hide naomi f355 series and sgdrvsim on non-desktop platforms
2023-11-20 17:11:27 +01:00
scribam
f14c29fd04
android: update android gradle plugin to version 8.1.4
2023-11-18 18:21:45 +01:00
scribam
3303ecbbd1
cmake: create folder hierarchy only for Xcode or Visual Studio generators
2023-11-18 18:21:19 +01:00
Flyinghead
c4c4c2fde0
naomi: club kart card reader support
2023-11-18 18:20:41 +01:00
Bobby Smith
78a874d20e
Add slider to change crosshair size and a core option for the Libretro core ( #1304 )
2023-11-18 13:44:57 +01:00
Flyinghead
ef321d81a4
ui: customizable UI scale factor. rescan content button
2023-11-15 20:48:00 +01:00
Flyinghead
df83ca436c
input: use 16 bits of precision for analog axes/triggers
2023-11-15 18:24:30 +01:00
Bobby Smith
665ef86cf0
[Libretro] Change VMUs scaling for GL/D3D11
2023-11-15 11:55:25 +01:00
Flyinghead
b9601d26e3
disable per-game settings for video routing options
...
Enabling video routing in a per-game config causes a crash.
Fixes MINIDUMP-22K
2023-11-15 11:54:33 +01:00
Flyinghead
038df0d923
dx9: half-pixel fix for rtt. disable separate alpha/color blend funcs
...
The dx9 half-pixel translation fix must use the rtt texture pixel size.
Issue #1299
ImGui enables separate alpha and color blending funcs so it needs to be
disabled in the renderer.
Issue #1301
2023-11-15 11:50:45 +01:00
Flyinghead
73cbd7a183
libretro: crosshair/vmu invisible with gl per-triangle/per-strip
...
libretro needs ofbo.aspectRatio to be set when drawing crosshairs and
vmus
2023-11-15 11:47:34 +01:00
Flyinghead
ab25cc73a9
libretro: fix lightgun crosshair blend func and size
...
Use upscale factor for lightgun crosshair (opengl, dx11)
Fix crosshair blend function (opengl)
2023-11-14 15:46:44 +01:00
Flyinghead
a0014bc810
naomi: allow printing for f355/1 screen. Fix print template
...
f355 vanilla can print even when running with a single screen.
Fix print template by Ciopy Burns
Repeat print template vertically as needed for longer prints
No networking for f355 vanilla
2023-11-14 15:42:20 +01:00
Flyinghead
6de5879cb4
libretro: enable "Insert Card" button for vf4 and barcode games
...
Still no way to input barcode code however
2023-11-14 15:37:26 +01:00
Flyinghead
32ecb141df
libretro: macos build fix
...
Some OpenGL functions are missing on macOS
2023-11-13 14:39:20 +01:00
Flyinghead
4cd90d8ebb
rend: yet another hash fix of vq textures
...
The calculated size for vq textures was half the correct value, which
affects the texture hash. Calculate the old hash and use it as fallback
for backward-compatibility.
Issue #1291
Make the texture data start address really point to max mipmap data, no
more codebook skipping.
2023-11-13 14:37:38 +01:00
Flyinghead
46eab502e4
libretro: don't link with OpenGL libs on android, windows and linux
...
Issue #1221
2023-11-12 13:05:13 +01:00
Flyinghead
535fbe29f8
rend: fix hash of vq textures
...
Do correct hashing of VQ textures to avoid hash conflicts. Keep previous
hash for backward-compatibility.
Issue #1291
2023-11-11 18:57:16 +01:00
Flyinghead
41723a831f
use static init when possible. use unnamed bit-fields. refactor vmuBeep
...
no functional changes
2023-11-11 18:54:10 +01:00
scribam
abe1d4fd27
deps: replace glew with glad ( #1290 )
2023-11-11 18:29:36 +01:00
github-actions[bot]
dda04e63fa
Fetch translations & Recreate libretro_core_options_intl.h
2023-11-10 22:19:50 +00:00
Flyinghead
e60f30b357
naomi: use background template for f355 printing
...
template courtesy of Ciopy Burns
2023-11-10 17:58:46 +01:00
Flyinghead
f0f27558af
initd: network config was overriding difficulty level
...
same for initd, initdv2 and initdv3
disable networking for club kart prize
2023-11-10 17:54:28 +01:00
Flyinghead
0f6a92caad
linux: retrieve page size at build time
...
Fixes RPi 5 16 KB page size. Will not work if cross-compiling however
Issue #1288
2023-11-09 19:29:00 +01:00
Flyinghead
9a60cd7ded
kingrt66: network config was overriding other settings
...
Auto accel, CB Mic and Motor Power settings share the same config byte
in eeprom, so don't change them when configuring network settings.
2023-11-09 19:25:10 +01:00
Flyinghead
926877397c
Merge remote-tracking branch 'origin/master' into dev
2023-11-07 16:32:12 +01:00
vkedwardli
b92277ac58
macOS: Register file extensions for openFile (Drag ROM to App Icon), update setupWorkingDirectory, rename SDLMain to SDLApplicationDelegate to avoid confusion with the function SDL_main() ( #1287 )
...
Register file extensions for openFile, and supports the following actions
Drag ROM to Application icon to launch the app
Drag ROM to the running app's dock icon
Drag ROM to the running app's window (applicable to all SDL platform by SDL_DROPFILE)
Update setupWorkingDirectory
macOS default cwd is a nonsense "/" for non-terminal application
Rename SDLMain to SDLApplicationDelegate to avoid confusion with the function SDL_main()
some code cleanup
2023-11-07 16:29:08 +01:00
scribam
9a7bf75e4e
deps: update sdl to version 2.28.5
...
Set minimum version required to 2.0.9 because of SDL_JoystickRumble
2023-11-07 16:27:23 +01:00
Flyinghead
1253e1199d
tentative sentry build fix
2023-11-05 19:19:22 +01:00
Edward Li
51508dcdc6
macOS: Indicate slave machines by dock badge label
2023-11-05 18:39:37 +01:00
Edward Li
f6b3577de5
Save race result image to writable data folder
2023-11-05 18:39:37 +01:00
Edward Li
a4ec706c79
Init ThermalPrinter only when cabinet type is Deluxe.
...
nvmem: Enable printer by default for `f355twin` and `f355twn2`
2023-11-05 18:39:37 +01:00
Flyinghead
cb890c7b6f
windows: fix run instance with path containing spaces or non ascii
2023-11-05 18:39:04 +01:00
github-actions[bot]
dbfead6a15
Fetch translations & Recreate libretro_core_options_intl.h
2023-11-03 22:19:52 +00:00
Flyinghead
fd3f207e45
maple: move arcade input settings into maple init
...
Get rid of settings.input.JammaSetup
2023-11-02 19:00:29 +01:00
Flyinghead
594b403997
naomi: add some (mostly not working) roms
...
mazanj
dygolfp
shors2k2m
shors2k2s
shors2k2l
shors2k2
wccf116
wccf1dup
wccf212e
wccf234j
wccf310j
wccf331e
wccf322e
wccf331j
wccf341j
wccf400j
wccf420e
galilfac (systemsp)
Fix hotd2p, virnbap, huhimage
2023-11-02 18:44:52 +01:00
Flyinghead
bafe07de85
aica: better sounding LPF
...
Use 4 bits of exponent instead of 5 for the cut off frequency
Force sample to 0 if cut off freq is 0
Improve BIOS menu sounds
Issue #108
2023-11-02 18:33:14 +01:00
Bobby Smith
3e047a6e03
Create expansion device for "Racing Controller"
2023-11-01 15:43:08 +01:00
Flyinghead
29c0dca0ce
naomi: enable printer for all f355 editions
...
only usable in deluxe mode (f355twin, f355twn2)
2023-11-01 15:41:41 +01:00
flyinghead
5cfd3f0ba3
Merge pull request #1274 from bslenul/lr-invalid-values
...
[Libretro] Remove some "Invalid value" errors
2023-10-31 13:55:23 +01:00
flyinghead
923dcf10a7
Merge pull request #1271 from notcbw/enable_deadzone
...
Minor GUI change to add an option that sets the deadzone for analog sticks
2023-10-31 13:55:12 +01:00
Flyinghead
7b71bd319c
Android and iOS support. Change dead zone to integer % value in UI
...
UI: dead zone changes from 0 to 100%. Add % for Rumble too.
Support Android and iOS gamepads.
Assume legacy gamepads have an analog stick (evdev, xinput)
2023-10-30 18:28:29 +01:00
Flyinghead
51089c5e0a
aica: always avoid race condition when sh4 interrupt is raised
...
... even if an SH4 interrupt is already asserted.
Regression introduced by c7d214e55a
Fixes audio freeze in Test Drive Le Mans
Issue #1267
2023-10-30 17:47:19 +01:00
Flyinghead
24944e00a7
force Full Framebuffer Emulation for some games
...
Eisei Meijin III
Marionette Company
World Neverland Plus
Issue #1266
2023-10-30 17:43:33 +01:00
Bobby Smith
66faf0d330
[Libretro] Remove some "Invalid value" errors
2023-10-30 16:21:26 +01:00
Bowen Cui
c0de126b2b
Add option to set deadzone for analog sticks
2023-10-30 05:21:36 -04:00
github-actions[bot]
c1f0a5a15f
Fetch translations & Recreate libretro_core_options_intl.h
2023-10-27 22:19:54 +00:00
Flyinghead
f640b32cc9
enable Copy to VRAM for a bunch of games
...
Worms World Party (US)
Hundred Swords
Musapey's Choco Marker (dreamcast)
Choco Marker (naomi)
Sister Princess Premium Edition
Sentimental Graffiti 1 & 2
Kanon
Aikagi
AIR
Issue #1265
2023-10-27 14:56:28 +02:00
Flyinghead
93e47dd410
aica: don't change LEA for non-looping sounds
...
Non-looping sounds with LSA=0 and LEA=0 shouldn't be played at all.
Regression introduced by dac5b991e0 .
Fixes white noise in Sonic Adventure Emerald Coast action stage.
Issue #1264
2023-10-27 14:52:07 +02:00
Flyinghead
8fb3def2d5
gl oit: fix several issues
...
Disable blending when rendering a-buffers. Fixes ECW Anarchy Rulz black
title screen and Demolition Racer glitchy end of race screen.
Use palette in the depth pass for punch-through polygons using palette
texture. Fixes shadow issue in Alone in the Dark.
Copy ouput fbo to geom_fbo before drawing. Fixes missing transparent
polygons in subsequent partial renders. Fixes Test Drive Le Mans missing
labels in loading screen.
Issue #1262
2023-10-25 16:59:01 +02:00
Flyinghead
98a0f2b821
gl: frame upside down with GLES 2.0 if video shift is on
...
drawQuad ignores the swapY param if vertices are provided so swap Y
coords of vertices.
2023-10-25 16:53:25 +02:00
Flyinghead
4fafa91506
gl: disable dithering with GLES 2.0
...
GLES 2.0 doesn't allow initialization of const arrays.
Fixes MINIDUMP-1YP MINIDUMP-1YQ
2023-10-25 16:51:44 +02:00
Flyinghead
09a1fea40f
arm32: fix host rounding mode on android
...
It looks like setting host rounding stopped working on armv7 android a
while ago (v1.0 already has the issue). Directly setting the host FPSCR
register doesn't work so use the C99 standard functions fegetenv and
fesetenv instead.
Fixes flickering yoshimitsu legs in Soul Calibur.
Fixes rotating objects in Sword of the Berserk.
Issue #556
Issue #1259
2023-10-25 16:48:58 +02:00
Flyinghead
e55d70c0e6
dx9,dx11: depth surface and temp render target resize issue with RTT
...
dx9: resize depth surface to max width and height when RTT
dx11 oit: resize all depth and temp render targets when RTT but keep
current framebuffer.
Fixes Flag to Flag not updating the screen when RTT'ing rear view
mirrors.
Issue #1257
2023-10-23 10:36:41 +02:00
Flyinghead
ca45ff3834
default to Vulkan renderer if OpenGL not compiled in
...
Issue #1258
2023-10-23 10:10:49 +02:00
Flyinghead
35c71ebcfd
rend: add hcount and vcount used by meltyb for video shift calc
...
meltyb (and possibly others) uses hcount=850 (instead of 851) and
vcount=528 (instead of 529)
2023-10-22 12:08:19 +02:00
Flyinghead
33edcca348
texture: expand color data of planar textures
...
Partial revert of f4835a89d3
Fixes color differences between planar and !planar textures in Sakura
Taisen 2.
Issue #1256
2023-10-22 10:17:01 +02:00
Flyinghead
dac5b991e0
aica: ignore LEA if <= LSA
...
Fixes Legacy of Kain Ash Village music
Issue #1104
2023-10-22 10:12:30 +02:00
Flyinghead
8ba5e05421
android scoped storage: default to hack the uri manually in getParentUri
...
If DocumentsContract.Path.getPath() fails, try to hack the uri manually
instead of returning null/empty (android 10)
2023-10-21 21:40:13 +02:00
github-actions[bot]
35b7be3905
Fetch translations & Recreate libretro_core_options_intl.h
2023-10-20 22:19:13 +00:00
Flyinghead
b7d923e02b
maple: clear mapleDmaOut on reset. Other reset issues
...
mapleDmaOut wasn't reset, causing crashes or freezes in subsequent runs
Issue #1253
reset YUV state, pvr tile clip, MMU sq_remap, sh4 sq_buffer and more
2023-10-20 16:15:42 +02:00
Flyinghead
eaf2c0064c
enable copy to vram for sakura taisen 1
...
Issue #1252
2023-10-19 19:58:05 +02:00
Flyinghead
a65cd9e5f9
savestate: fix retroarch savestate compatibility
...
A new RA header must be skipped in standalone
2023-10-19 19:56:43 +02:00
Flyinghead
e94b26f1df
gdrom: return blank sector if FAD miss
...
Fixes NBA Hoopz (US) voice samples
Issue #1247
2023-10-17 14:29:05 +02:00
Flyinghead
e96b38ff5c
rend: support vscalefactor > 1 for RTT
...
SCALER_CTL.vscalefactor also applies to RTT and values > 1 will increase
the texture height.
dx11: initialize abufferPointers to avoid issues with first frame
rendered.
Fixes pause menu/battle animation with Skies of Arcadia (PAL)
Issue #1127
2023-10-16 14:51:27 +02:00
Flyinghead
e894d4df5c
sh4: limit penalty cycles to first 3 mem ops
...
Fixes choppy video in Dynamite Cop! and Resident Evil 2 intros.
Fixes desync between character and background in UFC championship intro.
Fixes Dino Crisis (JP) desync between video and subtitles.
Fixes South Park Rally boot freeze with one controller and 2 vmus.
Add cheats for Dave Mirra BMX to fix main loop timing.
Issue #1034
2023-10-16 14:39:15 +02:00
Flyinghead
c58ae4daac
vulkan: terminate context if init fails
...
Avoids crash on exit
2023-10-16 14:19:47 +02:00
github-actions[bot]
cb9af7d742
Fetch translations & Recreate libretro_core_options_intl.h
2023-10-13 22:19:51 +00:00
Flyinghead
2a364dee67
dynarec: check null codeBuffer in rewrite() if called before init
...
Fixes MINIDUMP-1VN, MINIDUMP-1X1, MINIDUMP-1XD
2023-10-13 11:41:18 +02:00
Flyinghead
56107b3667
dx11 oit: missing depth pass for transparent polys when autosort=0
...
The depth pass with transparent polys must also be done when autosort=0.
Fixes The Grinch pause menu
Issue #1244
2023-10-13 11:00:19 +02:00
Flyinghead
31aab32d95
dx9: unreleased resources make device reset fail
...
dcfbSurface and vmu texture were leaked when updated, causing the device
reset to fail when maximizing or restoring the app window.
Issue #1243
2023-10-13 10:55:45 +02:00
Flyinghead
0b66409ed2
naomi: default eeprom for pokasuka ghosts
...
Fixes coin assignments error at boot
Issue #1237
2023-10-13 10:51:07 +02:00
Flyinghead
8ae288d2ca
gdb: revert swapping of words
...
Partial revert of b0a520fe18
Short and ints shouldn't be swapped.
gdb can handle both little and big endian SH4 (set endian big/little).
2023-10-12 09:49:55 +02:00
Flyinghead
4419ff310a
naomi: default eeprom for manic panic
...
Fixes coin assignments error at boot
Issue #1237
2023-10-12 09:36:09 +02:00
Flyinghead
2f524923da
set extra depth scale back to 0.1 for Caesars Palace 2000
...
Fixes pause menu background transparency in video keno game.
Regression introduced by cc1b45b7cc
Issue #1236
2023-10-11 14:42:35 +02:00
Flyinghead
07d761a880
rec x64: move jit_set_exec out of exception scope in rewrite
2023-10-11 14:28:39 +02:00
Flyinghead
f6f6637973
naomi: mushikep compatibility
2023-10-11 14:25:11 +02:00
Flyinghead
2cd3ffb33f
Revert "vk oit: add sync event between renderer and vk context on Mali
...
gpu"
This reverts commit abd9219347 .
Issue #1234
2023-10-11 14:13:34 +02:00
Flyinghead
abd9219347
vk oit: add sync event between renderer and vk context on Mali gpu
...
Use vk event to wait for renderer pipeline to finish before rendering
the final frame in vk context. This seems to help Mali gpus.
Issue #1234
2023-10-11 09:35:18 +02:00
Flyinghead
417a42ae10
boxart: image mix up due to broken rand() on windows
...
srand() wasn't called and rand() returns the same number twice on
windows (RAND_MAX is only 32767).
Use c++11 random instead.
Issue #1231
2023-10-10 11:47:50 +02:00
Flyinghead
0e12153c45
libretro: frame is flipped vertically with GLES 2
...
drawQuad ignores the swapY parameter if vertices are provided.
Reverse the shiftY direction for pvr2 filter.
Issue #1233
2023-10-10 11:37:00 +02:00
Flyinghead
cb33387ed6
gdrom: clear DRQ on ATA_NOP
...
Fixes Sentimental Graffiti 2 hang when switching disk
Issue #1232
2023-10-09 22:39:54 +02:00
Flyinghead
38d4689b63
gl,vk,dx: use nearest filtering for mipmap with PT polys
...
Interpolating between LoDs produces unexpected alpha values.
dx,vk: add negative LoD bias
Fixes "Press Start" text in Trizeal title screen
dx11: get rid of bogus nearest wrap hack
Can't reproduce original issue with daytona
Fixes Virtua Tennis title screen
Issue #1230
2023-10-09 21:09:03 +02:00
Flyinghead
23d1db9c75
nvmem: add email address to flash ISP config
...
Issue #1227
2023-10-09 20:44:15 +02:00
Flyinghead
4e079b5d0b
missing override keyword
2023-10-08 19:14:33 +02:00
Flyinghead
3fcbdd3fc5
gl: missing precision qualifier for dithering table
...
Fixes MINIDUMP-1VR MINIDUMP-1W0 MINIDUMP-1W1 MINIDUMP-1WE MINIDUMP-1WF
2023-10-08 19:13:07 +02:00
Flyinghead
78b44919c5
vk, gl: ignore fb_enable and blank_video during normal render
...
Fixes some screen missing. Already handled in renderFB. Should be
handled at Present time.
gl4: first frame after renderFB was missing
Issue #1217
2023-10-07 15:46:28 +02:00
github-actions[bot]
13a8d49c90
Fetch translations & Recreate libretro_core_options_intl.h
2023-10-06 22:19:36 +00:00
flyinghead
7308f9a704
sh4: dont change host rounding mode in Sh4_int_Reset()
...
Don't change host rounding mode in Sh4_int_Reset(), which is typically
called from the UI thread.
Set rounding mode to default before calling renderer (single-thread
mode), restore it before returning.
Fixes issues with dx11 shaders compilation: rounding mode affects
inexact literal float values.
Issue #1224
Issue #1207
2023-10-06 18:17:14 +02:00
Flyinghead
18f9b84af6
elf: memory corruption if .elf file is invalid
2023-10-05 11:45:14 +02:00
Flyinghead
56517b027a
naomi: fix gdrom searching in rom parent path
...
OpenDisc() now throws so exceptions must be caught
Never return null from OpenDisc
2023-10-05 11:43:22 +02:00
flyinghead
d4a02e3c2b
Merge pull request #1219 from scribam/android
...
android: update android gradle plugin to version 8.1.2
2023-10-04 17:07:39 +02:00
flyinghead
33131e1395
Merge pull request #1214 from scribam/sdl
...
deps: update sdl to version 2.28.4
2023-10-04 17:06:58 +02:00
flyinghead
73ac46f421
Merge pull request #1213 from scribam/lua
...
lua: set minimum version required to 5.2
2023-10-04 17:06:08 +02:00
scribam
7fc70ee1f4
android: update android gradle plugin to version 8.1.2
2023-10-03 22:50:35 +02:00
scribam
d9b5f27311
deps: update sdl to version 2.28.4
2023-10-02 21:42:47 +02:00
scribam
252838d896
lua: set minimum version required to 5.2
2023-10-02 19:52:33 +02:00
Flyinghead
cb91ad3ae0
reset platform to dreamcast after unloading game
...
so that Language, Broadcast, Cable, etc. are enabled in the UI
2023-10-01 20:07:59 +02:00
Flyinghead
60f3d718ac
arm64 rec: fix crash with some naomi games (regression)
...
Fixes crash with doa2a and doa2m and some atomiswave conversions.
Regression due to b47f4f56ef
Fixes MINIDUMP-1TY, MINIDUMP-1TD, MINIDUMP-16Q, MINIDUMP-1AC
2023-10-01 19:31:18 +02:00
github-actions[bot]
e8e382372a
Fetch translations & Recreate libretro_core_options_intl.h
2023-09-29 22:19:16 +00:00
flyinghead
205c365b1b
Merge pull request #1208 from flyinghead/dev
...
merge dev branch
2023-09-27 16:59:19 +02:00
Flyinghead
09857008bd
rend: guard against NaN depth if z is negative
...
Fixes prison white background effect in RayMan 2
Issue #1209
2023-09-27 14:55:31 +02:00
Flyinghead
5eddc26850
dx11: work around some float literal precision issue with the compiler
...
For some reason the directx compiler doesn't convert float literal in a
deterministic way (!). A difference of one ulp can be seen between
different compilation of the same code.
This causes an issue with the rounding of the alpha value for PT polys.
Issue #1207
2023-09-26 17:05:21 +02:00
Flyinghead
496429d6f4
ci: re-enable fail-fast
2023-09-25 23:10:49 +02:00
Flyinghead
a915f185f8
Merge remote-tracking branch 'origin/master' into dev
2023-09-25 22:17:29 +02:00
Flyinghead
0f6e1752e3
rend: clear framebuffer when vram address changes
...
Fixes top and bottom leftovers from BIOS boot in San Francisco Rush
2049.
Issue #1197
2023-09-25 18:23:26 +02:00
Flyinghead
e57ccde532
systemsp: pluggable input manager. fix lr. disable isshoni P1 button 1
...
Delegate input management to game-specific class
Default, card reader/dispenser and isshoni input managers
isshoni: Use button 1 for touchscreen press
libretro: systemsp input mapping
2023-09-25 17:38:41 +02:00
vkedwardli
f75a16f40c
Ignore Mouse Capture when Left Ctrl or Left ALT is mapped to a Dreamcast Key ( #1203 )
2023-09-24 16:02:18 +02:00
Flyinghead
a869e183db
gl: video shift y needs to be inverted too
...
follow up to 5ffcdb5f1e
Fix crash in pvr2 post processor when rendering the dc framebuffer
2023-09-24 13:09:00 +02:00
Flyinghead
c60edb0090
gl: get rid of async copy to vram
...
Fix issues when games access texture data directly in vram.
Jet Set Radio custom graffiti copy to vmu. Issue #232
Cardcaptor Sakura best shots. Issue #1089
Grandia II battle start effect.
Force Copy to VRAM for Cardcaptor Sakura, Grandia II, Canvas, Sakura
Taisen 3 and more
2023-09-24 11:29:22 +02:00
Flyinghead
84d82f360b
dx11: black screen with full fb emu when scaling. dx9: fb render fix
...
dx11: black screen when full framebuffer emulation is enabled if scaling
is on (480 -> 240p)
Fixes Mr.Driller. Issue #1067
dx9: wrong stretching when rendering the dc framebuffer if aspect ratio
different from 4:3
2023-09-24 11:04:24 +02:00
Flyinghead
b002bdff39
ui: color chooser for crosshair was changing on its own
...
Only change color when needed and use rounding when converting back to
integer.
Issue #1074
2023-09-24 10:57:50 +02:00
Flyinghead
5ffcdb5f1e
gl: flip Y coord when drawing framebuffer to avoid rounding issues
...
Flip Y again when drawing to final framebuffer
Fixes HUD characters truncated vertically in Test Drive V-Rally
Issue #1088
2023-09-23 14:57:19 +02:00
Flyinghead
79bbd86c2f
rend: Fix PT polygons alpha test
...
Alpha test for PT polys is done after mixing texture and vertex colors
and clamping. Revert db0534d5dd . See
86235bb4a3 .
Fixes visible triangle arrows after selecting a character in Langrisser
Millenium.
Issue #1201
vk oit: OP polygons don't support blending
2023-09-23 14:01:26 +02:00
Flyinghead
39a212140a
vk: add bumpmap flag to pipeline hash
...
Fixes disappearing pause menu text and green wooden boxes in Mat
Hoffmann's Pro BMX
Issue #878
2023-09-23 11:13:14 +02:00
github-actions[bot]
dddd712f08
Fetch translations & Recreate libretro_core_options_intl.h
2023-09-22 22:19:05 +00:00
Colton Pawielski
a7dbbbe578
Add Dreamcast 32MB RAM Mod ( #1198 )
2023-09-22 11:10:44 +02:00
Flyinghead
2445739c0e
arm,arm64 rec: check fault location before attempting to rewrite
...
Ignore fault if pc isn't in the dynarec code buffer.
Fix for MINIDUMP-1S0, MINIDUMP-1RS
2023-09-20 17:25:09 +02:00
Flyinghead
403f1f635b
systemsp: load rom boot id from compact flash volume
...
Open and decrypt 1STREAD.BIN then the image file to extract the rom boot
id.
Fix boot id for non-encrypted roms (bingogals)
Reset naomi default eeprom when forcing different region and before
reloading the bios.
2023-09-20 17:22:28 +02:00
Flyinghead
879372cb79
rec-x64: use FMA when available
...
x64 vfmadd is a better implementation of the sh4 FMAC op, so use it if
available. Fall back to mul+add if GGPO is enabled to avoid desyncs
between different cpu models.
Issue #1201
2023-09-20 17:14:50 +02:00
Flyinghead
6b05c0ab01
tex conv: extend alpha channel of planar 4444 textures
...
The alpha channel needs to be extended for PT polygons to work. Fixes
Langrisser Millenium black title screen and missing textures on
character selection screen.
Issue #1201
2023-09-20 17:06:05 +02:00
Flyinghead
289f264371
systemsp: set correct region for rom games
...
Override the region when not supported by the game. Only works for rom
games.
2023-09-19 17:59:20 +02:00
Flyinghead
869ddb643d
systemsp: initialize media name and default eeprom
...
Fix failure to load a systemsp rom game after running a compactflash
game.
Fix error 05 if selecting the wrong region then switching to Japan.
2023-09-19 16:13:27 +02:00
Flyinghead
c63f1a9997
pvr: background poly vertex order fix
...
Fix background poly vertices coordinates to form a valid triangle strip
Fixes lovebery bogus background poly on character selection screen.
Issue #1200
2023-09-19 16:08:22 +02:00
Flyinghead
0fc0dc5101
systemsp: rfid management chip emulation
...
fixes dinoking, dinokior, dinoki25, lovebery, lovebero and loveber3
2023-09-18 11:00:08 +02:00
github-actions[bot]
213bc70e2d
Fetch translations & Recreate libretro_core_options_intl.h
2023-09-15 22:19:06 +00:00
Flyinghead
c839bc89eb
naomi: crash when loading a legacy .bin rom
...
More fix for MINIDUMP-1DA, MINIDUMP-1D8, MINIDUMP-1EM
2023-09-15 18:50:55 +02:00
Flyinghead
84f2871650
renderer: set render timeout to 20 ms to reduce input lag at 30 FPS
...
Fixes mouse not responding in 30 fps (Quake 3) or variable fps games
(Unreal)
Issue #949
2023-09-14 15:18:56 +02:00
Flyinghead
e1b4d4d703
naomi: crash when loading a legacy .bin rom
...
Fixes MINIDUMP-1DA, MINIDUMP-1D8, MINIDUMP-1EM
2023-09-14 15:08:56 +02:00
vkedwardli
b564b0bf91
Increase L2+ / R2+ trigger sensitivity for digital buttons ( #1190 )
2023-09-14 09:08:58 +02:00
Flyinghead
7e1dcf9003
maple: move test, coin and trigger buttons into the upper 16-bit range
...
avoid interfering with regular jvs/maple buttons
2023-09-12 19:13:40 +02:00
Flyinghead
0f4c903fed
ios build fix
2023-09-12 19:06:59 +02:00
Flyinghead
0ac483acfc
sh4 dynarec refactoring
...
sh4 code buffer class
dynarec interface and implementations
2023-09-12 16:52:25 +02:00
Flyinghead
f4835a89d3
implement dithering in full FB mode
...
gl, vk, dx11, dx9: implement ordered dithering in GLSL/HLSL
refactor framebuffer and texture writes to vram
don't expand color data when reading planar textures
2023-09-10 16:25:19 +02:00
Nejsplitter
139f248572
libretro: Allow up to 300 MHz overclock ( #1193 )
2023-09-09 17:00:00 +02:00
flyinghead
b23d37f76f
lr dx11: set all shaders in Quad to avoid conflicts with RA
...
RA uses geometry and/or compute shaders, which must be disabled when the
core is drawing.
Issue #1192
2023-09-09 16:22:50 +02:00
flyinghead
56358be542
lr: opengl OIT renderer not enabled at startup
...
default renderer on windows is now dx11, which confuses the lr opengl
graphics context creation.
Issue #1191
2023-09-09 16:09:59 +02:00
Edward Li
1377e61d03
DX11: Use high performance GPU on Windows 10 (1803 or later)
2023-09-07 09:51:45 +02:00
Flyinghead
ce694ba8b5
apple: vulkan sdk 1.3.261.1
2023-09-02 20:36:08 +02:00
Flyinghead
8eae6b97fc
ui: keyboard input was ignored when resuming game if no render
...
When resuming a game, keyboard is ignored until the next frame is
rendered. This is due to ImGUI not updating its WantCaptureKeyboard flag
until the next frame, which is an issue if the game isn't actively
rendering frames (Zombie Revenge pause screen, Giant Killers)
2023-09-02 20:00:07 +02:00
Flyinghead
d29645cc49
naomi: derbyoc JP card reader support. security pic for doa, tduno
...
Derby owner's club (JP) uses a Sanwa CRP-1231LR card reader. World
edition uses a Sanwa CRP-1231BR.
Set x76f100 security pic content for doa2, doa2a, doa2m, tduno
2023-08-27 17:20:43 +02:00
github-actions[bot]
f870ccc23c
Fetch translations & Recreate libretro_core_options_intl.h
2023-08-25 22:19:13 +00:00
Flyinghead
3aa2f922e7
fix test
2023-08-25 17:13:45 +02:00
Flyinghead
129fff1c2a
naomi: x76f100 and at93cxx implementation. naomi2 elan fix
...
proper emulation of x76f100 security eeprom and at93cxx serial eeprom
elan: don't reset projection matrix at end of frame. Issue #1177
2023-08-25 17:01:40 +02:00
scribam
10b13dfe9c
deps: update to match Vulkan SDK 1.3.261.0
2023-08-24 17:33:47 +02:00
scribam
d506cc40a2
deps: update CMakeRC.cmake
2023-08-24 17:33:47 +02:00
scribam
358a54152b
deps: update imgui to version 1.89.8 and implot
2023-08-24 17:33:47 +02:00
scribam
06e2c455e8
deps: update sdl to version 2.28.2
2023-08-24 17:33:47 +02:00
scribam
a1838eee30
deps: update libchdr
2023-08-24 17:33:47 +02:00
scribam
56b082def7
uwp: add support for arm
2023-08-02 09:32:55 +02:00
Shingo INADA
92a10ba0f0
[input] fix LT2/RT2 mapping save
2023-07-31 16:12:13 +02:00
Flyinghead
c637ae8281
Merge remote-tracking branch 'origin/master' into dev
2023-07-30 18:05:38 +02:00
scribam
40953b17c4
uwp: add support for arm64
2023-07-30 18:03:32 +02:00
scribam
a473154250
sentry: use new syntax for uploading files
2023-07-30 18:02:56 +02:00
scribam
13f3c3e228
android: update cmake and ndk
2023-07-30 18:02:43 +02:00
scribam
817cc87c8c
android: update android gradle plugin to version 8.1.0
2023-07-30 18:02:43 +02:00
GABO1423
ab09efa762
(README) Modify Xbox Section
2023-07-28 10:03:31 +02:00
Flyinghead
7061c043d9
naomi: derbyocw card support. serial pipes refactoring. systemsp fixes
...
common interface for most serial pipes
jvs: MIE RS422 port support
card reader: allow reading/writing of individual tracks
systemsp: fix interrupt handling. refactor serial ports. isshoni wanwan
puppy touchscreen support
2023-07-26 21:34:03 +02:00
Flyinghead
92a19e9250
hopper fixes. fix kick4cash input
...
kick4cash encoders are rotated 45° and polling is done twice per frame.
add bet button to shootout pool and club kart (prize)
hopper: load/save config. fix pay out and bet values. proper defaults
based on selected currency.
2023-07-23 17:16:08 +02:00
scribam
4f5fd31d81
archive: replace zip_get_num_files (deprecated) by zip_get_num_entries
2023-07-22 19:04:52 +02:00
scribam
1b565f9879
clang-tidy: run modernize-concat-nested-namespaces
2023-07-22 19:04:52 +02:00
scribam
d2b475ae41
boxart: remove redundant call to c_str()
2023-07-22 19:04:52 +02:00
Lucas Azevedo
9c61006941
Fix GUI SDL mouse buttons
...
Clicks were swapped in GUI as SDL uses 2 for middle and 3 for right and
the GUI expects the opposite (minus 1).
2023-07-18 11:00:58 +02:00
scribam
4db26bc092
spg: fix warning 'vblk_cnt' defined but not used
2023-07-16 19:57:51 +02:00
Flyinghead
8c0f543bc8
naomi: hopper support for kick'4'cash, shootout pool and club kart prize
...
high level emulation of 837-14438 and naomi SWP hopper boards
2023-07-16 19:57:16 +02:00
Flyinghead
8e3a48eb6f
naomi: fix shootout pool inputs
...
Use button 1 to switch between cue aim and cue roller rotary encoders.
Remap start/mode to start
2023-07-16 19:10:39 +02:00
Flyinghead
7a22318b0f
sdl: don't send button up events based on mouse button state
...
as doing so cancels other inputs bound to the same target
2023-07-16 19:03:07 +02:00
github-actions[bot]
a0bf24f7cc
Fetch translations & Recreate libretro_core_options_intl.h
2023-07-14 22:20:09 +00:00
Flyinghead
3c6eaa4d34
aica arm: use scratch reg for call/jump if offset if too big (armv7)
...
Issue #1148
2023-07-14 21:32:49 +02:00
Flyinghead
3bf817aea1
vk: reset semaphore index to 0 when recreating the swap chain
...
When frame dupe is enabled and switching to fast forward, the current
semaphore index might end up pointing past the end of the semaphore
array, causing a crash.
Issue #1138
2023-07-10 12:41:13 +02:00
scribam
a3ebe02f85
vk: modernize device properties retrieval
2023-07-09 18:51:44 +02:00
scribam
4eda9ebffc
cmake: exclude nowide tests from unit tests
2023-07-09 18:50:47 +02:00
Edward Li
278f26aadd
macOS: Enable clipboard functions and corresponding menu items
2023-07-06 18:42:31 +02:00
Flyinghead
17b82ab5d3
ci: disable fail fast on c-cpp job because of MacOS failures
2023-07-05 10:59:12 +02:00
Flyinghead
30e66d1c17
reios: ignore high order bits for FAD
...
Mask FAD with ffffff. Apparently the regular BIOS does the same. Fixes
bogus FAD issued by Guilty Gear X when playing CD audio.
Issue #1124
2023-07-05 10:23:54 +02:00
Edward Li
2089015221
Fix Spout2 MinGW error
2023-07-03 11:38:35 +02:00
Edward Li
e19a62aa07
Ignore brew update failure
2023-07-03 11:38:35 +02:00
scribam
42d003597e
deps: update sdl to version 2.28.1
2023-07-03 11:38:06 +02:00
scribam
f9da57d87f
deps: reapply patches to vixl
2023-07-03 11:37:42 +02:00
scribam
daf8230cca
deps: update vixl
2023-07-03 11:37:42 +02:00
Flyinghead
f02265b662
systemsp: fix sram addressing
...
translate dinoki4 rom name
2023-07-03 11:36:59 +02:00
Flyinghead
5eb893a995
Sega SystemSP support
...
add naomi roms: anpanman2, anpanman2a, drbyocwt and clubkpzbp
2023-07-01 16:24:51 +02:00
Flyinghead
dfd517706a
Merge remote-tracking branch 'origin/master' into dev
2023-07-01 16:03:10 +02:00
Flyinghead
b47f4f56ef
user-defined literals: _KB, _MB, _GB
2023-07-01 14:31:25 +02:00
Edward Li
a870fb7f6c
deps: update vulkan to 1.3.250.1, fix 404 on macOS
2023-06-30 18:12:53 +02:00
vkedwardli
7cd308fcae
Realtime Video Routing ( #1126 )
...
* Syphon video routing with OpenGL and Vulkan (MacOS)
* Spout video routing with DX11 and OpenGL (Windows)
* Fix Xcode detection
2023-06-26 11:56:56 +02:00
scribam
6e6f75386b
deps: update sdl to version 2.28.0
2023-06-26 11:53:22 +02:00
Flyinghead
aad4921e09
picotcp: fix kos ppp nego. modem,bba: fix kos detection
...
picotcp: ignore conf ack received when lcp layer is up (kos ppp)
picotcp: ignore icmp ping seq and id #
scheduler: add void * arg to callback function. Get rid of static instances when possible
bba: use scheduler to delay link changes (fixes kos bba detection)
modem: fix soft reset. don't reset TDBE during reset (fixes kos modem detection)
2023-06-23 11:40:22 +02:00
Flyinghead
8b8113b482
Merge remote-tracking branch 'origin/master' into dev
2023-06-23 10:12:32 +02:00
Ricardo Mendonça Ferreira
98acd1178d
Libretro: support for more controllers, code cleanup
...
Added support for new controllers in the Libretro interface:
- Maracas (RETRO_DEVICE_MARACAS)
- Fishing Controller (RETRO_DEVICE_FISHING)
- Pop'n Music (RETRO_DEVICE_POPNMUSIC)
- Race Controller (RETRO_DEVICE_RACING)
- Densha de Go! (RETRO_DEVICE_DENSHA)
Also did a bit of refactoring, mostly for readability, but also moving repeated code into functions.
2023-06-22 22:28:25 +02:00
Flyinghead
0070f9abad
network: fix known UDP ports bind regression
...
introduced by b4e5af6346
Add driving strikers netdemo known port
Issue #1112
2023-06-21 16:31:01 +02:00
Flyinghead
dca048981f
network: process both inbound and outbound packets for 2k games
...
DreamPi processes inbound packets on tcp port 5011 (dc2k2) so let's do
both.
Issue #1112
2023-06-18 11:20:40 +02:00
Eric Warmenhoven
74b98d85ed
libretro: another apple platforms build fix
2023-06-16 17:27:14 +02:00
Flyinghead
67a7637b9f
network: tentative fix for 2k sport games
...
Fix port 5011 outbound packets instead of incoming ones for original hw
interop.
Issue #1112
2023-06-16 17:26:39 +02:00
Eric Warmenhoven
2511a19d2d
libretro: apple platforms build fix
2023-06-15 16:05:36 +02:00
deviato
f04ddad94f
Update README.md
2023-06-15 16:05:08 +02:00
Flyinghead
b4e5af6346
picotcp: bind native udp socket to the same local port as the pico one
...
The Toy Racer server ignores the source udp port so it must match the
dreamcast one. Will not work if the port is in use or well-known, or if
NAT gets in the way.
Issue #1112
2023-06-15 16:04:32 +02:00
Murad "Gness Erquint" Beybalaev
f679fd9ba9
Typo in GUI.
...
"Covert art" → "cover art".
2023-06-13 14:56:33 +02:00
Flyinghead
b6930a2a9e
rend: force texture scanorder to 0 if vq and mipmap are set
...
Fixes crash and corrupted texture in Star Wars Demolition
Issue #1108
2023-06-13 14:55:47 +02:00
scribam
4db7137dbf
deps: update miniupnpc to version 2.2.5
2023-06-12 16:07:41 +02:00
scribam
bee534922b
android: update android gradle plugin to version 8.0.2
2023-06-12 16:06:20 +02:00
Flyinghead
d6fe46649c
sdl: also use F11 to toggle fullscreen
...
in addtion to alt+enter
2023-06-12 16:05:34 +02:00
Flyinghead
236539c881
lr: add missing libs object files (elf, resource) for switch
...
Issue #1098
2023-06-05 17:17:51 +02:00
Flyinghead
2644c2ef47
pvr: more std::vector::operator[] UB
...
Issue #1100
2023-06-05 17:13:40 +02:00
scribam
f590766421
deps: update nowide
2023-06-04 12:49:55 +02:00
Flyinghead
fa1c62d11a
naomi: fix spawn eeprom network settings
2023-06-04 12:49:35 +02:00
Flyinghead
ffc0a42c18
std::vector::operator[index] with index >= size is UB
2023-06-04 12:48:50 +02:00
github-actions[bot]
bc3c1ab628
Fetch translations & Recreate libretro_core_options_intl.h
2023-06-02 22:19:35 +00:00
vkedwardli
6c249ee4d2
Set header() and OptionArrowButtons() alpha to 1.0f ( #1096 )
...
* Set `header()` alpha to 1.0f
* Do not grey out `OptionArrowButtons()` also
2023-06-02 14:26:04 +02:00
Edward Li
3330f01267
Different config folder for multiple instances
2023-06-02 14:25:20 +02:00
scribam
bd946bfbea
deps: update imgui to version v1.89.6
2023-06-02 14:24:32 +02:00
Flyinghead
bb92e9f7a4
add rfid cheat for mushik2k
2023-06-02 14:23:46 +02:00
Flyinghead
63686eeee1
naomi: add fallback bios files. Proper region names
...
ui: use proper region names for arcade (export, korea)
naomi: add previous version of BIOS files and fall back if latest ver
not found
fall back to use multiregion bios hack for korea
add CRC for all bios files
2023-06-02 14:23:14 +02:00
scribam
c0a286532a
deps: update Vulkan-Headers and VulkanMemoryAllocator
2023-05-31 17:03:20 +02:00
Eric Warmenhoven
ce0354f294
Fix libretro build on apple platforms
2023-05-31 17:02:49 +02:00
Flyinghead
231a1b624f
maple: fishing controller vibration pack, analog to dpad
...
refactoring to avoid duplicate code
2023-05-31 17:01:54 +02:00
Flyinghead
9b8fd39d12
libelf: make static lib
...
gentoo builds shared libs by default
2023-05-31 16:54:48 +02:00
Flyinghead
90c4e42c11
naomi: add mushikk, mushikc and mushik2k
...
cheats for mushikk and mushikc rfid check
mushik2k needs rev.H korean bios and won't boot
2023-05-31 16:53:49 +02:00
flyinghead
ee806bc035
Merge pull request #1090 from flyinghead/dev
...
Merge dev branch: f355 multiboard, manic panic, touch de uno, vf4 netdimm, ...
2023-05-30 15:51:35 +02:00
Flyinghead
d76611730e
scraper: check for null disc after opening
...
Fixes MINIDUMP-11H
2023-05-29 17:34:29 +02:00
Flyinghead
bdd677d66a
ui: disable non-functional Dreameye maple device
...
Fix for MINIDUMP-127
2023-05-29 17:31:55 +02:00
Flyinghead
2299c9fade
gl: detach and delete shaders after linking program
...
Fix attempt for MINIDUMP-RA, MINIDUMP-RM, MINIDUMP-Y7
2023-05-29 17:28:28 +02:00
885714e883
Support for Maracas & Pop'n Music controllers, WIP for others ( #1035 )
...
Racing controller, fishing controller and Densha de Go controller
Co-authored-by: Ricardo <[email protected] >
Co-authored-by: Flyinghead <[email protected] >
2023-05-29 12:45:34 +02:00
Flyinghead
f95c7212bf
gcc13 build fix
2023-05-28 11:43:58 +02:00
Flyinghead
bb0da9488f
bump glslang to 12.2.0
...
Fix gcc13 compile error
2023-05-28 10:56:14 +02:00
Flyinghead
1aeacb0297
android: storage::getSubPath can throw
2023-05-28 10:52:16 +02:00
github-actions[bot]
b92b7a3ece
Fetch translations & Recreate libretro_core_options_intl.h
2023-05-26 22:19:12 +00:00
Flyinghead
0a1fe0135f
lr: default language=EN, region=USA. TrickStyle fix
...
libretro: set default language to English and default region to USA.
Same as standalone.
Force language to English for TrickStyle (US)
Issue #1082
2023-05-25 13:18:42 +02:00
Flyinghead
4391058563
aica: dma cycles schedule tweak
...
Increase lower limit to schedule dma callback from 224 to 513
Fixes freeze/crash in Nomad Soul
Issue #1080
2023-05-25 13:02:14 +02:00
Flyinghead
ea9bdd03e4
Merge remote-tracking branch 'origin/master' into dev
2023-05-24 10:44:14 +02:00
Flyinghead
ed99c96232
mmu: slow mmu build fix
2023-05-24 10:43:20 +02:00
Flyinghead
755e17dc97
rend: fix clipping edge case
...
Fixes some transitions in Bokomu no Tatsujin
Issue #1072
2023-05-24 10:31:55 +02:00
Edward Li
76af42ae6e
Latest Vulkan SDK has a new volume name VulkanSDK
2023-05-23 10:21:40 +02:00
A-w-x
e94babe57e
update breakpad submodule
2023-05-22 20:37:57 +02:00
Flyinghead
416e4c5366
appimage: AppImageKit-checkrt -> linuxdeploy-plugin-checkrt
2023-05-22 15:55:57 +02:00
Flyinghead
6b9840268f
vf4: fix networking on windows (vanilla, evo). Add eeprom and nvmem
...
connect returns EWOULDBLOCK instead of EINPROGRESS on windows
add eeproms for vf4, vf4evo and vf4tuned (2-player cabinet)
add nvmems for vf4, vf4evob and vf4tuned (network & card readers
enabled, all day card schedule, stage select, ...)
2023-05-20 11:19:26 +02:00
github-actions[bot]
415d8c2ea3
Fetch translations & Recreate libretro_core_options_intl.h
2023-05-19 22:19:19 +00:00
Flyinghead
3f456c6738
vf4: insert card now ejects the card if already inserted
...
support vf4 card renewal
2023-05-19 17:45:18 +02:00
Flyinghead
59480ea5a6
gdrom: force ADR to 1 for all tracks in TOC. Set lead-out as data
...
Fixes gdrom check in Eldorado Gate 4 to 7
Issue #1043
2023-05-17 16:30:24 +02:00
Flyinghead
920666bc70
rent a hero 1: hle bios fix
...
Issue #1070
2023-05-17 16:20:46 +02:00
Flyinghead
eebcb322cf
vk: imgui crash during start up
...
font tex id must be nulled when destroying vk objects
2023-05-16 16:36:56 +02:00
scribam
04b0489ff3
deps: update imgui_impl_vulkan.*
2023-05-16 14:51:03 +02:00
scribam
dd5f44ff91
deps: update imgui_impl_dx*
2023-05-16 14:51:03 +02:00
Flyinghead
a7b89ba06a
android: don't get null array region in jni_util
...
Fixes MINIDUMP-YY
2023-05-16 14:45:31 +02:00
Flyinghead
e5344d37d0
gdrom: fix cdda restart. revert previous change. fix hle pause/release
...
Revert changes from Issue #690
Fixes cdda restart in Mr.Driller, Bust-a-move 4, Wetrix+ and Reel
fishing. Issue #1019
hle: returning current cdda information fixes the pause/release issue
2023-05-16 14:33:33 +02:00
Flyinghead
c07f862ef2
ggpo: exchange vf4 cards when starting the session
2023-05-16 09:43:21 +02:00
Flyinghead
8b0add47a2
revolt(jp): scale down depth to avoid menu glitch
...
This game uses large depth values in the menus (2000000)
Issue #1065
2023-05-14 17:34:30 +02:00
Flyinghead
fe9ce46ab1
pvr: don't crash when hblank int mode is invalid or unsupported
...
Fixes MINIDUMP-ZE
2023-05-14 16:42:14 +02:00
Flyinghead
01c5c98396
pvr: check current ta context index when deserializing
...
Fixes MINIDUMP-YS
2023-05-14 16:40:36 +02:00
Flyinghead
d00f07acb8
naomi: check cart malloc
...
Fixes MINIDUMP-QW
2023-05-14 16:36:14 +02:00
Flyinghead
83bfa9158d
aica: don't crash if AFSEL=1
...
Fixes MINIDUMP-XW
2023-05-14 16:22:10 +02:00
Flyinghead
ac2637286b
Merge remote-tracking branch 'origin/master' into dev
2023-05-13 15:55:47 +02:00
flyinghead
541544292a
dx11 oit: resize to null width and height when rendering to texture
...
Regression introduced by d2e8c9465b
Issue #974
2023-05-13 15:09:27 +02:00
github-actions[bot]
97bd3fc082
Fetch translations & Recreate libretro_core_options_intl.h
2023-05-12 22:19:18 +00:00
scribam
71ce2a2415
cmake: use c++17 globally
2023-05-12 10:46:48 +02:00
Flyinghead
4b0d377e66
pvr: don't clip negative depth vertices
...
Fixes baserunner cams depth in World Series Baseball 2K1
Issue #1027
2023-05-12 10:20:46 +02:00
Flyinghead
ae2bc8182f
pvr: FB_W_CTRL.fb_alpha_threshold comparison is greater or equal
...
Fixes black tile under player feet in Izumo.
Force CopyToVRAM.
Issue #1040
2023-05-12 10:13:48 +02:00
Flyinghead
d9ec14e048
rend: rtt can also use SCALER_CTL.hscale
...
Issue #1025
2023-05-09 21:28:22 +02:00
Flyinghead
c0f0a758df
pvr: treat nan intensity as max. avoid nullptr crash in appendSpriteVtx
...
Fixes Gaiamaster Kessen! black texture. Issue #1021
Fix for MINIDUMP-RC
2023-05-09 21:07:40 +02:00
Eric Warmenhoven
06270e66c8
Build tvOS libretro core
2023-05-08 20:36:40 +02:00
Flyinghead
75fe707de3
bios font kanji row 66 was incorrect
...
Issue #1059
2023-05-07 21:58:54 +02:00
Flyinghead
1a5a2f64d4
naomi: insert card button compatibility with ggpo
...
handle insert card button like standard naomi buttons so it can be used
with ggpo
load card data when it's inserted, not before
2023-05-06 20:54:45 +02:00
scribam
220fd51b27
deps: gather backends under imgui/backends directory
...
stay consistent with upstream
2023-05-04 09:26:01 +02:00
scribam
29cdc77817
deps: update implot
2023-05-04 09:26:01 +02:00
scribam
483c59f2e4
deps: update imgui to version v1.89.5
2023-05-04 09:26:01 +02:00
scribam
1fdab613fd
deps: update glslang and Vulkan-Headers to sdk-1.3.243.0
2023-05-04 09:25:24 +02:00
scribam
539b9e7746
cmake: improve target architecture detection
2023-05-04 09:24:48 +02:00
scribam
045f693eef
ci: use freebsd 13.2
...
remove unused png package
2023-05-02 09:46:28 +02:00
scribam
3192f84576
remove unused iconv.h include
2023-05-02 09:45:54 +02:00
Flyinghead
27038d4cf9
fix test
2023-04-29 18:02:26 +02:00
scribam
4acb670b88
netbsd build fix
2023-04-29 17:51:25 +02:00
Flyinghead
79b9b49218
naomi: netdimm net client and rfid card reader emulation
...
high-level emulation of netdimm v3.17 net client lib
vf4/mushiking rfid card reader emulation
2023-04-29 17:50:56 +02:00
Eric Warmenhoven
5f161df06b
libretro: Don't use Xcode cmake generator for iOS
2023-04-28 19:59:43 +02:00
Eric Warmenhoven
fc3b9046d8
Build fix: iOS libretro core using Xcode 12.2
2023-04-27 18:37:44 +02:00
Flyinghead
754d2a53a0
add mazan nvmem with sword calibrated and free play enabled
2023-04-26 20:20:40 +02:00
Flyinghead
e913bae9e3
alienfnt: handle +++ modem escape sequences
...
Allow modem to start when returning from test mode
2023-04-26 20:17:19 +02:00
Flyinghead
22d228c1b0
imgui: don't send X button events to avoid the nav window popping up
...
Issue #1034
2023-04-26 20:14:18 +02:00
Eric Warmenhoven
d3a3cab425
Build iOS libretro core
2023-04-26 14:39:04 +02:00
Eric Warmenhoven
1fe7352ed0
libretro: avoid exporting symbols on osx
...
On Mac when running a debug build of flycast and retroarch in the
debugger, it gets confused about which glsl to pick. The easiest way
to fix this is to build the flycast core in a way where it's only
exporting symbols that are going to be called by retroarch directly.
2023-04-26 14:39:04 +02:00
Flyinghead
9d1a5cf0d3
ui: allow horizontal screen stretching up to 250%
...
Issue #1012
Issue #609
2023-04-24 17:41:42 +02:00
Flyinghead
c8a45d95a7
dynarec: fix mov64 edge case when registers must be swapped
...
Handle case where mov64 must swap its operands depending on register
allocation.
Fix canonical call for FSCA when return operands are register-allocated.
Issue #1020
2023-04-24 17:38:49 +02:00
Flyinghead
92a1c1891b
alienfnt: support for serial modem and worldwide ranking server
...
Emulate modem on sh4 serial port.
Use picotcp stack to handle ppp protocol.
Include nvmem with network settings (server at alienfront.duckdns.org,
disabled by default).
2023-04-16 15:41:54 +02:00
Flyinghead
858174791f
disable multiboard on openbsd and netbsd
...
for lack of interprocess mutexes
2023-04-15 15:45:11 +02:00
Flyinghead
fb4e653269
lr: crosshair not transparent with vk. Mazan can be played with gamepad
...
Use transparent quad pipeline to draw crosshairs and vmus
Allow mazan and touchscreen games (manic panic, tduno, ...) to be played
with a gamepad.
2023-04-15 15:45:11 +02:00
scribam
210100a108
naomi: netbsd/openbsd pthread fixes
...
These systems do not have pthread_condattr_setpshared/pthread_mutexattr_setpshared
2023-04-13 18:10:19 +02:00
Flyinghead
edd1487378
gl: powervr2 filter has some uninitialized vecs
...
Issue #1005
2023-04-13 18:07:17 +02:00
Flyinghead
68f4ce1ec5
naomi: fix multiboard slave not starting
...
regression due to 87fdd203b5
2023-04-13 18:03:41 +02:00
Flyinghead
c3c355a8c5
android: use jni helper. better support for arrays and global refs.
2023-04-12 10:22:38 +02:00
Flyinghead
70d3e221a9
mushiking series support
...
Emulate barcode reader. UI to input card id.
scif: SCFSR2.DR should also trigger an interrupt. Fixes the partial read
issue with manic panic ghosts touchscreen.
Add default implementations in SerialPipe for read-only and write-only
devices.
Fix card jammed error in mushiking with custom input code.
Add mushi2k61 and mushi2k62 to naomi rom list.
Cheats to skip rfid check.
2023-04-12 10:09:21 +02:00
Flyinghead
b556617e1d
sh4: only reset serial pipe on hard reset
...
See d3690b12c6
2023-04-09 20:56:14 +02:00
Flyinghead
e327172fd0
sh4: check access length when getting a ram pointer with GetMemPtr
...
Check access length and return nullptr if overflowing ram.
Fix ch2-dma code accordingly.
Fixes MINIDUMP-GX
2023-04-09 20:47:12 +02:00
Flyinghead
c5f82483e6
naomi: fix multiboard windows position
...
Position slave windows over master.
Support any window width.
2023-04-09 20:28:10 +02:00
Flyinghead
a418b05272
ui: make cheat list touch-scrollable
2023-04-09 20:20:07 +02:00
Flyinghead
5c3f66fe05
ui: ignore inaccessible content path when scanning for games
2023-04-09 20:18:56 +02:00
Flyinghead
81ce3f7d10
msvc32 build fix
2023-04-08 19:11:21 +02:00
scribam
64cfba735e
deps: update sdl to version 2.26.5
2023-04-08 18:38:35 +02:00
scribam
8828b4fe52
deps: update implot to fix IMGUI_DEFINE_MATH_OPERATORS requirements
2023-04-08 18:38:26 +02:00
Flyinghead
87fdd203b5
android scoped storage (ASS) support
...
introduce Storage abstraction interfaces
use Storage i/f to load zip and 7z archives, cdi/cue/gdi/chd media,
cheats and to find custom textures.
Use android file picker to add storage. Request persisted access perms.
jni helper classes.
Issue #813
2023-04-08 18:37:50 +02:00
Flyinghead
187674ddac
uTip is no more
2023-04-04 22:37:06 +02:00
Flyinghead
f94a08f12f
mmu: avoid crash due to approximative fast mmu matching
...
Fixes MINIDUMP-EA (Sonic Shuffle)
2023-04-02 22:06:22 +02:00
Flyinghead
252ad711f1
vk: throw if vmaMapMemory fails
...
MINIDUMP-PX
2023-04-02 22:02:53 +02:00
github-actions[bot]
9d6bfd4786
Fetch translations & Recreate libretro_core_options_intl.h
2023-03-31 22:19:08 +00:00
Flyinghead
d3690b12c6
net: don't reset naomi network on soft reset (maxspeed)
...
Resetting makes maxspeed crash as the serial pipe isn't reset and
becomes invalid.
Fixes MINIDUMP-PJ
2023-03-31 20:09:33 +02:00
Flyinghead
32e08ca165
modem: don't crash on unexpected register writes
...
Just log and ignore.
Fixes MINIDUMP-62
2023-03-31 20:03:16 +02:00
Flyinghead
bc4f8fbe60
dx11: enable depth writing in oit pass
...
Make sure both depth attachments are identical at the end of each pass.
Issue #996
2023-03-31 20:01:12 +02:00
scribam
fd3deeb318
ci: bump aws-actions/configure-aws-credentials
2023-03-30 17:32:01 +02:00
Flyinghead
7108358ebd
Merge remote-tracking branch 'origin/master' into dev
2023-03-30 17:31:22 +02:00
Flyinghead
98daea0e97
bios font: fix row E0 and F0 of the katakana half-width code page
2023-03-30 17:26:28 +02:00
Flyinghead
48acb03b81
underclock/overclock SH4 option
...
Increase/reduce the dynarec cycle count for each block.
Issue #210
2023-03-30 17:22:24 +02:00
Flyinghead
08ac485eac
ui: fix drag scrolling and imgui gl renderer. use imgui events
...
Missing call to KeepAliveID was preventing drag scrolling in empty
areas. Also check for HoveredIdDisabled to allow scrolling by dragging
disabled items and enable HoveredIdAllowOverlap.
imgui gl renderer: use ImDrawCmd::IdxOffset instead of counting
manually. Use correct alpha blending function.
Use imgui events for all input. Simplify keyboard input by getting rid
of modifiers.
Enable flat navigation in content window.
Add format string to OptionSlider.
2023-03-30 16:54:54 +02:00
Flyinghead
c033a81eca
get rid of KeyboardDeviceTemplate
2023-03-29 16:48:46 +02:00
Flyinghead
5df9127add
vk: enable depth writing in oit pass so
...
Make sure both depth attachments are the same at the end of each pass.
Get rid of unneeded depth dependency/transition.
Issue #996
2023-03-28 21:20:37 +02:00
Flyinghead
b9e9cc534c
lr: build fix when USE_OPENGL=OFF
...
Issue #997
2023-03-28 21:07:50 +02:00
Flyinghead
79be464326
aica: proper write mask on aica dma address registers
...
Fixes MINIDUMP-P3
2023-03-28 21:05:18 +02:00
Flyinghead
f67aad0b2d
pvr: don't wait if Present msg is already in the queue
...
Only Render* msgs are an issue when piling up on slow platforms.
Fixes frame skipping only working when delay frame swap is on
Issue #975
2023-03-28 21:01:56 +02:00
Flyinghead
55b36fe719
dx11: revert 47a33f97f9
...
Issue #865
2023-03-28 20:55:56 +02:00
scribam
7cce77cccd
android: update android gradle plugin to version 7.4.2
2023-03-27 16:59:35 +02:00
scribam
170f794c3a
deps: remove imgui obsolete keyio functions
...
Fix compilation with #define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2023-03-27 16:59:06 +02:00
scribam
ae4bd79ca1
deps: remove imgui obsolete functions
...
Fix compilation with #define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2023-03-27 16:59:06 +02:00
Flyinghead
d76982bbeb
naomi,aw: embed default flash for some games
...
Needed to configure network on first run.
2023-03-27 16:57:48 +02:00
Flyinghead
fb4229c4ae
support for daytona usa networking
2023-03-27 16:45:25 +02:00
Flyinghead
caec338d25
dx9, dx11: video shift support
...
Shift the framebuffer according to VO_STARTX and VO_STARTY.
Issue #594
lr: draw overlay and manage shifting in dx11 context
2023-03-27 16:41:59 +02:00
Flyinghead
b94200233d
vk: video shift support. refactor lr vk context
...
Shift the framebuffer according to VO_STARTX and VO_STARTY.
Issue #594
lr: draw overlay and manage shifting in vk context
2023-03-27 16:38:15 +02:00
Flyinghead
eb3ebe24e8
gl,gl4: video shift support, fix powervr filter, refactor lr osd
...
Shift the framebuffer according to VO_STARTX and VO_STARTY.
Issue #594
GlVertexArray class to handle vertex arrays (or lack thereof)
lr: Fix PowerVR2 filter including in full fb emu mode. Use quad to draw
vmus and lightgun xhairs.
2023-03-27 16:31:57 +02:00
Flyinghead
4514a4bfcc
libretro: lightgun with gamepad fixes. Lightgun with touchscreen support
...
Lightgun with gamepad: fix reload, fix trigger and buttons on AW
Issue #881
Support for lr pointer device for lightgun with touchscreen.
Issue #604
2023-03-25 11:52:18 +01:00
Flyinghead
5e4e48fffe
mmu: don't crash when table full, just ignore
...
Fixes MINIDUMP-NF
2023-03-25 11:45:03 +01:00
Flyinghead
47a33f97f9
dx11: disable texture support check on uwp/xbox
...
Tentative fix for Issue #865
2023-03-25 11:43:17 +01:00
Flyinghead
b36ef9da1e
libretro: use gamepad left analog stick for lightgun coordinates
...
Issue #881
2023-03-24 11:59:46 +01:00
Flyinghead
068861d0cc
pvr: mask low address bits according to 32-bit vram access size
...
Avoid crash when accessing the very last vram byte with short or int.
Correct behavior should be to raise an sh4 address exception.
Fixes MINIDUMP-N2
2023-03-24 11:53:38 +01:00
Flyinghead
f2f8f3ccd2
bump libchdr to latest
...
commit 8e09bf2b
Fixes MINIDUMP-HD, MINIDUMP-M8
2023-03-24 11:48:52 +01:00
Flyinghead
2d7a1ce71a
atomiswave: fix failure to identify the game
...
regression by 78f80eb7dc
2023-03-23 09:45:25 +01:00
Flyinghead
74d72eb257
imgui: fix gamepad navigation
...
Issue #986
2023-03-23 09:39:25 +01:00
Flyinghead
9512ee657a
Allox f355 deluxe to run with only one screen
2023-03-22 19:01:34 +01:00
Flyinghead
78f80eb7dc
naomi: printer support for f355 and tduno[2]. Fix some bios font glyphs
...
Thermal printer support for f355 (G2 ext bus) and tduno[2] (maple JVS)
Change game id for sgdrvsim and dragntr3 to distinguish them.
Fix cyrillic page in BIOS font.
2023-03-22 19:00:50 +01:00
Flyinghead
fa525b4488
Fix hotd2p inputs
...
Issue #731
2023-03-22 15:36:10 +01:00
Flyinghead
ee3e83e09c
Fix loading of Sega Yonin Uchi Mahjong MJ (mj1)
...
gd cart: load first .bin if the specified one isn't found. Fix loading
of main directory for mj1. Don't update progress too often when
decrypting.
chd: allow loading of 1-track CD-ROMs
Use 2 jvs boards for mj1
Issue #985
2023-03-22 13:00:59 +01:00
Flyinghead
ea4354ba2e
Shin Nihon Pro Wrestling 4 crashes with RGB component
...
Force TV Composite instead
2023-03-21 11:36:47 +01:00
Flyinghead
5c5c872afc
aica: small dma transfer must be correctly scheduled
...
Previously transfer taking less than 4096 cycles would be instantly
executed.
Fixes Sports Jam announcer broken audio.
Issue #980
2023-03-21 11:32:21 +01:00
Flyinghead
9f2ffd102c
oit: Can't discard pixel in pixel shader when using 2ndary accumulator
...
When using the secondary accumulator as source or destination, pixel
must not be discarded even if blending results in a nop. Doing so
cancels the transfer to/from the accumulator.
Issue #979
dx11 oit: use FAILED to detect pixel shader creation error. Log error
codes when Buffers::init fails.
2023-03-21 11:22:04 +01:00
scribam
34f8941868
deps: apply drag scrolling custom code to imgui
2023-03-20 16:52:51 +01:00
scribam
07b217d9f8
deps: update imgui to version 1.89.4
2023-03-20 16:52:51 +01:00
Flyinghead
cb83d319b9
naomi: 4-player and eeprom fixes
...
Add 4-player support to Dirty Pigskin Football, WFF Royal Rumble, World
kicks PCB and Beach Spikers.
Fix several bugs in initEeprom and force 4-player cab when needed.
Get rid of pstone, pstone2 and ringout default eeproms.
2023-03-20 12:35:36 +01:00
scribam
23daa3efdf
deps: use latest stable release for oboe (1.7.0)
2023-03-18 16:11:41 +01:00
scribam
3a1ffceb58
deps: update glslang and Vulkan-Headers to sdk-1.3.239.0
2023-03-18 16:11:41 +01:00
scribam
f3431bd95d
deps: update sdl to version 2.26.2
2023-03-18 16:11:41 +01:00
Flyinghead
01c7250be2
hle bios: add latin-1, jis x0201 and jis x0208 glyphs to bios font
...
Use CMakeRC to embed font binary file
2023-03-18 16:11:03 +01:00
github-actions[bot]
e6bc36e110
Fetch translations & Recreate libretro_core_options_intl.h
2023-03-17 22:20:03 +00:00
Flyinghead
afc1f5f4e1
Merge remote-tracking branch 'origin/master' into dev
2023-03-15 21:09:47 +01:00
Flyinghead
4a2ad8b145
pvr: SortedTriangle has unsafe pointer to PolyParam
...
std::vector elements can be reallocated. Use index instead of pointer.
2023-03-15 20:58:12 +01:00
Flyinghead
17ab0aba26
dx11,dx9: Force ignoreTexAlpha if texture doesn't have an alpha channel
...
The supporting texture might have one if converted but it shouldn't be
used.
Fixes cinematic scenes in Alone in the Dark.
Issue #974
2023-03-13 21:12:39 +01:00
Flyinghead
cc1b45b7cc
texture corruption after load state regression. wince depth scale change
...
Texture weren't updated after loading a state. Regression introduced by
942224c685 .
Change Windows CE depth scale from 0.1 to 0.01 to fix black screen FMV
on AMD and Intel GPUs. Issue #973
2023-03-13 21:03:16 +01:00
Flyinghead
4d990947de
sgdrvsim: display or network broadcast speedometer and tachometer
...
Display speedometer value, or network broadcast speedo and tacho on port
8002 (slave 2) if option is set
2023-03-13 17:45:12 +01:00
Flyinghead
5542d6db21
picotcp: full deinit when terminating
...
New pico_stack_deinit() function to fully deinit picotcp. Need to call
pico_stack_init when restarting.
Get rid of dns client
Tentative fix for MINIDUMP-G6, MINIDUMP-J0, MINIDUMP-HY, MINIDUMP-G5,
MINIDUMP-J0, MINIDUMP-HY, MINIDUMP-FP, MINIDUMP-F7, MINIDUMP-9H,
MINIDUMP-CB, MINIDUMP-CE; MINIDUMP-B3, MINIDUMP-1Y, MINIDUMP-A7,
MINIDUMP-9M
2023-03-13 17:36:32 +01:00
Flyinghead
8ca89ead0e
Enable RTT Copy to VRAM for Shenmue
...
Fixes Space Harrier mini arcade game.
Issue #967
2023-03-12 16:06:05 +01:00
Flyinghead
ebf5f24487
ui: reduce boxart image size. Avoid crash with invalid option values
...
Reduce boxart image size from 200 to 150.
Avoid under/overflowing label tables with invalid option values when
using combo boxes.
Fixes MINIDUMP-GK
2023-03-12 16:04:05 +01:00
Flyinghead
90269d5204
vk oit: reset all pipelines on init/reset
...
Avoid validation errors when switching to/from RTT Copy to VRAM
2023-03-12 16:00:49 +01:00
Flyinghead
e4332f6275
tex: ignore stride if 0. renderer: ignore invalid textures
...
Ignore StrideSel if 0 during texture update and use width instead.
Return false from BaseTextureCacheData::Update() if texture is invalid.
Make sure valid textures have non-null height and size.
gl,vk,dx9,dx11: ignore invalid textures
Fixes MINIDUMP-GP
2023-03-12 15:58:56 +01:00
Flyinghead
cd7168772d
reios: crash when CDDA play with no disk
...
Fixes MINIDUMP-HW
2023-03-12 15:51:05 +01:00
Flyinghead
77ded80450
cdi: check each track sector size when opening
...
Fixes MINIDUMP-J4
2023-03-12 15:48:13 +01:00
github-actions[bot]
fbc69b6ae1
Fetch translations & Recreate libretro_core_options_intl.h
2023-03-10 22:20:01 +00:00
Flyinghead
ea7dd699b9
only launch sgdrvsim slaves on desktop platforms
2023-03-10 18:10:57 +01:00
Flyinghead
018a852995
network: naomi net was closing stdin. Slaves don't broadcast outputs
...
naomi network: Initialize socket to -1. Only close if valid.
Multiboard or sgdrvsim slaves don't broadcast digital outputs
Don't save slave windows position
2023-03-10 18:01:49 +01:00
Flyinghead
8a28ddbfe6
jvs: allow p2 buttons to be always on. sgdrvsim improvements
...
jvs: allow button mapped to jvs P2 to be always on. Don't overflow
button descriptors table
midiffb: invert axis if needed
Launch sgdrvsim network instances automatically. Remap some buttons and
make some always on.
2023-03-10 17:57:27 +01:00
Flyinghead
f186046c98
partial support for sega driving simulator
2023-03-09 17:54:57 +01:00
Flyinghead
5644e834fa
x86 dynarec: use UpdateSystem_INTC like other recs
...
get rid of unused rdv_DoInterrupts and rdv_DoInterrupts_pc
2023-03-09 09:37:48 +01:00
Flyinghead
0b1f69bfd2
dynarec: more accurate cycle counting. limit code duplication
...
arm, arm64, x86: only account for current block cycles if block is
executed. Test cycle_counter before updating it.
arm, arm64: use function for mmu block check (vaddr and FPU ops) to
reduce host code size per block.
2023-03-08 19:24:49 +01:00
Flyinghead
4eb5cd928e
nuke rec-cpp
2023-03-08 18:56:26 +01:00
Flyinghead
b8d47fe0a8
sh4 dmac: more accurate implementation. Fixes sh4_dmac_demo.elf
2023-03-07 18:38:41 +01:00
Flyinghead
abcd9d77d4
set some global to static
2023-03-07 18:36:26 +01:00
Flyinghead
095e5ede81
sh4: more accurate cycle counting
...
get rid of float ops hack for dead or alive 2
get rid of idle skip option and code block hashing
count cycles for high-level wince functions and handlers (GetTickCount,
QueryPerformanceCounter and TLB_MISS handler)
Fixes Dave Mirra Freestyle BMX time counter running too fast.
More FPS for many wince games. Better wince perf on slow devices.
2023-03-07 18:35:01 +01:00
flyinghead
52754cbbbb
win32 lr build fix
2023-03-07 14:26:04 +01:00
Flyinghead
ea9d048bc9
appimage: don't run checkrt on SteamOS
...
when checkrt calls dlmopen("libstdc++.so.6") for the second time, the
call gets stuck in an error loop and never returns.
Issue #929
2023-03-07 13:48:30 +01:00
Flyinghead
942224c685
in single threaded, only defer emu stop on android
...
on other platforms, render() won't be called => audio not terminated,
rom files not saved, pause event missed
unprotect memory and reset memwatch before loading a state
2023-03-07 13:43:22 +01:00
Flyinghead
670a25b039
dx11: dynamically load d3dcompiler_47/46.dll to avoid old versions
...
Fixes MINIDUMP-8H, MINIDUMP-CD
2023-03-07 13:35:15 +01:00
Flyinghead
cab02c86bc
android: only restart if game is running
...
Fixes MINIDUMP-G1, MINIDUMP-FV, MINIDUMP-FY, MINIDUMP-FD, MINIDUMP-F2,
MINIDUMP-EN
2023-03-06 17:02:01 +01:00
Flyinghead
b4a67460e0
cmake switch and bsd fix
2023-03-06 16:23:51 +01:00
Gabriel Morazán
b56750df30
(UWP) AppxManifest Tweaks
2023-03-06 10:31:09 +01:00
Flyinghead
aa5fd64777
dx11: use FAILED() macro instead of != S_OK
...
Tentative fix for MINIDUMP-FG
2023-03-06 10:30:33 +01:00
Flyinghead
5a13b4df28
cmake: add option to force use of host sdl library
...
Issue #928
2023-03-06 10:28:39 +01:00
Flyinghead
67bba95dd1
dmac: set DMAOR.AE and raised interrupt if ch2 address error
...
Fixes crackin'dj 1 & 2 freeze at boot
Regression introduced by 66eb08f2d1
2023-03-06 10:26:52 +01:00
Flyinghead
cd6152b193
per-game vmu A1 option
...
When enabled, each game has its own A1 vmu file.
Issue #555
2023-03-05 15:32:47 +01:00
Flyinghead
67c070c20f
naomi: display crosshair for touchscreen games
2023-03-05 15:13:18 +01:00
Flyinghead
2355bb8bb5
pvr: drop more vertices with large x and y
...
Fixes Manic Panic Ghosts bogus transparent rectangles in first stage
2023-03-05 15:08:17 +01:00
Flyinghead
c4d24254db
naomi2: FFB support for Club Kart and King of Route 66
2023-03-04 17:45:53 +01:00
namtsui
27b6bafd0f
vendor newest libelf ( #955 )
...
* vendor newest libelf
source:
https://github.com/seL4/util_libs/tree/2d5b59c99a93507266c10efe50760f25b7d73728/libelf
* use exec_elf.h from openbsd to define structs
* libelf: build fixes
- do not link against muslc.
- windows and apple use bundled exec_elf.h.
- casts added like the old elf32.h, elf64.h and elf.c so pointer
arithmetic works. otherwise some compilers complain about void*.
- remove unused bits of exec_elf.h and added typedefs.
* adapt CMakeLists.txt to use libelf's CMakeLists.txt
* adapt reios_loadElf() to new libelf API
2023-03-03 16:05:12 +01:00
Eric Warmenhoven
9cbdcc6260
Only compile x86_64 for osx-x86_64, rather than universal
2023-03-02 08:04:01 +01:00
Flyinghead
192bbb715e
input: use gamepad left stick for abs/lightgun coordinates
...
Issue #881
2023-03-01 21:48:51 +01:00
Flyinghead
014da3a225
naomi: network output FFB for 18 wheeler and f355
2023-02-28 20:23:58 +01:00
Flyinghead
803f4cd298
controller bindings for load and save state
...
Issue #615
2023-02-28 20:21:29 +01:00
Flyinghead
885a0508c0
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/hw/aica/sgc_if.cpp
# core/hw/naomi/naomi.cpp
# core/hw/sh4/dyna/driver.cpp
2023-02-28 20:02:23 +01:00
namtsui
a1472fb190
OpenBSD 7.2 patches ( #953 )
...
* OpenBSD: BSS is immutable so mark it as mutable so that mprotect RWX works
see: mimmutable(1)
https://github.com/google/syzkaller/commit/bc009f82ea71c399f19eef28f115ff5cda7be4ba
* OpenBSD does not have mcontext_t
<signal.h> provides `typedef struct sigcontext ucontext_t;'.
take register names from <machine/signal.h>, which provides struct
sigcontext.
see:
https://github.com/RPCS3/rpcs3/commit/1a13d3ae4e28fc46baef52086c64189f84cf2b9f
* OpenBSD uses major.minor for shared libs, so properly dlopen libGL.so
* OpenBSD remove redefinition of swap16
* OpenBSD: SDL2 controller detection
Use sdl_open_joystick() to open controllers on startup instead of
SDL_JOYDEVICEADDED event, which never gets detected.
* OpenBSD does not have mcontext_t but linux does
2023-02-28 18:22:45 +01:00
Flyinghead
b86df7217c
sdl: don't add a joystick if its name can't be retrieved
...
Otherwise it crashes later on during SDL_JoystickClose
Fixes MINIDUMP-9K, MINIDUMP-B4
2023-02-27 17:59:48 +01:00
Flyinghead
26815d042a
arcade ouput: send game name before any output
...
Send the game id before any output to inform clients of the current
running game.
2023-02-27 17:46:00 +01:00
Flyinghead
026f21eddf
naomi: report error if rom is invalid instead of crashing
...
Fixes MINIDUMP-CS
2023-02-27 17:43:08 +01:00
Flyinghead
30501aebb1
Race condition when stopping while emu is failing
...
Emulator::stop now throws if an error occurred on the emu thread.
Fixes MINIDUMP-5B
2023-02-26 22:01:32 +01:00
Flyinghead
4014b1b574
lr: libchdr win32 build fix
2023-02-24 22:11:41 +01:00
Flyinghead
8d54382b10
aica: apply RAM mask to sample address (SA)
...
Fixes MINIDUMP-B9
2023-02-24 21:24:56 +01:00
Flyinghead
47dd8241b6
dx11: log error code
2023-02-24 21:14:01 +01:00
Flyinghead
195da2adcc
oboe: device lost detection might be triggered while stopping
...
Fixes MINIDUMP-BD
2023-02-24 21:11:47 +01:00
Flyinghead
2b430eec6f
gui: stop game scanner when exiting
2023-02-24 18:44:45 +01:00
Flyinghead
d51e36998b
bump libchdr to latest. add switch build fix
...
Issue #895
Fixes MINIDUMP-5C, MINIDUMP-4C, MINIDUMP-3G, MINIDUMP-3H, MINIDUMP-8C,
MINIDUMP-AP, MINIDUMP-AN, MINIDUMP-AM, MINIDUMP-AA
2023-02-24 18:44:06 +01:00
scribam
a970a1263c
ci: update mathieu-bour/setup-sentry-cli
2023-02-22 18:03:37 +01:00
Flyinghead
cf9ccea70b
texcache: unprotect vram immediately even if actual Delete is delayed
...
Fixes MINIDUMP-A5, MINIDUMP-AF
2023-02-22 17:57:31 +01:00
Flyinghead
f885cbb4ea
reios: don't crash if system settngs can't be read from flash
...
Log a warning and proceed. This can happen if the flashrom is corrupted.
Fixes MINIDUMP-9W
2023-02-22 17:51:25 +01:00
Flyinghead
97dfabc416
pvr: don't reset TA parser during soft reset
...
Rendering might be in progress in another thread and this leads to
crashes.
Fixes MINIDUMP-AW and MINIDUMP-AY
2023-02-22 17:49:01 +01:00
Flyinghead
8d2b0749a0
gl: vmu and lightgun xhair not rendered if switching renderer
2023-02-22 17:46:14 +01:00
Flyinghead
a3acf4a8cc
gl: don't use glIsProgram to avoid Adreno 308 random failures
...
Adreno 308 randomly return false from glIsProgram on valid programs
Fixes MINIDUMP-A1 and MINIDUMP-AX
2023-02-22 17:44:17 +01:00
scribam
e505ab6019
safe usage of std::isalnum/std::print
2023-02-20 22:57:24 +01:00
Flyinghead
9b24984b07
crash when switching to full mmu
...
The MMU now has a state variable, which must be set before the dynarec
is reset.
Regression in afcb3b7ad8
Fixes MINIDUMP-AZ, MINIDUMP-B7, MINIDUMP-B0
2023-02-20 22:56:23 +01:00
Flyinghead
7ce08ea860
Fix Touch de Uno 1 & 2 inputs
...
Fix touchscreen touch detection
Default eeproms with calibrated touchscreen and disabled printer
2023-02-20 11:14:02 +01:00
Flyinghead
a156edbd73
Merge remote-tracking branch 'origin/master' into dev
2023-02-19 14:10:37 +01:00
Flyinghead
9dae5827cc
naomi: touchscreen emulation for manic panic ghosts and touch de zunou
2023-02-19 13:51:23 +01:00
Flyinghead
5da799244f
rend: fix regression on YUV texture conversion
...
std::clamp wrong parameters order in d8137a967c
2023-02-18 22:44:44 +01:00
Flyinghead
bf79183bd6
mmu: max alignment requirement is 32-bit
...
a 64-bit access only needs to be 32-bit aligned.
use enum for mmu errors
2023-02-18 13:33:38 +01:00
Flyinghead
afcb3b7ad8
mmu: get rid of FullMMU option. Detect wince with string id in ram
...
ForceWindowsCE now just sets ExtraDepthScale
2023-02-18 13:33:38 +01:00
Flyinghead
5bfbcb210c
dynarec: refactor imm mem r/w and store queue handlers. clean up mmu
...
Eliminate duplicate code for immediate memory read/write in all dynarecs
Simplify PREF to use do_sqw_nommu even for simple SQ remap
Check for address errors before mmu translation
Get rid of unneeded template params in mmu translation funcs
2023-02-18 13:33:38 +01:00
Flyinghead
4f65d45e55
rend: don't access first poly if list is empty. dx11 oit: resize error
...
fix crash with dx11 and gl4 when tr poly count is 0
quick exit if nothing to do
2023-02-18 13:33:38 +01:00
scribam
3f8ecfedbb
sdl: use _WIN32
2023-02-18 13:25:14 +01:00
scribam
d8137a967c
C++17 ( #926 )
...
* cmake: use c++17
* Use std::size
* Use std::make_unique
* Use std::clamp
* Use structured binding
* Use [[fallthrough]]
* Use enable_if_t/is_enum_v/is_integral_v/is_same_v
* Use if constexpr
* Use try_emplace
* Use auto for iterators
* Use inline variables
2023-02-18 13:24:34 +01:00
github-actions[bot]
ffec935e2f
Fetch translations & Recreate libretro_core_options_intl.h
2023-02-17 22:20:33 +00:00
Flyinghead
253301ba4f
UWP build fix. Readme update
2023-02-16 11:14:01 +01:00
Flyinghead
a21b79cfbe
builtin cheat to help Extreme Hunting 2 boot
2023-02-15 18:59:44 +01:00
Flyinghead
3f4c24d350
gl4: don't reference two-volumes attributes if not used
...
The naomi2 vertex shader doesn't set 2-volume attributes (vtx_base1,
vtx_offs1 and vtx_uv1) if they aren't used. But the pixel shader always
references them even though they aren't actually used. This breaks some
gl drivers: "The shader uses varying vtx_uv1, but previous shader does
not write to it."
Fixes MINIDUMP-93
2023-02-15 18:56:12 +01:00
Flyinghead
645f413523
sentry: get the build version from the log file if available
...
avoid discrepancy between uploading and minidump versions
2023-02-13 20:02:14 +01:00
Flyinghead
08478aa757
bsd build fix
2023-02-12 15:05:02 +01:00
Flyinghead
4aef8667b7
fix AppImage shared libraries list
2023-02-12 15:05:02 +01:00
Flyinghead
9d08da1fc9
build AppImage for linux
...
Issue #638
2023-02-12 15:05:02 +01:00
Flyinghead
4408aa7dbe
force SDL build on linux to include libdecor for wayland
2023-02-12 15:05:02 +01:00
Flyinghead
d2e8c9465b
dx11 oit: render target and depth texs must have the same dimensions
...
Fixes missing depth/stencil when changing resolution or
enabling/disabling full framebuffer emulation.
2023-02-12 15:05:02 +01:00
Flyinghead
04df0da7cb
pvr: increase index size for wild riders
...
Index overrun with wild riders
Fixes MINIDUMP-7A
2023-02-12 15:05:02 +01:00
Flyinghead
5eeddecb40
maple: set bus speed back to 2Mbps. Worms Pinball needs FFBE
...
Power Drift crashes with 1Mbps
partial revert of 2332884d8b
Force Slave Zero to use real bios (still has issues)
Worms Pinball prototype needs full framebuffer emulation
2023-02-12 15:05:02 +01:00
scribam
71aea45811
vulkan: lower shader version requirement
2023-02-11 14:41:41 +01:00
scribam
cf690fbb61
cmake: improve compile options for VulkanMemoryAllocator
2023-02-11 14:41:07 +01:00
Flyinghead
85b286ec47
oboe: don't attempt to recover the audio stream suring init
...
Apparently oboe can call the error callback function during the initial
openStream. Let it fail in this case.
Fixes MINIDUMP-8K
2023-02-11 14:25:41 +01:00
Flyinghead
07d0cf6839
cdi: don't crash if file re-open fails
...
Not sure how this can happen but it does. Could be a device removed or
corrupted CDI with many tracks.
Fixes MINIDUMP-8F, MINIDUMP-8Q
2023-02-11 14:09:22 +01:00
github-actions[bot]
5e43b603ac
Fetch translations & Recreate libretro_core_options_intl.h
2023-02-10 22:20:39 +00:00
Flyinghead
69d2cfd56d
read disk MCN and tracks ISRC from .cue files
2023-02-10 15:07:25 +01:00
Flyinghead
0f90293252
dynarec: handle illegal instructions
2023-02-10 14:53:54 +01:00
Flyinghead
0d166e1403
msvc build fix
2023-02-10 14:17:45 +01:00
Flyinghead
b5879e6e1d
unintended change and merge issue
...
log: revert change that wasn't supposed to be committed
emulator: fix incorrect merge
2023-02-10 12:56:57 +01:00
Flyinghead
5b169b7f9d
naomi: use master pid to make unique multiboard shared mem file on unix
2023-02-10 12:54:20 +01:00
Flyinghead
099a758c94
hw: new hardware register implementation
...
used for sh4 mm registers and holly
ignore incorrect size reads and writes
separate data and read/write handlers
2023-02-10 12:51:36 +01:00
Flyinghead
638e5d233a
gl: fix naomi2 lights regression
...
regression introduced by e18a4afcbb
2023-02-10 10:15:09 +01:00
Flyinghead
a23362cee0
ios: fix virtual gamepad X button in arcade mode
...
Issue #911
2023-02-08 12:11:41 +01:00
Flyinghead
040db856f8
limit millenium racer widescreen cheat to the correct game
...
Tentative fix for MINIDUMP-87
2023-02-08 12:08:11 +01:00
Flyinghead
8d0654c323
vk: revert to glslang 11.11.0 (sdk 1.3.224.1)
...
partial revert of 1c8e558e25
Issue #908
2023-02-08 11:59:37 +01:00
Flyinghead
cacfdbad90
Revert "deps: update glslang and vulkan"
...
This reverts commit 1c8e558e25 .
2023-02-07 11:31:58 +01:00
Flyinghead
811bf6f449
Revert "vk oit: tentative workaround for AMD crash"
...
This reverts commit 084066bde7 .
2023-02-07 11:28:14 +01:00
Flyinghead
43f8f3e4ad
bsd build fix
2023-02-07 11:27:51 +01:00
Flyinghead
a045c52146
sdl: handle joystick and gamepad api errors to avoid crashes
...
Fixes MINIDUMP-7K
2023-02-06 15:20:21 +01:00
Flyinghead
98531e07ea
hle bios: fix SF rush, jeremy mc grath and the grinch
...
protection checksum and game bugs
2023-02-06 15:15:44 +01:00
Flyinghead
5020a267af
pvr: fix unsorted pass triangle count. tr count should accumulate
...
partial revert of 927db7f189
Fix missing walls in Bust a Move 4 (vs)
2023-02-06 15:09:18 +01:00
Flyinghead
debe21de7b
Merge remote-tracking branch 'origin/master' into dev
2023-02-05 22:20:28 +01:00
Flyinghead
084066bde7
vk oit: tentative workaround for AMD crash
...
Issue #908
2023-02-05 21:56:08 +01:00
Flyinghead
46d7dfc750
fix AppImage shared libraries list
2023-02-05 18:37:32 +01:00
Flyinghead
37c17e4300
pvr: re-use TA contexts if not used for 60 frames
2023-02-05 18:32:35 +01:00
Flyinghead
3a21f545d8
cfg: allow non per-game option to be overriden. Remove per-game for some
...
Allow non per-game options to be overridden with command line args.
Fixes MINIDUMP-7G
Save state slot, box art settings, UploadCrashLogs, UseRawInput and lua
filename shouldn't be settable per-game.
2023-02-05 11:38:21 +01:00
Flyinghead
f35167a0de
egl: better constants
2023-02-05 11:31:22 +01:00
Flyinghead
0b6c09da02
sdl: don't rely on event to get window size when processing resize event
...
window size may be different from drawable size if high-dpi is enabled.
Fixes wayland resize with scale factor > 100%.
2023-02-05 11:30:23 +01:00
Flyinghead
d9c08bd081
gl: save current framebuffer in RenderLastFrame. get rid of verify (OSD)
...
Current framebuffer must be saved in gl.ofbo.origFbo when entering
RenderLastFrame and restored on exit.
Tentative fix for MINIDUMP-74
glIsProgram(OSD_SHADER) is strangely failing on Adreno 308 so let's get
rid of it (and pray).
Fix for MINIDUMP-7D, MINIDUMP-7C, MINIDUMP-7B, MINIDUMP-79, MINIDUMP-6J
2023-02-05 11:26:50 +01:00
Flyinghead
927db7f189
pvr: sorted triangle count incorrect with multiple render passes
...
causes crash in setProvokingVertex
Fix for MINIDUMP-7A, MINIDUMP-7H, MINIDUMP-7J
2023-02-05 11:18:18 +01:00
github-actions[bot]
badf36899e
Fetch translations & Recreate libretro_core_options_intl.h
2023-02-03 22:20:20 +00:00
Flyinghead
d3aed076a6
build AppImage for linux
...
Issue #638
2023-02-03 18:36:27 +01:00
scribam
962b0bb65c
android: update android gradle plugin to version 7.4.1
2023-02-03 11:47:11 +01:00
Flyinghead
6e940e4d08
ggpo: move endOfFrame() call back to start render
...
Naomi2 TA context geometry for the current frame is lost when
rollbacking during vblank in because it hasn't been queued for render
yet.
Fixes black screen after GGPO rollback for Naomi 2 games
2023-02-03 11:34:58 +01:00
Flyinghead
90e9f70a1a
vk: fix resizing on wayland. validation errors with framebuffer render
...
wayland doesn't return the current surface dimensions in
getSurfaceCapabilities so we defaulted to 640x480. Instead use the
current display dimension as set by SDL.
Issue #648
Issue #898 (partial fix)
Vulkan validation errors when doing direct framebuffer rendering if fb
slots are skipped, since the corresponding fence isn't waited on.
Instead use an independent index to use them in sequential order.
2023-02-03 11:19:41 +01:00
Flyinghead
bfdab4db20
pvr: add dummy sorted triangle to signal that per triangle is in use
...
Avoids crash when sorted triangle list is empty and renderer uses wrong
index values
2023-02-03 11:07:21 +01:00
Flyinghead
f0e4574132
aica arm: stop the cpu if setting an illegal mode instead of crashing
...
Fixes MINIDUMP-70
2023-02-03 11:03:08 +01:00
Flyinghead
c461624a67
move khronos to deps. get rid of old controller mappings and pandora
2023-02-03 10:42:43 +01:00
Flyinghead
e6060aff6b
force SDL build on linux to include libdecor for wayland
2023-02-02 21:16:16 +01:00
Flyinghead
d1e6ee9cd7
pvr: add a dummy sorted triangle if list is empty
...
this signals that sorted triangles are being used otherwise wrong
indexes values lead to a crash
2023-02-02 20:19:52 +01:00
Flyinghead
6480a6e4e5
more fpu tests
2023-02-02 20:15:52 +01:00
Flyinghead
6cfbdf6586
ui: imguiDriver may be null if renderer/context fails to reinit
...
Force a reinit in this case
Fixes MINIDUMP-6R
2023-02-01 18:05:37 +01:00
Flyinghead
6b2063b06f
GGPO fixes
...
Memwatchers weren't properly reset after a ggpo session.
Race condition when stopping if GGPO restarts the cpu for a new frame.
The emu thread might still run some rollback frames before stopping, so
the emu state must be updated only after ggpo is stopped.
Fixes MINIDUMP-6P
Don't autosavestate when GGPO is on
Really disable renderer during GGPO advance frame
Don't stop the sh4 after render (single threaded) when GGPO is on
android: Don't restart when unpaused if online
2023-02-01 18:04:26 +01:00
Flyinghead
301a7c5dcd
savestate: write-only regs value must be deserialized (SB_?DAPRO)
2023-02-01 13:58:29 +01:00
Flyinghead
e70a0dcf3d
sh4_fpu clean up. tests
2023-02-01 13:53:32 +01:00
Flyinghead
d1ab3461a6
savestates: dropping support for old formats
...
savestates older than 3 years aren't supported anymore
2023-01-31 17:57:54 +01:00
Flyinghead
b81a6762bc
switch build fix
2023-01-31 17:39:57 +01:00
Flyinghead
5875eda4d0
game id of console games wasn't trimmed
...
regression introduced by ee84567c17
2023-01-31 12:58:43 +01:00
Flyinghead
04c418d02a
serialize: move code out of serialize.cpp and into modules
2023-01-31 10:13:03 +01:00
scribam
02a002d55b
sdl: use target SDL2main
2023-01-30 13:54:31 +01:00
Flyinghead
0305904873
force NTSC for some games
2023-01-30 13:40:35 +01:00
Flyinghead
ee84567c17
naomi: use gameId instead of naomi_game_id to get current game name
...
naomi_game_id isn't reset if a console game is loaded.
settings.content.gameId should be used instead.
Issue #901
Fixes MINIDUMP-6G
2023-01-30 13:34:06 +01:00
Flyinghead
528235ce9d
jvs: fix kingrt66 instant win with accelerator
2023-01-30 13:28:14 +01:00
Flyinghead
27ea6ca092
aica: rename mem and reg accessors
2023-01-30 13:21:43 +01:00
Flyinghead
cb94354099
switch build fix
2023-01-30 12:18:19 +01:00
Flyinghead
53dab29ddb
iOS and Switch build fixes
2023-01-30 11:10:14 +01:00
Flyinghead
b1479e6e34
aica: use namespaces, simplify api, handle serialization
...
Rename VArray2 to RamRegion. Add alloc(), free(), setRegion() and
de/serialize()
2023-01-30 10:40:07 +01:00
Flyinghead
ea3262f7b0
log: alpha order for categories. update some category names
2023-01-29 21:24:44 +01:00
Flyinghead
143073b61d
rename _vmem to addrspace and move platform vmem stuff to virtmem ns
...
use namespaces
simplify names
no functional changes
2023-01-29 18:48:33 +01:00
Flyinghead
c472d60f80
__fastcall goes after return type too
2023-01-29 15:47:47 +01:00
Flyinghead
0c01075ba8
__fastcall goes after return type
2023-01-29 14:07:37 +01:00
Flyinghead
1149d499a8
x86: windows ce support in dynarec
...
clean up some unused methods and return values
2023-01-28 19:22:36 +01:00
scribam
85a941d6c6
openbsd fixes
2023-01-28 18:25:10 +01:00
Flyinghead
0a27b63584
aica: remove useless verify on reg access sizes
...
Fixes MINIDUMP-6C
2023-01-28 18:22:39 +01:00
Flyinghead
6f5f91245b
windows: use directx 11 by default
2023-01-28 18:21:18 +01:00
github-actions[bot]
234955ac01
Fetch translations & Recreate libretro_core_options_intl.h
2023-01-27 22:20:02 +00:00
Flyinghead
99d5266aa0
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/hw/holly/sb_mem.cpp
# core/hw/naomi/naomi.cpp
# core/hw/naomi/naomi_flashrom.cpp
# core/hw/pvr/ta_ctx.h
# core/rend/gui.cpp
2023-01-27 15:41:45 +01:00
Flyinghead
a5967a283f
bump breakpad to fix win32 build error
2023-01-27 14:09:35 +01:00
Flyinghead
21a4935ec4
sentry: set release when uploading
2023-01-27 13:12:31 +01:00
Flyinghead
610e3cf968
naomi: avoid crash with M4 carts if M4 key is missing
...
Fix shorsepr crash at boot
Fixes MINIDUMP-5Z
2023-01-27 13:03:52 +01:00
Flyinghead
45c9d6185b
gcc warning on windows
2023-01-27 11:16:54 +01:00
Flyinghead
e18a4afcbb
vk and pvr fixes. Renderer::Process returns void. N2 light 0 is no-light
...
pvr: Heap use after free due to PolyParam vector reallocation
vk: fix wrong buffer size calculation
Renderer::Process now returns void since it can't fail anymore
naomi2: light model at index 0 is "no light"
dx9, gles: throw if naomi 2 not supported
2023-01-27 11:16:25 +01:00
Flyinghead
499f86b065
pvr: use std::vector instead of List<> in render context
...
Remove overrun-related code.
Replace N2 matrix and light model pointers with indices.
2023-01-26 14:13:28 +01:00
scribam
80cf4406a7
cleanup include headers
2023-01-26 10:06:51 +01:00
Flyinghead
cc4e3875f3
libretro: expose BBA and UPnP network options
2023-01-26 10:05:58 +01:00
Flyinghead
1c4871acb3
naomi: fix derbyocw rom list
...
was using drbyocwa roms
2023-01-25 17:16:52 +01:00
Flyinghead
3b683648fa
switch build fix
2023-01-24 22:49:46 +01:00
Flyinghead
3923f10277
build fix
2023-01-24 21:44:35 +01:00
Flyinghead
1a681746b5
mmu: fix rte delay slot fetch address error with slow mmu
...
slow mmu clean up
P4 isn't executable
mmu test
mmu_TranslateSQW: throw exception but don't return status
2023-01-24 21:17:48 +01:00
Flyinghead
5703ef26cf
os_DebugBreak is [[noreturn]]
2023-01-24 19:24:26 +01:00
Flyinghead
5096d50d37
move rom/flash stuff to hw/flashrom. nvmem api
2023-01-24 19:17:48 +01:00
Flyinghead
f7e227a4aa
dx9: don't crash if creating a boxart texture fails. log and skip tex
...
Fix for MINIDUMP-5Q
2023-01-24 14:52:55 +01:00
Flyinghead
bbff377ceb
maple: less log on dma error
...
Fixes GameShark CDX log spam
See MINIDUMP-5R
2023-01-24 14:30:09 +01:00
Flyinghead
f8372c51a7
Revert "wip headers"
...
This reverts commit e3e2c3a0d2 .
2023-01-24 14:26:14 +01:00
Flyinghead
31debefbe1
release dynarec mem allocs when terminating, including arm and dsp
...
Issue #453
2023-01-24 09:21:46 +01:00
Flyinghead
c7d214e55a
aica: update pending ints when enable mask is changed
...
Updating interrupts masks SCIEB and MCIEB can enable new interrupts so
check for that.
Only avoid race condition when needed.
2023-01-23 20:04:18 +01:00
scribam
e3e2c3a0d2
wip headers
2023-01-23 18:29:04 +01:00
Flyinghead
f96ce85365
dx11: attempt to recover if context reinit fails. More checks and logs
2023-01-23 12:20:10 +01:00
Flyinghead
aa79196d38
vk: only destroy surface if instance and surface aren't null
...
Don't request Arm debug layer VK_LAYER_ARM_AGA
Fix for MINIDUMP-5G
2023-01-23 12:11:43 +01:00
Flyinghead
2b14c3e605
Try dx11 if dx9 and opengl both fail
...
Fix for MINIDUMP-5F
2023-01-23 12:06:26 +01:00
Flyinghead
41ba110ef4
enable RTTI for MSVC builds
2023-01-23 12:04:10 +01:00
Flyinghead
ad42a32260
switch build fix
2023-01-22 18:21:55 +01:00
Flyinghead
cc408f9688
aica arm7: fallback to interpreter for invalid LDR/STR
...
Fixes MINIDUMP-4X
2023-01-22 18:11:03 +01:00
Flyinghead
520e96a039
egl: call eglTerminate when closing context
2023-01-22 17:22:47 +01:00
Flyinghead
db9fbbaebf
custom texture loader must be stopped before the tex cache is cleared
...
Fix for MINIDUMP-53
2023-01-22 17:22:04 +01:00
Flyinghead
88384ad7d1
dynarec: crash in rdv_BlockCheckFail when current block can't be found
...
Only when MMU is on and used to compute blockcheck_failures so can be
ignored.
Tentative fix for MINIDUMP-59
2023-01-22 17:13:34 +01:00
Flyinghead
464b459073
modem: don't die when reg11 is written
...
Fix for MINIDUMP-5A
2023-01-22 17:10:12 +01:00
Flyinghead
aea228c3df
force real BIOS for Fushigi no Dungeon
2023-01-22 17:07:16 +01:00
scribam
8cdd171ab7
gl,gl4: simplify gl_create_resources calls
2023-01-21 12:12:21 +01:00
Flyinghead
9473c235f2
sh4: Fix CCN_MMUCR register definition
...
Some reserved bits were missing, which was breaking the (slow) MMU since
the write mask is correct.
2023-01-21 12:11:42 +01:00
Flyinghead
b443467770
naomi: relax some eeprom checks based on BOOTID specs
2023-01-21 12:01:22 +01:00
Flyinghead
a6bf9dd39c
Option to disable VMU sounds. VMU sounds use better waveform.
2023-01-21 11:54:34 +01:00
Flyinghead
8fdcea2e20
maple: delay raising overrun interrupt when dest isn't in RAM
...
Only raise error when copying data back to RAM.
Fixes Cheats 'N Codes Volume 1
2023-01-21 11:38:58 +01:00
Flyinghead
31bd943d67
gl,vk: don't use linear mipmap filter with nearest
...
Fixes glitches in Railroad Tycoon II
Partially revert 15b21fff2b and
a9cabdc342
2023-01-21 11:32:28 +01:00
github-actions[bot]
ba78a3aa5b
Fetch translations & Recreate libretro_core_options_intl.h
2023-01-20 22:19:43 +00:00
warmenhoven
1948c66c11
Reload and vmem fixes for libretro on Mac ( #885 )
...
* Try to properly set up vmem on OSX
* Add Mac OSX arm64 libretro buildbot
* Don't term libretro on macOS
* Unload game when loading fails
2023-01-20 20:37:56 +01:00
Flyinghead
3cf7cf0a7f
network: Emulate BBA should not be changed once a game is started
...
Change UI to disable BBA toggle when game is started.
Refactor UI to use DisabledScope helper.
Make sure the network stack deletes the same device it initialized.
Tentative fix for MINIDUMP-4N
2023-01-20 14:52:27 +01:00
Flyinghead
a593cddf52
pvr: mvsc2 needs yet more rendering cycles
...
Fixes texture corruption in the character line up during intro.
Follow up to 976fb99aa3
2023-01-20 14:41:36 +01:00
Flyinghead
cecf16e65e
dump textures: don't crash if malloc fails
...
Tentative fix for MINIDUMP-4P
2023-01-20 14:38:23 +01:00
scribam
458b233e16
android: add vibrate compatibility with newer versions
2023-01-18 20:37:10 +01:00
Julien Reichardt
cca7ed6bf7
Cleanup metainfo file
2023-01-18 20:36:30 +01:00
Flyinghead
f63cf7406a
logging changes
2023-01-18 14:03:02 +01:00
Flyinghead
e21d666328
reios: allow loading CDIs with ip_meta.wince = 1
...
For some reason Neo XYX has this flag set. I haven't found any wince CDI
that has this flag set but it shouldn't hurt.
Fix for MINIDUMP-47
2023-01-18 10:12:24 +01:00
Flyinghead
ab3f5dbc4c
sdl: fix crash in getNativeHwnd() when recreating window
...
fixes rawinput crash
Fix for MINIDUMP-4B, MINIDUMP-4G, MINIDUMP-4F, MINIDUMP-4E
2023-01-18 09:45:01 +01:00
Flyinghead
528f15f117
win32 build fix
2023-01-17 22:39:22 +01:00
Flyinghead
7c72aa8a80
unintended new files in CMakeLists.txt
2023-01-17 22:10:54 +01:00
Flyinghead
2420c05930
android: implement unwind info for arm32
2023-01-17 22:06:22 +01:00
Flyinghead
3a312f3814
add llvm's libunwind
2023-01-17 21:56:30 +01:00
Flyinghead
bac67bd91a
missing submodule oboe
2023-01-17 21:29:34 +01:00
Flyinghead
36e67203a4
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/deps/oboe
# core/emulator.cpp
# core/hw/maple/maple_jvs.cpp
# core/rend/gui.cpp
2023-01-17 21:20:14 +01:00
Flyinghead
a52d1c97ec
UWP build fix
2023-01-17 20:55:59 +01:00
Flyinghead
9d3125c546
fix tony hawk's 1 & 2 PAL disk ids
2023-01-17 11:41:50 +01:00
Flyinghead
86a6d7a4f5
widescreen cheat for Biohazard: Code Veronica: Kanzenban (JP)
...
same cheat as Resident Evil: Code Veronica X Kanzenban (Eng.
translation)
Issue #880
2023-01-17 11:40:35 +01:00
Flyinghead
0f214b1441
reios: fix crash if disc is null at boot
...
Don't overflow Disc::sessions
Fix for MINIDUMP-41
2023-01-17 11:39:00 +01:00
Flyinghead
a0b50cd41d
pvr: don't crash on invalid poly list types. log and ignore
...
Fix for MINIDUMP-3Z
2023-01-17 11:36:00 +01:00
Flyinghead
1d1754dc98
pvr: don't crash on YUV converter error. log and continue
...
Fix for MINIDUMP-44
2023-01-17 11:25:08 +01:00
Flyinghead
b8464ef6c5
widescreen cheat for Resident Evil - Code Veronica X Kanzeban
...
Courtesy of keefged4
Issue #880
2023-01-16 18:16:05 +01:00
Flyinghead
692ca52182
pvr: fix background poly texture coordinates
...
V tex coordinates were inverted for Donald Duck Goin Quackers
2023-01-16 17:56:37 +01:00
Flyinghead
b4ecaecd45
dynarec: raise sh4 address error if trying to compile unaligned address
...
Error was only raised when mmu is enabled.
tentative fix for MINIDUMP-3Q
2023-01-16 17:53:01 +01:00
Flyinghead
9954768636
dx11: simplify RenderFramebuffer for libretro and fix black frames
...
RA uses some shaders that need to be disabled (as in Render()).
Also the framebuffer texture can be returned directly.
might help Issue #865
2023-01-16 17:50:23 +01:00
scribam
cbffc5cade
android: misc changes ( #876 )
...
* android: add appCategory attribute
* android: remove unnecessary @TargetApi
* android: replace 'for' loop with enhanced 'for'
* android: use java-style array declaration
2023-01-15 20:44:47 +01:00
Flyinghead
4bbf5c562e
ssa: infinite loop in skipSingleBranchTarget
...
Fixes Mat Hoffman's Pro BMX freeze when exiting a session.
Issue #878
2023-01-15 20:04:05 +01:00
Flyinghead
329e5ed467
android: allow starting games with intent while a game is running
...
stops and unload the current game then starts the new one
2023-01-15 20:02:03 +01:00
Flyinghead
19a160695c
android: since ndk23 exceptions traversing dynarec blocks cause a crash
...
NDK 23 switched to clang's unwinder instead of gcc so __register_frame()
takes a single FDE as argument (as in macOS).
Fix for MINIDUMP-3M and MINIDUMP-3N
2023-01-15 19:31:44 +01:00
Flyinghead
1e195b7237
sdl audio: fix crash when decrasing audio buffer size. fix deadlock
...
sample_count wasn't reset to 0 on init, so it could point past the end
of the audio buffer if buffer size is decreased, leading to a crash.
Fix for MINIDUMP-29
Deadlock if audio buffer size is too small (< 1024 samples)
2023-01-15 12:07:26 +01:00
Flyinghead
2b37a5dc08
sdl audio: use SDL to convert from 44.1 to 48 kHz
...
Fix crash introduced by 7205068809
Use SDL_ConvertAudio to convert audio when needed.
Fix for MINIDUMP-3K
2023-01-15 11:21:42 +01:00
Flyinghead
8aadf5b097
cheats: don't update the cheat list when adding one fails
...
The operation should fail or succeed completely.
Issue #871
2023-01-15 11:16:40 +01:00
Flyinghead
13428ba696
allow screen stretching to be overridden when using widescreen cheat
...
Issue #870
2023-01-15 11:14:21 +01:00
Flyinghead
52f2ca7ff6
windows: convert command line arguments to UTF8
...
Issue #875
2023-01-15 11:13:07 +01:00
scribam
174ce8786b
android: add oboe as a submodule
2023-01-14 13:02:34 +01:00
scribam
fc118f295d
android: remove oboe
2023-01-14 13:02:34 +01:00
scribam
18cfe2f92f
android: update project for Android Studio Eel
2023-01-14 13:02:34 +01:00
scribam
0d4a7dbac9
android: use getDefaultDisplay with android api level < 17
2023-01-14 13:02:04 +01:00
Flyinghead
a370851494
dynarec: check stale blocks in rdv_DoInterrupt if block not found
...
tentative fix for MINIDUMP-36
2023-01-14 12:54:05 +01:00
Flyinghead
7b49cc73ee
gl,gl4: use correct framebuffer size for matrix when rtt'ing
2023-01-14 12:52:10 +01:00
Flyinghead
a8c5af8425
dx: don't resize main framebuffer when rendering to texture
...
dx9 and dx11 renderers were wrongly resizing main framebuffer to 0,0
when rendering to a texture.
Fix for MINIDUMP-1W
2023-01-14 12:48:56 +01:00
Flyinghead
3441a9ccf0
pvr: calculate framebuffer size when TA context is dequeued
...
Config can change after the TA context has been queued (upscaling, full
framebuffer emu, etc.) which can make the calculated framebuffer size
wrong during render, leading to crashes in renderers.
Fix for MINIDUMP-35
2023-01-14 12:39:38 +01:00
Flyinghead
659d21680b
android: race condition on Emulator::threadResult
...
The emu thread can be stopped/started by the app main java thread while
the render thread is running. This can lead to a race condition on the
threadResult future between checkStatus() and start(). So protect
relevant sections with a mutex.
Fix for MINIDUMP-1G, MINIDUMP-1H, MINIDUMP-2G and MINIDUMP-33
2023-01-14 10:52:27 +01:00
Flyinghead
2da833883b
pvr: skip triangles with NaN/Inf coordinates when sorting them
...
Issue #867
2023-01-14 10:46:21 +01:00
Flyinghead
c301bf0827
pvr: ignore invalid TA types instead of crashing
...
Fix for MINIDUMP-32
2023-01-14 10:42:26 +01:00
Flyinghead
1c4303b76d
arm dynarec: verify is no longer true
...
Fix for MINIDUMP-37
2023-01-14 10:29:44 +01:00
github-actions[bot]
170a6ac36e
Fetch translations & Recreate libretro_core_options_intl.h
2023-01-13 22:20:05 +00:00
Flyinghead
92fa4c041d
gdrom: log invalid size register access but don't crash
...
Fix for MINIDUMP-1T
2023-01-13 11:34:40 +01:00
Flyinghead
f34a9f6eac
jvs: serialize drive board output value and more
...
Issue #864
2023-01-13 11:25:04 +01:00
Flyinghead
9fb69af355
dx9: more error handling. more logging
...
Handle case where dx context init fails when switching to/from fast
forward.
Log errors.
2023-01-13 11:15:32 +01:00
Flyinghead
59606d8935
naomi: more robust error handling when loading invalid roms
...
Fix for MINIDUMP-2S
2023-01-13 10:49:52 +01:00
Flyinghead
bd7f5ec4c1
disable non-working ikaruga ws cheat
...
Issue #866
2023-01-13 10:46:51 +01:00
Flyinghead
d082993a7a
ui: race condition when network times out while pressing start
...
Fix for MINIDUMP-2Y
2023-01-13 10:06:36 +01:00
Flyinghead
640d4162b6
holly: log invalid pvr register access size but don't crash
...
Fix for MINIDUMP-2V
2023-01-13 09:52:17 +01:00
Flyinghead
66eb08f2d1
sh4: check that dma-ch2 source address is in ram
...
Force real BIOS for Force Five dc conversion
Fix for MINIDUMP-2W
2023-01-13 09:28:45 +01:00
Flyinghead
93fbd67a85
dx9: recover after screen lock. reset render state cache on entry
...
Device is lost for a long time when the screen is locked. Need to
continue calling present() to recover.
Reset render state cache on in RenderFramebuffer and RenderLastFrame
entry points.
More logging in renderer resizing.
2023-01-12 16:09:01 +01:00
Flyinghead
cf031717dd
chd: skip invalid media with 0 track
2023-01-12 16:05:07 +01:00
Flyinghead
075ec1cf98
log: increase in-memory log to 20 lines
2023-01-12 16:02:15 +01:00
Flyinghead
8f3b6a2371
lr: call set_system_av_info even for dx11
...
call was disabled due to a crash that doesn't happen anymore
Issue #863
2023-01-12 14:37:05 +01:00
Flyinghead
ac24d9be5b
preserve savestate compat with sh4 exception changes
2023-01-11 23:01:37 +01:00
Flyinghead
a0e800f102
build fix
2023-01-11 22:39:20 +01:00
Flyinghead
7e4572a86a
naomi: f355 multiboard support WIP
2023-01-11 22:31:36 +01:00
Flyinghead
4f0d3a958d
ui: debug tab with logging and profiling options
2023-01-11 21:15:45 +01:00
Flyinghead
06c5ba7f0e
sh4: simplify exceptions
2023-01-11 20:42:33 +01:00
Flyinghead
673fb26d6e
android: threading fix. stop vibrator thread. allow screen saver
...
If the android activity is destroyed and the game unloaded, the gui's
game state wasn't updated, leading to a crash if resuming. Same for the
android game state if pausing, destroying then resuming.
tentative fix for MINIDUMP-27, MINIDUMP-25, MINIDUMP-23
Wait until emu is stopped in single-threaded.
Stop vibrator thread when view is detached
Allow the screen saver when a game isn't running.
2023-01-11 11:44:28 +01:00
Flyinghead
5fa98da17e
dx9: stricter device reset failure check. More logging
...
tentative fix for MINIDUMP-1P
2023-01-11 09:44:00 +01:00
Flyinghead
9b2f33f7bd
jvs: fix wrungp CAUTION message regression
...
due to 53ed006a54
Issue #861
2023-01-11 09:05:47 +01:00
Flyinghead
2b70c73f80
gl: compilation and runtime fixes for GLES 2.0
...
Fix libretro compile errors with GLES2
Fix black screen at runtime with gles 2.0
Issue #859
2023-01-11 09:02:24 +01:00
Flyinghead
1aec64cbae
android: don't close the oboe stream twice on device lost
...
tentative fix for MINIDUMP-26
2023-01-11 08:58:55 +01:00
Flyinghead
611946559c
macos build: fix brew python link error
2023-01-10 12:40:48 +01:00
Flyinghead
2997c6396f
downgrade libchdr to before zlib 1.2.12 upgrade
2023-01-10 12:38:17 +01:00
Flyinghead
859d5df056
revert libchdr to before lzma-22 upgrade
2023-01-10 11:56:43 +01:00
Flyinghead
8a1902e5a8
GDI's and gdrom CHD's must have at least 3 tracks
2023-01-10 11:28:42 +01:00
Flyinghead
285655f52d
vk: check if vkEnumerateInstanceVersion is null before calling it
...
vkEnumerateInstanceVersion is only available in vk 1.1 so it might be
null after dynamic loading of entry points.
tentative fix for MINIDUMP-1Z, MINIDUMP-20 and MINIDUMP-21
2023-01-10 09:58:56 +01:00
Flyinghead
fceb170a2a
picotcp: enable multithreading. protect bba input queue with mutex.
...
tentative fix for MINIDUMP-1Y
2023-01-10 09:46:28 +01:00
Flyinghead
4376e89149
Bump libchdr to latest
2023-01-09 18:33:44 +01:00
scribam
cbd1d3134e
deps: update sdl to version 2.26.2
2023-01-09 18:02:30 +01:00
Flyinghead
fc479dbcc0
dx9: better handling of device lost. Fix fb not rendered if 1st
...
Handle case where device reset fails and continue attempting a reset.
tentative fix for MINIDUMP-12 and MINIDUMP-1Q
RenderFramebuffer wasn't working when first render after init
2023-01-09 18:01:44 +01:00
Flyinghead
ae47ac19b8
dx11: check supported texture formats. Fix fb render not working if 1st
...
Check supported texture formats including mipmap and mipmap autogen.
Fall back to 8888 format.
tentative fix for MINIDUMP-17, MINIDUMP-1R and MINIDUMP-1M
RenderFramebuffer wasn't working if first render after init.
2023-01-09 17:50:46 +01:00
Flyinghead
84f6bd3fef
libretro build fixes
2023-01-09 17:44:40 +01:00
Flyinghead
d3b2da8e3b
gui: &ll game scanner game_list updates must be guarded by mutex
...
arcade_game_list doesn't need to however
tentative fix for MINIDUMP-1S
2023-01-09 09:14:03 +01:00
Flyinghead
493ccc27d1
widescreen cheat for Fire ProWrestling. courtesy of Espirral
2023-01-08 11:35:24 +01:00
Flyinghead
b37e6dc28d
Merge remote-tracking branch 'origin/master' into dev
2023-01-08 11:19:48 +01:00
Flyinghead
8cd6a94e26
arm dynarec: avoid SIGBUS errors due to unaligned memory access
...
VSTR and VLDR require a 32-bit alignment in armv7. SH4 alignment
requirement is identical but ignored (no SH4 address error is raised).
So instead of crashing, just align the memory address.
Fix for MINIDUMP-1J
2023-01-08 11:13:01 +01:00
Flyinghead
13df32ba3f
vk: check vkGetInstanceProcAddr value before use and report error
...
Tentative fix for MINIDUMP-1F
2023-01-08 11:06:47 +01:00
Flyinghead
262a39cafb
android: avoid UI race condition when stopping or resuming game
...
Gamepad events aren't delivered to the UI thread in Android. This can
lead to race conditions between the UI thread (calling gui_display_ui())
and the event thread (calling gui_open_settings()).
Issue #852
Fix for MINIDUMP-1D, MINIDUMP-1E, MINIDUMP-1K
2023-01-08 10:59:36 +01:00
Flyinghead
480f2e31b0
widescreen cheats for 102 Dalmatians. courtesy of Espirral
2023-01-07 12:02:35 +01:00
Flyinghead
d0bb0aea97
android: defer stopping audio until after current frame is rendered
...
In android, stop requests are not run in the UI thread so in
single-threaded mode, they must be deferred until after the current
frame is rendered to avoid deadlocking on audio.
2023-01-07 11:51:32 +01:00
Flyinghead
bf3f927a99
reios: don't crash on unknown trap vector. log error and ignore
2023-01-07 11:46:59 +01:00
github-actions[bot]
19818e717f
Fetch translations & Recreate libretro_core_options_intl.h
2023-01-06 22:20:08 +00:00
Flyinghead
b6491a3842
android: REICAST_HOME -> FLYCAST_HOME
2023-01-05 20:21:15 +01:00
Flyinghead
c04c696ba6
arm64 dynarec: pad link section with nop to allow full mmu relink
...
fix literal pool being overwritten
Fix for MINIDUMP-18
2023-01-05 14:36:23 +01:00
Flyinghead
17474bf005
android: log abort message to normal log so it's stored in the minidump
2023-01-05 13:01:49 +01:00
Flyinghead
756ec0e672
arm build fix
2023-01-04 12:27:04 +01:00
Flyinghead
3dfdb60139
arm dynarec: handle immediate operand to fsca
2023-01-04 12:12:24 +01:00
Flyinghead
5a409dbe2c
boxart: [] operator with non-existing key on const json is UB
...
Use json::at() instead.
Don't return pointer to GameBoxart to UI since it can be
replaced/deleted by the scraper thread.
Tentative fix for MINIDUMP-16
2023-01-04 12:09:09 +01:00
Flyinghead
9ef37d9776
arm[64] dynarec: xtrct can have immediate operands
...
Fixes MINIDUMP-15
Sakura Taisen 2 crash
2023-01-03 15:15:13 +01:00
Flyinghead
ba0a357d48
missing change for 12bba31270
2023-01-03 11:32:00 +01:00
Flyinghead
659ffa4406
vk: catch vulkan dyn loader exception when driver can't be loaded
...
Fixes MINIDUMP-R
2023-01-03 11:08:28 +01:00
Flyinghead
12bba31270
lr: fix incorrect DC framebuffer size
2023-01-03 11:03:31 +01:00
flyinghead
dd66e44871
compile warnings
2023-01-02 16:39:34 +01:00
flyinghead
c5c87522ca
x64 dynarec: wrong op in GenReadMemImmediate
...
Fixes MINIDUMP-14
2023-01-02 16:06:58 +01:00
flyinghead
5ef80f0a17
dx11: disable scissor test when rendering framebuffer
...
Issue #847
2023-01-02 16:04:17 +01:00
Flyinghead
7372df3aff
android: check if activity is null before using it to show/hide keyboard
...
tentative fix for MINIDUMP-Z
2022-12-31 16:53:08 +01:00
Flyinghead
cf514b0d6b
pvr: skip remaining vertices if incomplete after inf vertex
...
in makePrimRestartIndex
Issue #846
2022-12-31 16:51:35 +01:00
github-actions[bot]
b232a10167
Fetch translations & Recreate libretro_core_options_intl.h
2022-12-30 22:19:43 +00:00
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
802f70fedd
pvr: recover from renderer init failure
...
issue MINIDUMP-V
fix some warnings
2022-12-29 19:18:19 +01:00
scribam
5acfa7d3d6
vulkan: return an error if no physical devices found
2022-12-29 19:12:53 +01:00
Flyinghead
85188bf137
naomi: fix button labels for hmgeo
...
Issue #841
2022-12-25 22:09:34 +01:00
Flyinghead
bfc44f2b4e
scraper: skip invalid textures. invalid CUE crash. memory leak
...
Sanity check of PVR texture params before converting it to avoid crash
(MINIDUMP-K).
.cue gdrom needs at least 3 tracks.
Delete disc if invalid.
2022-12-25 11:27:48 +01:00
Flyinghead
96aaa8b14a
elan: don't map RAM with vmem if not naomi2 game
...
Issue #839
2022-12-24 13:33:16 +01:00
Flyinghead
53ed006a54
naomi: 18wheeler, soulsurfer and wldrider input improvements
...
18wheeler: limit wheel range. Issue #693
18wheeler: Implement gear tristate lever with 2 buttons. Fake motor drive board to avoid error messages in deluxe version.
soulsurfer: floormat button/contact is always on
wldriders: unmap rear brake so it doesn't have to be released
2022-12-24 10:48:17 +01:00
github-actions[bot]
171c41df12
Fetch translations & Recreate libretro_core_options_intl.h
2022-12-23 22:20:01 +00:00
Matt Phillips
4b53edb3bd
Basic CPU graphs using ImPlot ( #838 )
2022-12-23 16:07:35 +01:00
Flyinghead
62085539a7
dynarec: reg alloc 64-bit regs. avoid some interpreter fallbacks
...
Option to reg alloc 64-bit regs in two host regs. Used when FPSCR.SZ ==
1 (64-bit reg and memory transfers.) Enabled for arm, arm64 and x64
(windows only) dynarecs.
Don't fallback to interpreter when FPSCR.PR==1 (double precision) for
FMOV, FLDS and FLTS.
2022-12-23 16:06:54 +01:00
scribam
1c8e558e25
deps: update glslang and vulkan
2022-12-23 10:14:31 +01:00
scribam
568145c247
metainfo: fix wrong category name
2022-12-23 10:14:02 +01:00
Flyinghead
5703bc7df2
ui: arcade games appear twice if the game list is updated
2022-12-23 10:13:26 +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
599bc8a823
arm64 dynarec: need up to 5 ops for mem accesses
...
Issue #837
2022-12-22 14:55:42 +01:00
Flyinghead
9578841480
pvr: fix texture bleeding before making indexes
...
fix crash with sorted triangles.
Issue #836
2022-12-22 13:15:32 +01:00
Flyinghead
5387a6b534
android: minify makes httpclient fail
...
fixes sentry.io upload
2022-12-22 13:13:23 +01:00
Flyinghead
bf09e96e04
android: more logging
2022-12-21 18:02:30 +01:00
Flyinghead
b5d8cecd91
android: delay sentry upload to avoid broken pipe. Log more stuff
...
tentative fix for the broken pipe error when uploading to sentry on
android.
init log and sleep for 5 secs before upload
log git version, gpu name and version, renderer type and game id
2022-12-21 16:49:08 +01:00
Matt Phillips
6d913f42c8
Host-side profiler - initial commit ( #834 )
...
* Host-side (Flycast) profiler - initial commit
* Profiler - configurable frame warning time
* Compile fix for !DC_PROFILER
2022-12-21 11:24:11 +01:00
Flyinghead
1e0a875fa3
sentry: various fixes. Upload last log lines with the minidump
2022-12-21 11:23:15 +01:00
Flyinghead
4d77ce5a66
unused function
2022-12-20 22:24:15 +01:00
Flyinghead
f3a6fb7d8b
sentry.io integration
2022-12-20 21:52:46 +01:00
Flyinghead
b6f73d96ca
vk,dx: provoking vtx with sorted triangles. No depth write in per-strip
...
Provoking vertex wasn't set with sorted triangles (dx9, dx11, vulkan)
vk,dx9: No depth write in per-strip as in opengl and dx11.
2022-12-20 21:47:19 +01:00
Matt Phillips
13f3c8281f
Fixed single stepping, added support for vCont packets and ranged stepping (faster), initial work to support other breakpoint types
2022-12-18 16:27:38 +01:00
Flyinghead
0107435a73
iOS build fix
2022-12-17 11:25:58 +01:00
Flyinghead
ce674a872a
dyna: implement missing ops: ldc/stc sr/fpscr, tas, div1
...
add dynarec implementations for missing ldc and stc ops with sr and
fpscr
add dynarec implementation for tas.b
canonical implementation for div1
delete unused reg_old_sr_status and reg_sr
2022-12-17 11:09:51 +01:00
Flyinghead
51758b965e
ggpo: disable full framebuffer emulation. memwatch perf fix
...
Disable full framebuffer emulation with ggpo if threaded rendering is
enabled. Would require thread synchronization on VRAM page map.
memwatch: do single lookup on page map in hit()
2022-12-17 10:54:01 +01:00
Flyinghead
7fec511463
maple: don't recreate devs on rollback. Raise error if dest is invalid
...
maple: raise error is maple dest dma address isn't on RAM
maple: don't recreate maple devices when loading a rollback savestate
2022-12-17 10:51:12 +01:00
github-actions[bot]
1dd006d846
Fetch translations & Recreate libretro_core_options_intl.h
2022-12-16 22:19:48 +00:00
Flyinghead
2800927fa1
arm64 dynarec: can't rely on faultAddress with 512 MB vmem
...
Use x0 instead
2022-12-16 20:40:23 +01:00
Flyinghead
f133e3cccb
verify() must not call a function with side-effect
2022-12-16 20:40:23 +01:00
Matt Phillips
b0a520fe18
Various GDB fixes and improvements ( #832 )
...
* Enabled GDB server, compile fix for MSVC, added GDB option to config
* GDB - 'vMustReplyEmpty' should not be explicitly handled, it is a test for how the target responds to unknown vpackets (which was incorrect)
* GDB wait for debugger option to allow debugging from bootstrap, and Event::Resume moved after renderer init so agent.interrupt() can pause the renderer
* Draw "Waiting for debugger", and fixed UI not rendering last frame before a state change
* Fixed GDB regs/mem endianness
2022-12-16 20:34:30 +01:00
Matt Phillips
3f30dd01ad
Support for multi-processor compilation with MSVC (/MP option) ( #830 )
2022-12-15 22:50:38 +01:00
Matt Phillips
0c081a9597
Support for comma separated "-config section:key=value,section:key=value,..." command line syntax
...
(cherry picked from commit 451997d01e )
2022-12-15 22:49:55 +01:00
Matt Phillips
7176460de3
External windows serial console ( #828 )
...
* Open external console for serial output on Windows
(cherry picked from commit e41a1410b9 )
* Compile fix for _UNICODE
(cherry picked from commit 4e6927bd27 )
2022-12-15 22:49:20 +01:00
Matt Phillips
733a1fa73d
Added USE_DX9 and USE_DX11 as configurable options in CMake
2022-12-15 22:48:38 +01:00
Flyinghead
e3809ba058
gl: macOS build fix
2022-12-14 23:43:36 +01:00
Flyinghead
4d3de39c64
gl: no GL_PRIMITIVE_RESTART and glPrimitiveRestartIndex in GLES
2022-12-13 23:42:11 +01:00
Flyinghead
1765e50703
lr: missing symbols and functions
2022-12-13 23:33:24 +01:00
Flyinghead
f9feaa313b
pvr: sort triangles during parse. Use primitive restart
...
Sort triangles during ta_parse. Use the same index as other polys. Store
results in rend_context.
Use primitive restart if available to avoid too many degenerate
triangles.
Update renderers.
2022-12-13 22:57:57 +01:00
Flyinghead
9781d8971a
gl: use static buffers for quad vertices
2022-12-13 20:56:19 +01:00
Flyinghead
a0a9b5bbc5
holly: crash when reading a write-only register
2022-12-12 22:15:12 +01:00
Flyinghead
c684faf423
naomi widescreen cheats: initd, initdv2, gunsur2, spawn, cspike, jambo
...
Widescreen cheats for initd, initdv2, gunsur2, spawn, cspike, jambo,
soulsurf.
Courtesy of Goddamn Superhero
Disable ws chear for House of the Dead 2 (wrong gun coordinates)
2022-12-11 16:33:30 +01:00
Flyinghead
cdca559d99
ggpo: optimize memwatch, save/load state. endOfFrame on vblank in
...
ggpo: Optimize memwatch and load/save state. Unprotect memory before restoring a state. Smaller timesync wait. Missing error handling.
pvr: call ggpo::endOfFrame() on vblank in only
ssa: fix warning
2022-12-10 17:19:34 +01:00
Flyinghead
d76dff8594
ggpo: don't call exit on assert. clean up logging
...
Don't call exit when an assertion fails, throw an exception instead. Log
ggpo API errors.
Deleted most ggpo logging methods and use flycast logging.
2022-12-10 13:06:31 +01:00
github-actions[bot]
223504a206
Fetch translations & Recreate libretro_core_options_intl.h
2022-12-09 22:20:25 +00:00
Flyinghead
1ab4eb00c0
tex cache: minor key mask fix. egl: no need for depth/stencil surface
...
Part of PalSelect was used as cache key for palette textures
PrintTexture fix
egl,wgl,xgl: No need for depth/stencil surface
gl: non-functional refactoring
2022-12-09 17:49:32 +01:00
Flyinghead
32e3e7d9c5
vmem: no more 4GB vmem mode. only map elan RAM in naomi2 mode
...
Do not attempt to reserve 4GM of virtual space on 64-bit hosts. Use
512MB everywhere.
Don't map elan RAM if not needed and dont protect/unprotect it in
memwatch.
2022-12-09 17:37:49 +01:00
Flyinghead
98123b9215
vk: don't sort triangles in per-strip mode
...
useless and now crashes since vertices aren't in ascending order anymore
2022-12-08 21:35:51 +01:00
Flyinghead
9069a49145
pvr: take jitter into account in spg sheduler. fix scheduler edge case
...
Take jitter into account when calculating current scanline
Scheduler would miss the next int if it's on the next scanline
Support for Hblank interrupt mode 2 (every scanline)
2022-12-06 22:04:37 +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
648f33473f
test fix
2022-12-06 21:12:41 +01:00
Flyinghead
446619ce85
atomiswave only has 2 MB of aica ram
...
new savestate version
build.h clean up
2022-12-06 20:51:45 +01:00
Flyinghead
f5fa1f6210
holly, sh4: reg access handlers don't need size. SB_FFST constant 0
2022-12-06 20:42:00 +01:00
Flyinghead
976fb99aa3
pvr: naomi mvsc2 needs more rendering cycles
...
Regression introduced by 0b0e64304e
2022-12-06 19:50:34 +01:00
Flyinghead
a0529d1cfc
drop support for legacy .reicast config dir (linux, macOS)
2022-12-06 18:09:43 +01:00
Flyinghead
8001af9743
sh4: proper write masks for memory-mapped registers
2022-12-06 17:58:30 +01:00
Flyinghead
e48b72a859
race condition causing emu thread exceptions to be ignored
...
in multithreaded mode, checkStatus() *must* be called to report
exceptions thrown by the emu thread
2022-12-05 21:24:27 +01:00
Flyinghead
71ba018782
widescreen cheatcode for vf3tb US
...
courtesy of goddamn superhero
2022-12-05 18:36:49 +01:00
Flyinghead
59ff44132b
aica: get rid of audio samples batching
...
Some audio issues are reported because of this option and the now
correctly clocked aica cpu.
2022-12-05 18:34:52 +01:00
scribam
8a0323ec08
deps: update sdl to version 2.26.1
2022-12-04 16:32:08 +01:00
Flyinghead
4c7df6c7f4
pvr: don't merge polys in per-triangle. merge polys in per-strip
...
Merging polygons in per-triangle can produces a large number of
degenerate triangles (up to x3), which must then be sorted, resulting in
a performance hit. This is useless since the sorted triangles are merged
after being sorted. (Regression introduced by
20d25059bf )
Issue #818
In per-strip mode, polygons are now sorted before creating the index and
merging. So it doesn't have to be done in the renderer anymore.
2022-12-04 16:31:39 +01:00
github-actions[bot]
676cd3104b
Fetch translations & Recreate libretro_core_options_intl.h
2022-12-02 22:20:30 +00:00
Flyinghead
a40210c55c
no aica batching for Tony Hawk's 1 & 2
2022-11-29 17:27:31 +01:00
Flyinghead
034f90c1e0
ggpo: zero-init unused but sent inputs
...
avoids lots of useless rollbacks
2022-11-29 17:12:15 +01:00
DisasterMo
64223927b8
Fix Crowdin config & workflow
...
Also add new languages and update translation scripts
2022-11-28 15:00:25 +01:00
tunip3
e2c03255bb
make Xbox display scale scale with res instead of just switching between 2 presets for 1080p and 4k
2022-11-25 19:21:10 +01:00
scribam
63495d3a6a
deps: update sdl to version 2.26.0
2022-11-22 17:23:32 +01:00
scribam
88466ec352
vulkan: add missing simplification (follow-up from 8426bcad)
2022-11-19 12:53:28 +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
Flyinghead
75dd5305c4
Revert "ci: use devkitpro/devkita64:latest ( #672 )" due to regression
...
Several games are freezing at start up
Issue #783
This reverts commit 3d00ac338b .
2022-11-15 17:52:12 +01:00
Flyinghead
76cf989455
disable free play for radirgy noa
...
Issue #527
2022-11-14 16:00:11 +01:00
Flyinghead
5b8e932509
move steam deck hack to sdl/sdl.cpp
2022-11-14 15:59:19 +01:00
scribam
993b705d8b
vulkan: use dynamic dispatch loader
2022-11-09 17:20:05 +01:00
Flyinghead
19204882c4
pvr: reschedule spg when SPG_HBLANK_INT is updated
...
Fixes Triggerheart Exelica input lag
Issue #691
2022-11-04 18:34:43 +01:00
vkedwardli
605dc59f8d
Fix Steam Deck's Game Mode also
2022-11-04 16:01:06 +01:00
Flyinghead
2332884d8b
maple: lower xfer rate to 1 Mbps. More accurate payload size calculation
...
Maple bus max xfer rate is 2 Mbps but actual speed is 1 Mbps.
Fixes Slave Zero (PAL) freeze with HLE.
Some improvements on payload size calc. Clean up.
2022-11-04 11:22:50 +01:00
Flyinghead
94f3d80a75
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# CMakeLists.txt
# core/hw/pvr/Renderer_if.cpp
# core/oslib/audiobackend_alsa.cpp
# core/rend/vulkan/desc_set.h
# core/rend/vulkan/oit/oit_drawer.cpp
2022-11-02 20:12:34 +01:00
Flyinghead
0b0e64304e
pvr: adaptive end-of-render interrupt delay
...
EoR interrupt delay now depends on the TA context size.
Issue #634
Fixes issues with FMV in some WinCE games (Resident Evil 2, Next Tetris,
Nightmare Creatures 2)
2022-11-01 18:29:44 +01:00
Flyinghead
5a1a766bd4
pvr: emu unresponsive if no render. Present when FB_R_SOF = FB_W_SOF
...
Fix no input polling while waiting for present.
Present frame immediately if FB_R_SOF = FB_W_SOF.
2022-11-01 18:23:54 +01:00
Flyinghead
c15f446ffc
hle bios: fix pal detection for some pal wince games
...
Caesar's Palace 2K, The Next Tetris, KISS
2022-10-31 11:31:21 +01:00
Flyinghead
c88cdde9ec
test fix
2022-10-30 12:47:39 +01:00
Flyinghead
40dbf53792
pvr: use render pass # to read the right tile when marking blocks
...
Fixes Unreal Tournament flashing/black screen.
gl: mark vram area in rtt to avoid overwriting data (Worms World Party)
Force Worms World Party to use CopyToVRam (regression due to
6a5db32d5d )
Don't calculate precise aspect ratio and use 4/3 instead (or more if
widescreen or stretch).
Fix clipping issue when using SCALER_CTL.vscalefactor. Avoir crash when
clip values are >= width or height.
vulkan: RenderFramebuffer wasn't working at all if !EmulateFramebuffer
2022-10-30 12:10:24 +01:00
vkedwardli
0cbf6f6601
Fixing Steam Deck's wrong dpi caused by incorrect 60mm * 60mm EDID ( #796 )
2022-10-27 22:00:22 +02:00
bslenul
c8fc873cf9
[Game List] Separate DC and arcade games
2022-10-26 15:37:17 +02:00
Flyinghead
b935bef906
gl: missing init of width and height in GlFramebuffer
...
gl,vk,dx9,dx11: always use the TA context copy for TA_GLOB_TILE_CLIP and
SCALER_CTL
2022-10-25 17:50:41 +02:00
Flyinghead
c1f0dd81d2
pvr: copy pvr regs at start_render time to avoid concurrent update
...
copy TA_GLOB_TILE_CLIP and SCALER_CTL to rend context when starting
render. Use rend context copy to calculate framebuffer size.
Fixes framebuffer size glitches in vf4 water stages.
lr: pass aspect ratio when resizing.
dx11: Wrong sizing of rotated games.
gl: test automation fixes.
2022-10-25 15:00:04 +02:00
Flyinghead
5722dc90f0
Full framebuffer emulation. Renderer interface changes
...
Helps for:
Densha de Go! 2, Issue #171
Vigilante 8, Issue #275
Xtreme Sports
Sonic Shuffle
The Ring of the Nibelungen
2022-10-23 16:32:42 +02:00
Flyinghead
e3c260f4ca
pvr: don't use op list to mark block if tile pointer is null
...
Naomi Doom sets the opaque list block to null in the tile, but op size
in TA_ALLOC_CTRL is non-zero. So use the TR list in this case.
Issue #682
2022-10-23 15:49:23 +02:00
Flyinghead
d1e48c657e
missing overrides
2022-10-23 15:44:12 +02:00
Flyinghead
decf70c87c
get rid of INLINE, NOINLINE, __forceinline
2022-10-22 22:14:19 +02:00
scribam
4de9076b49
macos: fix cmake post build command with ninja
2022-10-22 14:09:13 +02:00
Flyinghead
922df88cdd
msvc build fix
2022-10-22 13:05:11 +02:00
Flyinghead
f25aeee756
audio: don't crash if audio init fails. Fall back to auto
...
Don't crash if an audio backend fails to initialize.
Fall back to auto or run without sound.
Better audio backend framework
2022-10-22 12:08:05 +02:00
Edward Li
2b36953fdc
Always fills the window with responsive size
2022-10-21 10:55:34 +02:00
Edward Li
1dcf302665
Add Aspect Fit & Aspect Fill description for Widescreen and Super Widescreen
2022-10-21 10:54:59 +02:00
Flyinghead
1fd95c2886
Roadsters (US) doesn't support RGB cable
...
Issue #791
Compile warnings
2022-10-21 10:54:26 +02:00
Edward Li
93e1d7fcee
rend_resize_renderer_if_needed check for window size changes also
2022-10-20 09:51:04 +02:00
Flyinghead
b2b860bb8e
gl: vmu not showing and memory corruption
...
Fix vmu not displayed
Memory corruption when restarting gl driver (android)
2022-10-20 09:49:53 +02:00
Flyinghead
0bd88fc9d9
gui: div by zero crash if window is too small
2022-10-19 10:07:48 +02:00
Flyinghead
20f9450218
ignore start() if emulator already started
...
can happen on android
2022-10-19 10:06:53 +02:00
flyinghead
401c402afc
Revert "cmake: use more system libs ( #775 )" ( #785 )
...
This reverts commit c5c941e928 .
2022-10-19 10:04:21 +02:00
Flyinghead
77a105d888
set USE_DX9 in CMakeLists.txt instead of build.h
2022-10-18 10:12:27 +02:00
Flyinghead
257c6b729f
rzip: allow multiple writes
2022-10-18 10:08:02 +02:00
Alexandre Bouvier
c5c941e928
cmake: use more system libs ( #775 )
2022-10-18 10:04:15 +02:00
Edward Li
092006fbbe
Mark Flycast as a game for Launchpad
2022-10-15 21:33:22 +02:00
Edward Li
6add19fb04
unprotect elan memory during dc_reset hard
2022-10-15 21:32:49 +02:00
Flyinghead
02d4b821d7
naomi: allow eeprom-based settings to be overridden (rotate, region)
2022-10-12 22:59:46 +02:00
scribam
3d00ac338b
ci: use devkitpro/devkita64:latest ( #672 )
2022-10-09 19:08:54 +02:00
scribam
387b9778f3
cmake: remove "-static-openmp" for apple ( #773 )
...
Fix warning "clang: warning: argument unused during compilation: '-static-openmp' [-Wunused-command-line-argument]"
2022-10-08 19:18:50 +02:00
scribam
582876b99e
libomp.rb: update and set min macosx version to 10.9
2022-10-08 18:34:00 +02:00
scribam
3b3391c0d1
deps: update sdl to version 2.24.1
2022-10-08 18:33:11 +02:00
Alexandre Bouvier
df61b1046a
cmake: normalize whitespaces
2022-10-08 18:32:36 +02:00
scribam
8426bcad27
vulkan: simplify function calls
2022-10-08 18:32:01 +02:00
GABO1423
d22fa54f7b
(Libretro) Enable Per-Pixel Options on DX11 builds
2022-10-05 10:46:10 +02:00
Piotr Jagiełło
2d56dddf7a
cmake: execute git commands in the source directory
2022-10-05 10:45:18 +02:00
Flyinghead
7da0549b8c
operator [0] on empty vector crashes
...
Issue #763
2022-10-04 18:21:10 +02:00
Flyinghead
b821ece052
alsa: default to 'auto' device if configured one can't be opened
...
Issue #762
2022-10-02 17:09:13 +02:00
Flyinghead
b240da41e0
lr: use VK_API_VERSION_MAJOR/MINOR/PATCH
2022-09-26 11:19:15 +02:00
Flyinghead
d85baba1d3
Merge remote-tracking branch 'origin/dev'
2022-09-26 11:07:33 +02:00
Edward Li
8a44b909a4
[Apple] Proper version handling for Info.plist
2022-09-26 11:06:31 +02:00
GABO1423
5362264b18
(UWP) Remove expandedResources
2022-09-26 11:05:54 +02:00
Flyinghead
1858cf3b33
Merge remote-tracking branch 'origin/master' into dev
2022-09-24 19:28:38 +02:00
Flyinghead
1f876cde39
lr: use default button name if naomi inputs name is empty
2022-09-23 16:40:18 +02:00
Flyinghead
7288c7b541
win32: build win app, not console
2022-09-23 16:38:49 +02:00
Edward Li
2b8f5a7b9d
Print correct version info for Vulkan and MoltenVK
2022-09-21 14:43:28 +02:00
Edward Li
c2e1425209
Stop Apple fanboys from asking where is Metal
2022-09-21 14:43:28 +02:00
scribam
c9c1218234
vulkan: add deps as submodules and sync with Vulkan 1.3.224.1
2022-09-18 16:56:56 +02:00
scribam
11d776aea1
vulkan: remove external files
2022-09-18 16:56:56 +02:00
scribam
1386744fe0
.cirrus.yml: update freebsd image to version 13.1
2022-09-17 12:49:42 +02:00
Edward Li
da0d012328
Handle Dock menu's Quit action
2022-09-16 16:03:25 +02:00
Flyinghead
f88abf9987
extra depth scaling for south park rally
...
fixes car depth on character selection screen
2022-09-14 17:52:35 +02:00
Flyinghead
4a4fa7792f
vk oit: limit drawer swap chain to 2, same as non-oit
...
Fixes flashing during partial redraws (south park rally)
2022-09-14 17:48:57 +02:00
Flyinghead
73adbc660b
win32: build win app, not console
2022-09-14 17:46:14 +02:00
Flyinghead
aa97a6d64f
pvr: last naomi2 poly was ignored in some cases
...
Fix the disappearing moustache in wild riders
Fix other potential edge cases in pvr parsing
2022-08-25 19:34:23 +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
Flyinghead
85b8c599c4
pvr: object list is sometimes shared between op and tr modvols
...
Region tile object list pointers can be identical for op and tr modvols,
in which case tr modvols should be drawn using op modvols geometry.
Used by crazy taxi 1/2, alien front online, daytona usa and probably
many others.
Issue #717
2022-08-22 12:38:04 +02:00
scribam
72136c2bfc
deps: update sdl to version 2.24.0
2022-08-22 12:29:34 +02:00
Flyinghead
71e9420929
macOS: std::exception handler not catching FlycastException
...
Catch std::runtime_error instead
vk: Clear boxart texture cache before shutting down imgui driver
2022-08-14 18:39:09 +02:00
scribam
7457db8bba
android: update android gradle plugin to version 7.2.2
2022-08-06 17:30:10 +02:00
GABO1423
69125b490e
(UWP) Build Tweaks ( #709 )
...
* (UWP) Disable Vulkan Build Flag
* (CI) Remove UWP Build Flag
2022-08-04 17:37:06 +02:00
vkedwardli
3c94cd3194
Fix macOS accent menu ( #708 )
...
* `SDL_StartTextInput` only when textfield is focused
* [macOS] "Reveal in Finder" button for Home Directory
* only enable for `USE_SDL`
2022-08-04 17:35:40 +02:00
Flyinghead
a6ac753c64
boxart: ignore disks with invalid ip_meta. sanitize disk id chars
2022-07-29 10:48:39 +02:00
Flyinghead
55600c40a9
sdl: use exp scale for rumble power
...
Better sensitivity for low power values.
Issue #707
2022-07-28 10:47:42 +02:00
Flyinghead
9070c246d4
move iso9660.h
2022-07-28 10:43:44 +02:00
bslenul
75ff5409f4
Switch broadcast region for San Francisco Rush 2049 and Sega Smash Pack - Volume 1
2022-07-25 11:26:12 +02:00
Flyinghead
642fad9a6e
cfg: per-game settings must be deleted when changed back to standard
...
When a per-game setting is the same as the standard one, it is ignored
and not saved to emu.cfg. However the previously saved per-game setting
wasn't deleted, making it impossible to revert.
Issue #653
2022-07-25 11:25:42 +02:00
GABO1423
5ae7ac3eca
(UWP) Add Additional Rescap Capabilities
2022-07-22 18:13:11 +02:00
Edward Li
885862a45e
Get writable log path for macOS also
2022-07-22 18:12:43 +02:00
Edward Li
9b751fced8
NSLog with UTF-8, better color handling
2022-07-22 18:12:43 +02:00
Flyinghead
19ccc6a38d
uwp build fix
2022-07-21 14:51:20 +02:00
Flyinghead
ad8b41adb0
boxart: extract 0GDTEX.PVR. Offline scraping
...
extract iso9660 file system utility out of reios
.pvr limited parser
2022-07-21 10:43:45 +02:00
Flyinghead
807b8dea91
lr: Framebuffer size and aspect ratio. Fix vmu size and position (GL)
...
gl4: fix lightgun xhair size and position
2022-07-19 20:26:37 +02:00
Flyinghead
8e8935b9c4
pvr: xform matrix 240p support. screen stretching changes
...
Use FB_R_CTRL.vclk_div to detect progressive mode.
transform_matrix: Support non-4:3 aspect ratio such as 640x240. Don't
expect 480 height. Issue #690
Add black bars at top and bottom if screen aspect ratio is too low.
Issue #584 .
Framebuffer size doesn't depend on screen stretching. Stretching is done
when blitting to screen.
lr: correct subsequent stretching when drawing vmus and xhair
2022-07-18 18:21:09 +02:00
Flyinghead
76bf574668
gl,gl4: disable anisotropic filtering if not linear
...
Issue #695
2022-07-15 20:36:29 +02:00
Flyinghead
9d17fc15a3
gdrom, hle: don't restart cdda if paused or playing
...
Fix regression due to ab791d1b9c
(unpausing restarts the current track)
Issue #690
2022-07-14 16:49:56 +02:00
Flyinghead
1cadd4e923
gdrom: set sub-q channel flag on audio tracks in TOC (ADDR)
...
Fixes V-Rally 2 CDDA tracks not playing. Issue #534
2022-07-14 16:43:41 +02:00
Flyinghead
ab791d1b9c
gdrom: ignore CD_PLAY when already playing, not when paused
...
Issue #690
2022-07-13 12:52:29 +02:00
Flyinghead
4f206d2773
pvr: set correct framebuffer size in 240p/pixel_double
...
Some games use 240p and pixel_double resulting in a 320x240 framebuffer.
Renderer should be resized accordingly.
Fixes linear filtering artifact in KoF dream match 1999 (Issue #690 )
2022-07-12 15:55:49 +02:00
Flyinghead
7f9d9b81aa
gdrom: don't reset current cdda sector on cd_play if already playing
...
Issue #690
2022-07-12 15:33:11 +02:00
Edward Li
c77c3ab015
DRY
2022-07-09 11:46:27 +02:00
Edward Li
8acd81cc43
Add MacPorts as alternative link
2022-07-09 11:46:27 +02:00
Enrique Santos
c0e52b9a1a
load game: destroy old maple devices before create call
2022-07-08 20:38:16 +02:00
Flyinghead
0840da1bd5
sdl: fix inverted axis detection
2022-07-08 20:36:20 +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
f4986008fe
jvs: fix 86-request decoding
...
Fixes kingrt66 inputs when networked
Issue #673
2022-07-05 14:34:57 +02:00
Flyinghead
d6644c4935
lr: terminate emu during deinit on android
...
Issue #566 is for linux only, not android
2022-07-03 18:38:59 +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
Flyinghead
5bb8c86903
uwp: force windows sdk version to one compatible with current xbox fw
...
Fixes error at install: The package requires OS version 10.0.22621.0 or
higher on the Windows.Universal device family. The device is currently
running OS version 10.0.22000.4970.
2022-07-01 12:16:30 +02:00
vkedwardli
a659b57e63
Install Vulkan SDK in generate_xcode_project.command ( #678 )
2022-06-30 14:11:26 +02:00
vkedwardli
44e96c544b
Use source_group to create folder hierarchy for Xcode project ( #679 )
2022-06-30 14:10:15 +02:00
scribam
0a5b8891a8
android: update gradle
2022-06-30 14:09:20 +02:00
Flyinghead
6a5db32d5d
don't protect RTT textures vram
...
Fixes Spikers Battle RTT texture spurious update before use
(transitions)
2022-06-27 13:37:22 +02:00
Flyinghead
b0f3e065be
ui: wrong scaling after imgui driver reset
...
ImGuiStyle::ScaleAllSizes() is cumulative so reset style before calling
it
Issue #676
2022-06-27 13:32:30 +02:00
Flyinghead
b5b0875203
android keyboard support
2022-06-26 22:04:36 +02:00
Flyinghead
9a557978c4
gamesdb: fix exception when boxart is missing
2022-06-26 21:55:00 +02:00
Flyinghead
fe895211c1
ui: reset imgui driver before creating new one
...
Possible fix for Issue #676
2022-06-26 15:23:30 +02:00
Flyinghead
907131b7f5
allow ForceWindowsCE option to be used in per-game config
...
Issue #252
2022-06-24 13:27:21 +02:00
Flyinghead
76508146ae
cheats: only apply widescreen cheat if current value is expected
...
Issue #180
2022-06-24 11:47:24 +02:00
Flyinghead
7f28b767e4
gl: boxart clamp to edge if border not supported
2022-06-24 10:57:48 +02:00
Flyinghead
5f5a748031
boxart: batch uid searches. Bios image. More arcade rom name changes
2022-06-23 22:06:50 +02:00
vkedwardli
867b519a2b
[macOS] Fix imagemagick not found on GitHub runners ( #674 )
...
disable dep check for brew reinstall
2022-06-21 09:50:05 +02:00
Flyinghead
74852520dc
maxspeed: allow use of per-game network settings
...
Issue #671
2022-06-20 20:56:53 +02:00
Flyinghead
faec4d8e50
gl: always use int arithmetic in palette index glsl calculation
2022-06-20 20:52:15 +02:00
Flyinghead
d2aca1d621
savestate: overflow crash when serializing
2022-06-20 20:49:09 +02:00
Flyinghead
7bcd8c819a
arcade rom names update. non square boxart
...
Correct handling of non square images
Improve search for arcade game names
Retrieve other images if no boxart (titlescreen, screenshot)
Changed some arcade rom names to more friendly ones
2022-06-20 18:07:06 +02:00
Flyinghead
7209a61583
boxart: race conditions. revert dash in disk id hack
...
Filter BIOS by name like regular games.
2022-06-18 17:49:37 +02:00
Flyinghead
1523fafce0
vk: fix crash when resizing window in boxart mode
2022-06-17 16:17:58 +02:00
Flyinghead
3915c55251
boxart: skip invalid disks. fix disk id dash issue. save found status
2022-06-17 16:13:58 +02:00
Flyinghead
5259aa20e6
boxart: delete trailing [.*] in game names. Remove extension first
2022-06-16 17:03:14 +02:00
Flyinghead
11ecb473b6
new option to broadcast digital outputs over the network
...
Similar to MAME's "-output network" option. Should be compatible with
MAME Hooker and the like.
Limit boxart images loaded per frame to 10.
2022-06-16 16:50:26 +02:00
Flyinghead
7982fdac1c
switch needs curl
2022-06-15 23:13:01 +02:00
Flyinghead
54d92a11e8
build fixes
2022-06-15 22:38:05 +02:00
Flyinghead
5eb302898f
box art fetch and display
...
Issue #22
2022-06-15 21:22:12 +02:00
Flyinghead
5b3a414987
Merge remote-tracking branch 'origin/master' into dev
2022-06-15 19:25:41 +02:00
Flyinghead
05961ac883
android build fix
2022-06-11 13:41:44 +02:00
flyinghead
afd07c25ba
pvr: store tex address in render context. texture cache refactoring
...
Store FT_W_SOF1 and FT_W_CTRL in render context since they can be
modified before render end. New tentative fix for vf4 water reflection
flashing black during netplay.
Refactor texture cache to use constructors. RTT code moved from
renderers.
Partial revert of ddcd3861d3
2022-06-11 13:24:22 +02:00
flyinghead
7ab92d88b1
msvc x86 build fix
2022-06-10 17:57:53 +02:00
flyinghead
3780299803
win32 raw api: user-friendly names for devices
...
Issue #664
2022-06-10 17:20:29 +02:00
flyinghead
d78bb9ed3f
don't list hidden folders and files on windows. Better parent dir prompt
...
Issue #666
2022-06-10 15:29:28 +02:00
Flyinghead
b5f1552ed8
elan: don't crash on invalid texture xfer size
...
Issue #647 : fixes initdv3jb area conquered crash
2022-06-06 15:54:25 +02:00
Gabriel Morazán
917cc7f27c
Readme Updates. ( #659 )
...
* Update Reicast Link
2022-06-05 17:32:59 +02:00
Gabriel Morazán
2327e73ee7
(README) Update Xbox Section
2022-06-02 18:11:49 +02:00
Gabriel Morazán
397ddef68c
(Libretro) Actually allow DX11 only cores.
...
Simple build fix.
2022-06-02 18:11:49 +02:00
Gabriel Morazán
3ec7f293ee
(Libretro) Allow a DX11 only core to be built. ( #657 )
...
Main use case is Xbox systems.
2022-06-01 22:27:51 +02:00
flyinghead
26c8e8dab8
dx11 oit: naomi2 regression. Tr modvols shader needs divPosZ too
2022-06-01 19:26:56 +02:00
Flyinghead
fdcea88519
gl4: wrong depth for transparent polys with native depth interp
...
Issue #630
2022-06-01 19:26:56 +02:00
flyinghead
bf6c73060b
native depth interpolation option to help AMD gpus
...
When enabled, set 1/z in pos.w and use native interpolation for colors,
UV and depth.
Get rid of manual modvol clipping in dx11.
2022-06-01 19:26:56 +02:00
Flyinghead
ddcd3861d3
ggpo: don't protect rtt texture vram if ggpo is enabled
...
tentative fix for flashing water reflection texture in vf4 during
netplay
2022-05-31 17:42:42 +02:00
Flyinghead
971d47eb42
sdl: SDL_QuitSubSystem() on exit
...
Tentative fix for issue #654
2022-05-31 17:42:42 +02:00
Enrique Santos
13bd42bdab
chat: disable window timeout after you respond to message
2022-05-30 16:15:44 +02:00
Flyinghead
71ac212dc7
elan: disable texture for vertices without UV coordinates
...
Fixes initial D white transparent quad at start of race
2022-05-30 16:15:15 +02:00
Flyinghead
2319a00c4f
vk: bump moltenvk to 1.3.211.0
2022-05-29 13:35:22 +02:00
Flyinghead
1268077f6b
cheat: missing cheat value in constructor
...
Fixes vf4tuned dimm check cheat writing random value (SH4 exception,
boot loop)
2022-05-29 13:30:06 +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
167faff1f3
vk: invalid lightgun crosshair if maple device A isn't a lightgun
2022-05-28 12:58:53 +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
5ac0772a2a
vk oit: out of pool memory with moltenvk during render to texture
2022-05-26 18:06:30 +02:00
Flyinghead
e2c2d6606d
Fix Dead or Alive 2: Limited Edition (JP) widescreen cheat
...
Issue #625
2022-05-26 17:54:45 +02:00
Flyinghead
48361f58b6
vk oit: wrong temporary framebuffer dimensions
2022-05-25 16:44:24 +02:00
Enrique Santos
dcb439f74a
add ggpo chat window timeout
2022-05-23 11:42:11 +02:00
flyinghead
739a27be63
dx11 oit: render target and depth/stencil must have same dimensions
...
Fixes glitches during doa2 attract mode (depth/stencil missing).
2022-05-23 11:41:37 +02:00
Flyinghead
e84cdce398
reios: flashrom read returns 0 on success. system id/timezone flash fix
...
flashrom read returns 0 on success, not size read.
Fixes Slave Zero (PAL) crash
2022-05-21 15:46:22 +02:00
Flyinghead
af2fe242f9
flash: console id is checksummed
2022-05-18 14:58:21 +02:00
Flyinghead
0fb177bf85
reios: fix regression on many games due to 77a2bbbb
...
Jeremy McGrath
Skies of Arcadia
Speed Devils Online
Sydney 2000
Tech Romancer
Time Stalkers
Virtua Athlete 2000
Quake 3 (EU)
Climax Landers (JP)
Frame Gride
Pop'n'Music 1 & 2
Simple2000 2 & 3
2022-05-18 14:56:14 +02:00
Edward Li
baab70c509
Rumble using MacBook's Taptic Engine (take 2)
2022-05-17 16:37:37 +02:00
scribam
bc1c70bd1a
ci: remove brew install libomp
2022-05-17 16:36:57 +02:00
scribam
12929c4571
openmp: use _OPENMP preprocessor, search openmp pkg unconditionally if enabled
2022-05-17 16:36:57 +02:00
Flyinghead
62522e4eb3
vk: naomi2 crash when lightModel is null
...
fixes crash at end of tutorial in kingrt66
2022-05-17 16:36:34 +02:00
Flyinghead
221060cc70
widescreen cheat for Dynamite Deka2 (JP), Zombie Revenge (naomi)
...
Better Dynamite Deka ex (naomi) widescreen cheat.
Courtesy of Goddamn Superhero
2022-05-16 13:06:38 +02:00
Flyinghead
58d1f7cee1
pvr: reset nextContext in Reset(). Use tactx_Alloc for direct fb render
...
Fix crash with multipass renders
Issue #634
2022-05-16 13:04:38 +02:00
Flyinghead
430256266f
pvr: lightModels TA overrun on beach spikers
...
Better sizing of TA_context lists
2022-05-15 13:41:03 +02:00
Flyinghead
f9e38b11d9
pvr: restore TA_context pool
...
fixes performance regression on android
2022-05-15 13:37:58 +02:00
Flyinghead
78e075546a
libretro android build fix
2022-05-15 13:35:23 +02:00
flyinghead
658e111e3c
dx11 oit: naomi2 regression. Tr modvols shader needs divPosZ too
2022-05-14 12:01:50 +02:00
jdgleaver
0e23b0bedd
(libretro) Add option to detect and notifiy frontend of internal frame rate changes (60 <-> 30 <-> 20 fps, etc.)
...
Improves frame pacing in games with locked 30 fps and 20 fps frame rates
2022-05-13 17:13:25 +02:00
Flyinghead
903c768f7f
vk oit: First frame after init wasn't displayed
2022-05-13 17:12:31 +02:00
Flyinghead
d08f0e6599
gl4: wrong depth for transparent polys with native depth interp
...
Issue #630
2022-05-13 13:03:02 +02:00
Flyinghead
cd22ba1a2b
android: use WifiManager.MulticastLock to receive broadcast packets
...
In many cases, broadcast UDP packets can't be received on android unless
a MulticastLock is held.
2022-05-12 17:39:49 +02:00
flyinghead
77a11d2a2e
native depth interpolation option to help AMD gpus
...
When enabled, set 1/z in pos.w and use native interpolation for colors,
UV and depth.
Get rid of manual modvol clipping in dx11.
2022-05-12 13:43:43 +02:00
flyinghead
cce8cb8528
dx11 oit: missing TextureFiltering support
...
Issue #628
2022-05-11 19:16:31 +02:00
jdgleaver
6c6b447ea1
(libretro) Limit maximum number of audio samples that can be uploaded per call of retro_run()
2022-05-05 18:02:40 +02:00
Flyinghead
4554450d1d
oit: add max layers and pixel buffer size options
2022-05-05 18:01:05 +02:00
Flyinghead
a0d1dbf833
dx11: don't create the device in debug mode
2022-05-04 19:38:43 +02:00
Flyinghead
a1a89df17f
change vf4ft dimm check cheat. Don't apply cheat if not needed.
...
Fixes the SH4 exception seen with the previous cheat on some platforms.
Don't write memory if value is unchanged to avoid unnecessary protection
faults.
2022-05-04 10:30:35 +02:00
Flyinghead
cf36384481
use nearest/point sampling to draw framebuffer if nearest is forced
2022-05-03 17:55:02 +02:00
flyinghead
9103371362
vk: increase descSet pool size for storage buffers and input attachments
...
Fixes out of host memory error on macOS
Issue #619
2022-05-03 17:49:46 +02:00
flyinghead
1b5ad34c8e
dx11: (oit) use temporary render target for multipass
...
Render to temporary render target at end of pass and swap with regular
RT.
Fixes Tony Hawk 2 missing transparent geometry and character shadow.
Issue #618
2022-05-03 17:47:43 +02:00
Flyinghead
c57e88850c
lr: avoid crash when rewind is on
...
Issue #471
2022-05-01 19:22:22 +02:00
scribam
101a831534
cmake/macos: remove multitouch library
2022-05-01 12:34:43 +02:00
Flyinghead
3cc991fa4f
oit: poly number/vertex id overflow
...
Use 17 bits for vertex id but substract first vtx index
Use 13 bits for poly number instead of 12
Panzer Front uses more than 4095 tr polys.
Issue #616
2022-05-01 12:33:53 +02:00
Flyinghead
c348f4ccad
allow a core without open gl to be built
...
Issue #515
2022-04-30 18:05:12 +02:00
Flyinghead
0181685d2f
cheats: use software name as additional condition for widescreen
...
don't enable widescreen cheat for code veronica X
Issue #229
2022-04-30 12:08:36 +02:00
Flyinghead
39bb94dd55
jvs: don't scale ninja assault lightgun coordinates
...
Fixes reload issues (Issue #610 )
2022-04-30 11:50:56 +02:00
Flyinghead
77a2bbbb8d
reios: cancel gd dma int in g1_end_dma. drv_stat returns busy when busy
...
Cancel G1 DMA interrupt in G1_DMA_END (fixes MSR, Psychic Force, Pro
Pinball, Sega Swirl)
GET_DRV_STAT must return busy when drive is busy (fixes Hell Gate, Zero
Gunner)
Better named constants
2022-04-29 15:18:41 +02:00
Flyinghead
afb0a80de1
pvr: autosort needs empty passes to be accounted for
...
Issue #612
2022-04-29 11:37:17 +02:00
Flyinghead
49932e02a6
gdrom: generate raw subcode
2022-04-27 14:32:53 +02:00
Flyinghead
990a4ad583
vk: ignore pipeline cache if loading fails
2022-04-27 14:30:03 +02:00
Flyinghead
fc9e1e401b
naomi: emulate midi ffb drive board response
...
needed for driving simulator
2022-04-27 14:28:58 +02:00
scribam
15ca7e82bd
ci: fix java-version for actions/setup-java
2022-04-26 10:14:58 +02:00
Flyinghead
3b81bbcae5
naomi2: gmp diffuse/specular flags select vertex or model colors only
...
These flags shouldn't be used to disable diffuse/specular shading
Fixes road surface glitches in initdv3e (Usui map)
2022-04-21 13:55:09 +02:00
Flyinghead
902fc2cbe8
naomi: override Region settings if current region BIOS isn't found
2022-04-20 14:16:15 +02:00
Flyinghead
50f5dabf4a
naomi2: use diffuse/specular color before light routing
...
fixes lion's jacket color and shun's face glitch (vf4)
2022-04-20 14:13:42 +02:00
scribam
aa6c9e2106
msvc: fix linking issues in debug build
2022-04-17 13:24:37 +02:00
scribam
919fdb3594
ci: add distribution input to actions/setup-java@v3
2022-04-17 13:24:11 +02:00
Flyinghead
c625cc68bf
lr: increase vk descSet pool size. Insert card binding
...
vk: Use same descriptor set pool sizes for standalone and core
lr: bind "Insert Card" to L button (Naomi button 6)
lr: reset input descriptors when loading a new game
lr: don't reset maple devices in arcade mode: reloading eeprom cancels game settings
2022-04-17 13:23:16 +02:00
flyinghead
d732140bf9
Merge pull request #595 from flyinghead/dev
...
Naomi 2 support
2022-04-16 14:24:49 +02:00
Flyinghead
db525bd5db
android: fix touchscreen on Retroid Pocket 2+
...
Unexpected event source for touchscreen events
2022-04-15 18:06:15 +02:00
Flyinghead
039c666247
more types.h clean up. better aica handler templates
2022-04-15 17:03:49 +02:00
Flyinghead
ed5c24c281
arm64 build fix
2022-04-15 11:17:22 +02:00
Flyinghead
f2f4010203
clean up types.h, refactoring
2022-04-14 11:34:45 +02:00
Flyinghead
a9e261d280
simplify TA parsing
2022-04-13 20:36:52 +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
Flyinghead
ac71970561
don't save built-in cheats (vf4 dimm check)
2022-04-13 13:10:56 +02:00
Flyinghead
fd50529d86
gl: (lr) black screen when vmu display is on
...
need to call glBindVertexArray(0) to avoid VAO being modified by the
frontend
2022-04-12 18:23:09 +02:00
Flyinghead
52d95e537c
lr ci: disable switch build
2022-04-11 15:56:43 +02:00
Flyinghead
15b21fff2b
vk: don't use anisotropic with nearest. Use linear mipmap filter
...
Issue #580
2022-04-11 13:35:48 +02:00
scribam
f46bccfecd
cmake: reunified dx9 files
2022-04-10 11:28:09 +02:00
Flyinghead
1f55973f72
libretro ci: add switch build
2022-04-10 11:27:37 +02:00
Flyinghead
e0058c17ff
lr: don't terminate emu on deinit. gl4: buffer wasn't released on term()
...
shared libraries containing gnuc unique symbols are never unloaded on
linux, and possibly other platforms. So don't terminate the emulator on
deinit and init it only once.
Issue #566
gl4: buffer not released on term() was causing crashes or black screen when restarted.
2022-04-05 14:53:47 +02:00
Flyinghead
bf61f5cfe8
Merge remote-tracking branch 'origin/master' into dev
2022-04-04 12:11:10 +02:00
Flyinghead
8dcc25e1a9
ta: default base/offset color is white, not black
...
fixes black players in NHL 2K
2022-04-04 11:47:11 +02:00
Flyinghead
a428167dc6
naomi network: alienfnt startup crash if not connected
2022-04-04 11:43:54 +02:00
Flyinghead
48e3a3eb68
aica: double arm clock speed
...
actual aica arm clock seems to be 22.5792 MHz, which means 512 cycles
per sample at 44.1 KHz (from 256)
fixes vf4 audio hiccup in character selection screen
2022-04-03 20:53:44 +02:00
Flyinghead
a635fb3f77
test automation build fix, better exit
2022-04-03 20:46:50 +02:00
Flyinghead
320f679038
win32 build fix
2022-04-02 16:59:57 +02:00
Flyinghead
94c20ba29f
elan: reset TA parser before loading state
2022-04-02 16:43:15 +02:00
Flyinghead
8baebcfb5b
maxspeed networking. Store aw force feedback value
2022-04-02 16:41:52 +02:00
flyinghead
7fcce4a59b
naomi network: ignore WSAECONNRESET. Longer timeout for client
2022-03-30 15:48:23 +02:00
Flyinghead
554ffcd08f
naomi: use platform-independent network error codes (win32)
2022-03-30 14:13:02 +02:00
Flyinghead
af0574c04e
build fixes for msvc, ios and android
2022-03-27 15:57:01 +02:00
Flyinghead
6c38295d62
new naomi network protocol. vblank event. initd rumble support
...
new vblank event, used by cheats, lua and naomi net
new udp net protocol for naomi. rx/tx on vblank on emu thread.
input: rumble power configurable (Issue #158 )
ui: rumble intensity slider, enable/disable upnp
aica: hook to consume midi out
decode midi out to simulate rumble for initd
upnp can now be disabled
2022-03-27 15:23:21 +02:00
Flyinghead
55e613fae5
widescreen cheats for gun spike, initdv3e, alpilotj, monkey ball
...
Courtesy of Esppiral
2022-03-21 17:51:31 +01:00
Flyinghead
a5bad2b9b7
more naomi widescreen cheats. Fix vathlete 4-player mode
...
widescreen cheats for asndynmt, doa2m, slashout, spikers battle,
18wheeler, beach spikers. Courtesy of Esppiral
vathlete needs 2 I/O boards for 4-player mode
2022-03-20 17:49:50 +01:00
Flyinghead
ebb251d8cf
widescreen cheat for vf4tuned
...
Courtesy of Esppiral
2022-03-19 11:30:45 +01:00
Flyinghead
56768f2d3d
naomi2: use TA parser. Use N2light directly with vk, dx11
...
Use TA parser to handle list type and clipping for Naomi 2 polys.
Pass all pass-throuch TA data to TA parser but stop on naomi2 command.
Set default projection matrix instead of identity (fixes Area conquered
screen invisible in initd).
Change N2Light and N2LightModel so they are usable in GLSL (vulkan) and
HLSL (dx11).
TA parser throws exception for unhandled param.
ta_vtx.cpp refactoring.
Support for subtractive lights (diffuse+specular). Used in some clubk
circuits.
Fix vulkan crash when direct FB render.
2022-03-16 17:28:45 +01:00
Flyinghead
5b3d36e081
naomi2: network support for clubk and initd
...
clubk: don't reverse handle by default
hotd2 doesn't have a proper game id or standard eeprom
2022-03-15 19:44:24 +01:00
Flyinghead
ad08590197
vulkan: cache per-poly desc sets in map
...
avoid desc set pool exhaustion in per-triangle
2022-03-13 11:39:30 +01:00
Flyinghead
53b5588bda
Merge remote-tracking branch 'origin/master' into dev
2022-03-13 11:01:27 +01:00
Flyinghead
1015a8c098
naomi2: vulkan support
...
oit: use #define instead of functions in GLSL
2022-03-12 17:56:46 +01:00
Flyinghead
27ddc215cc
naomi2: boost lights by constant factor. simplify shaders
2022-03-08 17:38:29 +01:00
Flyinghead
c11a6cd432
naomi2: partial gles2 compatibility
...
Issue #553
2022-03-07 20:32:08 +01:00
Flyinghead
3a62e432da
switch: revert a92c2899c8
...
back to .obj instead of .o
2022-02-25 18:35:58 +01:00
Flyinghead
9c3f60c26c
CI: windows-2019 for windows. devkita64:20220128 for switch
2022-02-25 18:30:28 +01:00
Flyinghead
e5863920c4
naomi2: fix beach spiker crash
...
VUR vertices can also have environment mapping
2022-02-22 08:48:51 +01:00
Flyinghead
7f61b44d42
imgui: better drag scrolling code
2022-02-21 19:48:52 +01:00
Flyinghead
a5660fa2b4
missing changes from previous commit
2022-02-18 17:40:00 +01:00
Flyinghead
ecc03e3ebc
naomi: use boot rom id to configure eeprom
...
Make eeprom from scratch if it doesn't exist based on boot id info.
Override eeprom settings to make game happy
Change region to supported one
Get rid of per-rom region info in rom list
New option to configure Naomi games in free play
2022-02-18 17:35:20 +01:00
Flyinghead
a92c2899c8
switch build: cmake is now producing .o instead of .obj
2022-02-18 16:42:05 +01:00
Flyinghead
af4638e83f
naomi2: fix another initdv2 end of race crash
2022-02-18 16:40:26 +01:00
Flyinghead
cecf1a5497
naomi2: fix initdv2 end of race crash
2022-02-17 18:31:20 +01:00
Flyinghead
f2374982b8
pvr: don't merge polys with != palette. 2nd pass sometimes ignored
...
polys with different palette index shouldn't be merged.
If a pass isn't using any opaque, it can't be found. Fall back to using
the transparent or punch-through list in this case.
2022-02-17 18:30:29 +01:00
Flyinghead
d736dd027d
naomi2: initd card support. lua: fix multi-threading crash
...
initial d card reader support. insert card button.
lua: use mutex to enforce thread-safety
2022-02-16 19:02:04 +01:00
Flyinghead
214db9e0b1
gl4: depth pass need texture and UV for punch-through polys
2022-02-15 17:18:32 +01:00
Flyinghead
3bbc89afc9
dx11: fix crash with modvols
2022-02-15 17:16:45 +01:00
Flyinghead
e35ccbbb18
naomi2: force region for some roms. elan clean up
2022-02-15 17:15:44 +01:00
flyinghead
8d071bf4ea
naomi2: dx11 support. fix ambient color. no depth write in per-strip
...
dx11: naomi2 support
n2: ambient color was swapping red and blue
gl, dx11: don't write depth in per-strip to avoid missing geometry,
prefer wrong depth order/blending for now
optimize naomi2 per-triangle sorting
2022-02-13 21:01:45 +01:00
Flyinghead
a14086d484
naomi2: shader error in gles. Invert clubkart wheel axis
2022-02-11 19:06:58 +01:00
Flyinghead
20d25059bf
naomi2: remove geom shader. Merge transparent polys. bump mapping fix.
...
elan: Get rid of geometry shader and do geometry clipping manually.
pvr: Aggressively merge transparent polys in per-triangl and OIT mode, duplicating the last vertex to merge opposite cull mode strips.
gl4: reset OIT pointers in final shader. No need for clear pass.
gl4: alternate between 2 buffers for verts.index/tr poly params.
gl4: use gl_VertexID + poly number for poly index.
gl: new GlBuffer class.
2022-02-11 15:54:18 +01:00
Flyinghead
ccee7162bc
naomi2: soulsurfer inputs, 2-volume UV, wrong TA parser selected
...
TAParserDX was used for pass-through TA data. Fixes health bar color in
vf4 and dust color in kingrt66.
2-volume missing u1/v1. Fixes clubk shadows.
2022-02-08 10:32:56 +01:00
Flyinghead
debbae6ab1
naomi2: elan v10 emulation. texture dma xfers. 2-volume support
...
emulate elan v10 (fixes modvol in vf4, initd, beachspiker, wldrider)
wrong color order for model and vtx color
model param override xor support
improved light direction precision. Angle attenuation algo change
get rid of alpha light and modifier volume hacks
texture dma xfer from main and elan ram
gl4: use geometry only vtx and geom shaders for depth pass
2-volume support
2022-02-05 14:50:12 +01:00
Flyinghead
2c6f01ae38
naomi2: kingrt66 wiper button. initd gear up/down
...
kingrt66: map wiper button, remap shift H and R
initd: map gear up and down
wldrider: remap push and pull
2022-02-05 14:29:01 +01:00
Flyinghead
0362fd1079
naomi2: disable elan when net rollbacking, optimizations. ggpo: RTT fix
...
n2: do not process elan commands during ggpo rollbacks.
n2: Cache model colors to avoid unpacking for each vtx
pvr: merge equivalent polys with different culling by duping a vtx
pvr: fix crash during direct FB render
pvr: use correct color ordering for naomi2. Use identify matrix for null matrix pointers
ggpo: do not signal end of frame on a render to texture
2022-02-01 17:37:54 +01:00
Flyinghead
38765dc89a
pvr: fix multipass. naomi2: constant color shading.
...
pvr: link multipass TA contexts. Each pass has its own.
pvr: get rid of context pool
naomi2: constant color shading. Use model diffuse and specular
selection. Don't use vtx color for offset color.
naomi2: pseudo-parallel lights fix
naomi2: pass-through TA data needs forced list type. Terminate with
end-of-list
enable RTT copy to vram for Beach Spikers
2022-01-31 20:40:09 +01:00
Flyinghead
78306b3c12
ggpo: memory leak in free_buffer
2022-01-30 12:39:00 +01:00
Flyinghead
e51a291195
ggpo: wrong elan ram offset calculation
2022-01-30 12:39:00 +01:00
flyinghead
d551848a9b
dummy commit
2022-01-29 19:39:08 +01:00
Flyinghead
fe6247dded
cheats: iOS build fix
2022-01-29 18:40:19 +01:00
Flyinghead
5fb8b458bb
pvr: use TA_OL_BASE instead of PARAM_BASE/TA_ISP_BASE to id TA context
...
Writes current TA_OL_BASE to all tiles OPB block. Read from region array
at render time to identify context.
Fixes vf4 water reflections RTT
get rid of dump_frame/read_frame
2022-01-29 18:39:38 +01:00
Flyinghead
340c55c570
build fix
2022-01-28 22:30:07 +01:00
Flyinghead
de1322b928
naomi2: Fix T&L matrix. vmem elan ram support.
...
Fix T&L matrix (wild riders)
Open GL support for normal/light matrix
handle elan RAM in vmem
2022-01-28 21:24:30 +01:00
Flyinghead
010d257b69
naomi2: vf4tuned cheat/hack to skip DIMM fw version check
2022-01-28 20:02:07 +01:00
Flyinghead
e5d517dad2
use platform.isConsole(), platform.isNaomi(), ...
2022-01-27 17:52:19 +01:00
Flyinghead
965dea5fe6
test fix
2022-01-27 16:44:37 +01:00
Flyinghead
1ffcc75031
naomi2: implement SB_ISTNRM for clxb. serialize elan state
2022-01-27 16:40:12 +01:00
Flyinghead
e084cc9a3a
jvs: set received jvs message trail to zero
...
fixes sh4 crash during naomi boot
2022-01-27 15:50:44 +01:00
Flyinghead
6ed78d1202
another GL_CLIP_DISTANCE0 build fix
2022-01-26 22:37:38 +01:00
Flyinghead
270eaa1452
GL_CLIP_DISTANCE1 undefined
2022-01-26 22:19:53 +01:00
Flyinghead
e1038ea632
naomi2: fix regressions. 2-volume and bump mapping support WIP
...
optimize open gl uniforms
2022-01-26 22:15:10 +01:00
Flyinghead
8947100701
libretro: missing new param to gl4GetProgram
2022-01-25 15:43:30 +01:00
Flyinghead
cb99e7d920
naomi2: do T&L on the gpu. bypass TA format. env mapping.
...
fix model/instance/matrix parsing
handle culling reversed model flag
geometry shader for near plane clipping
2022-01-25 15:37:04 +01:00
Flyinghead
b048921c11
naomi2: fix clipping, parallel light direction, reset state on loadstate
2022-01-18 18:25:40 +01:00
Flyinghead
4335aa563f
naomi2 WIP
2022-01-16 22:41:42 +01:00