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
Ricardo Mendonça Ferreira
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 <ric.ce.br@gmail.com>
Co-authored-by: Flyinghead <raphael.jean@gmail.com>
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
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
A-w-x
e94babe57e
update breakpad submodule
2023-05-22 20:37: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
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
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
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
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
3192f84576
remove unused iconv.h include
2023-05-02 09:45:54 +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
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
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
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
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
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
Flyinghead
7108358ebd
Merge remote-tracking branch 'origin/master' into dev
2023-03-30 17:31:22 +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
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
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
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
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
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
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
aa5fd64777
dx11: use FAILED() macro instead of != S_OK
...
Tentative fix for MINIDUMP-FG
2023-03-06 10:30:33 +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:
2d5b59c99a/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
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)
bc009f82ea
* 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:
1a13d3ae4e
* 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