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
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
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
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
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