C.W. Betts
8f486e71cb
Update types.h
...
Use angle brackets for including pthread.h
2024-04-12 09:24:10 +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
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
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
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
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
f346bcd68b
elf: only load PT_LOAD sections
2024-03-24 10:16:02 +01: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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