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