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
Flyinghead
f4986008fe
jvs: fix 86-request decoding
...
Fixes kingrt66 inputs when networked
Issue #673
2022-07-05 14:34:57 +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
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
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
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
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
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
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
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
Flyinghead
167faff1f3
vk: invalid lightgun crosshair if maple device A isn't a lightgun
2022-05-28 12:58:53 +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
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
903c768f7f
vk oit: First frame after init wasn't displayed
2022-05-13 17:12:31 +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
cce8cb8528
dx11 oit: missing TextureFiltering support
...
Issue #628
2022-05-11 19:16:31 +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
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
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
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
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
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
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
d035af7ff0
xbox: low resolution (640x480) with recent firmware
...
Device ids for xbox series s/x returned from
GetGamingDeviceModelInformation() have changed
2022-04-09 12:04:51 +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
scribam
274f2fe10d
ci: add ninja, update actions and ccache support
2022-04-03 15:38:49 +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
2c96d49cf2
dx9, dx11: support for forced point/linear tex sampling and anisotropy
2022-04-02 11:18:48 +02:00
Hugo Locurcio
a9cabdc342
Add texture filter override setting, expose anisotropic filtering
...
The new texture filter option can be set to:
- Default (keeps the game's intended filter mode).
- Force Nearest-Neighbor (crisper appearance).
- Force Linear (smoother appearance).
Additionally, mipmapping can now be enabled on nearest neighbor-filtered
textures (which is used if nearest-neighbor filtering is enabled, including
with anisotropic filtering).
Anisotropic filtering was already implemented in both OpenGL and Vulkan,
but it was not exposed in the GUI.
2022-04-01 16:00:41 +02:00
Hugo Locurcio
90a95b4688
Add 6×, 7×, 8× and 9× options for internal resolution
...
This can be used to get a smoother image (supersampling) on
1440p and 4K displays. The 9× setting is also suited for native
resolution rendering on 8K displays.
2022-04-01 16:00:28 +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
1e01dbb151
wrong line padding value when copying RTT to vram due to previous commit
2022-03-26 20:51:07 +01:00
Flyinghead
be270259ee
crash with RTT and copy to VRAM if width > linestride
...
RTT texture width must not exceed FB_W_LINESTRIDE
fixes Flag to flag crash
2022-03-25 15:41:16 +01: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
514eedbc63
maple: do not raise maple_dma interrupt for light gun
...
Issue #474 (Virtua Cop 2 momentarily freezes when shot fired)
2022-03-07 19:16:49 +01:00
Flyinghead
1f61f80c92
input: fix naomi rotary encoders
...
Games with multiple JVS input boards poll inputs more than once,
ignoring some relative mouse movements.
Issue #557
2022-03-06 17:57:16 +01:00
scribam
830ffd0559
deps/picotcp: pico_ipv6_source_dev_find requires PICO_SUPPORT_IPV6
...
Backport 529074aab4
2022-02-28 07:24:50 +01:00
scribam
ed066df469
deps: update miniupnpc
2022-02-28 07:24:36 +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
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
20571c5aa1
chd: MIL-CD support
...
Issue #529
2022-02-15 11:34:11 +01:00
Flyinghead
3872a6b475
libretro: support VMU and lightgun crosshair with dx11 OIT renderer
...
OIT support was missing
Issue #525
2022-02-15 11:06:51 +01:00
Flyinghead
083a1c85a8
gl: shader compile error on shield tablet
...
Don't use GL_NV_shader_noperspective_interpolation since it's not really
needed (and wasn't enabled)
Issue #510
2022-02-14 18:54:27 +01:00
Flyinghead
943e0285ac
libretro: support VMU and lightgun crosshair with dx11 renderer
...
Issue #525
2022-02-14 18:47:23 +01:00
Flyinghead
d7abfc688c
dx11: oit depth pass needs the palette for PT polygons
...
Punch-through polys may use a palette, which is needed for alpha testing
Issue #467
2022-02-14 18:41:38 +01:00
Flyinghead
8f01ef90cf
gl,dx9,dx11: only render frame when Renderer::present() has been called
...
Issue #511
2022-02-14 18:38:58 +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
4fe8e40569
libretro: fix texupscale and max upscaled texture size settings value
2022-02-06 20:42:41 +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
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
4e21391f8c
ggpo: memory leak in free_buffer
2022-01-29 16:58:28 +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
58f05f74cf
jvs: set received jvs message trail to zero
...
fixes sh4 crash during naomi boot
2022-01-28 11:31:30 +01:00
Flyinghead
e5d517dad2
use platform.isConsole(), platform.isNaomi(), ...
2022-01-27 17:52:19 +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
DisasterMo
a4b0a69c45
Enable Indonesian, Swedish and Ukrainian localisations
2022-01-22 19:18:41 +01:00
Flyinghead
45ba648622
dx11: VersionHelpers.h -> versionhelpers.h
...
the mingw version is all lowercase
2022-01-19 14:37:49 +01:00
Flyinghead
b048921c11
naomi2: fix clipping, parallel light direction, reset state on loadstate
2022-01-18 18:25:40 +01:00
Edward Li
f2c39e4004
Update SDL to 2.0.20
2022-01-18 11:58:57 +01:00
Flyinghead
4335aa563f
naomi2 WIP
2022-01-16 22:41:42 +01:00
Flyinghead
62ec3546d6
dx11: uwp doesn't need texture conversions
2022-01-16 10:37:55 +01:00
Flyinghead
8bb0bd05f9
ui: limit scaling further on small low-resolution screens (retroid)
2022-01-16 09:58:33 +01:00
Flyinghead
e538242962
dx11: convert 16-bit textures to 32 bits on windows7
...
1555, 4444 and 565 aren't supported on win7
Issue: https://github.com/libretro/flycast/issues/1123
2022-01-16 09:54:39 +01:00
Julien Reichardt
4f638f6d77
Use service button instead of coin
...
The service button can also be used to add coins.
2022-01-11 14:09:54 +01:00
Julien Reichardt
80d78705b0
Add default coin mapping
2022-01-10 12:13:14 +01:00
scribam
746b3c5a54
sdl: fix joystick rumble
2022-01-06 08:59:39 +01:00
Flyinghead
a4788b5b24
zero-init sh4 context when no vmem is available
...
Issue #439
2022-01-03 18:44:47 +01:00
cmitu
8dcf0f58b5
postprocess: fix GLES2-only build
...
Added a missing `ifndef` guard for `glBindVertexArray`, useful for GLES2-only builds.
2022-01-02 10:51:03 +01:00
Flyinghead
d86305a7c3
android: on-screen gamepad not editable in Open GL
...
Swap wasn't called during editing
Issue #464
2021-12-26 16:03:19 +01:00
Flyinghead
2d41d993e3
macOS: patch SDL to compile in metal and vulkan
...
https://github.com/libsdl-org/SDL/issues/5010
2021-12-25 21:45:13 +01:00
Flyinghead
300c74e3fc
Merge remote-tracking branch 'origin/master' into net-rollback
...
# Conflicts:
# CMakeLists.txt
# shell/libretro/libretro.cpp
# shell/libretro/libretro_core_options.h
2021-12-22 21:31:17 +01:00
Flyinghead
3f82c7fb6f
iOS: use play and record audio session only when necessary
...
Change audio session to play and record when a microphone is connected.
Use a play only session otherwise. Issue #360
Hide VSync-related gui option.
2021-12-21 21:36:12 +01:00
Flyinghead
970e594009
Build with breakpad submodule. Use gcc 11 on windows.
2021-12-20 15:45:46 +01:00
Flyinghead
cd5a784277
add breakpad as submodule
2021-12-20 15:23:28 +01:00
Flyinghead
771f653174
delete breakpad
2021-12-20 15:20:26 +01:00
Flyinghead
bf87f7ba84
Compilation error on armv7 with gcc 9
2021-12-20 14:27:19 +01:00
scribam
73fa0e3efc
cmake/deps: update sdl to version 2.0.18
2021-12-19 11:18:24 +01:00
flyinghead
b1e0bc90ba
uwp: remove angle, upload to S3. windows: don't build SDL
2021-12-18 11:50:03 +01:00
scribam
8e305bfd0f
android/vmem: use constant ASHMEM_NAME_DEF
2021-12-18 11:46:04 +01:00
Flyinghead
325cd9a066
DSP crash on apple M1
...
Issue #415
2021-12-17 13:43:45 +01:00
Flyinghead
544c711fd7
savestate: compatibility between nvmem and !nvmem savestates
2021-12-17 13:41:46 +01:00
Flyinghead
e02afb34d1
dx11: wrong shadow scale factor. vk: object leak. Code duplication
...
dx11: shadow scale factor inverted in per-pixel
vulkan: clear deleted overlay images when terminating
Use color struct for FOG_COL_VERT, FOG_COL_RAM, FOG_CLAMP_MIN,
FOG_CLAMP_MAX and VO_BORDER_COL. Avoid code duplication in renderers.
2021-12-17 13:40:42 +01:00
Flyinghead
dc5acd24b2
Merge remote-tracking branch 'origin/master' into net-rollback
2021-12-17 12:40:37 +01:00
Flyinghead
7555263e38
wrungpo had wrong decryption key
...
Issue https://github.com/libretro/flycast/issues/1108
2021-12-17 11:55:17 +01:00
Flyinghead
71d016722e
vulkan: fix various validation errors
...
oit: skip to new frame even if previous frame was never presented
libretro: quad pipeline used for overlay must use subpass 2 in per-pixel
overlay: delay destruction of VMUs images
libretro: WaitIdle on queue instead of wait_sync_index
2021-12-16 21:26:55 +01:00
Flyinghead
04be40767b
android: fallback to /dev/ashmem if ASharedMemory fails. More logs
...
Issue #439
2021-12-15 23:09:59 +01:00
Flyinghead
5a6197cfc6
libretro: never request a GLES3 context
...
RA doesn't give us the opportunity to retry if GLES3 isn't supported.
Issue #405
2021-12-15 21:23:35 +01:00
flyinghead
5fca12af49
msvc compilation warnings
2021-12-15 17:58:58 +01:00
flyinghead
853830a446
log errno when failing to open a disk or folder. Better win32 errors
...
Log errno when failing to open a disk or folder (game scanner)
Better win32 error codes with GetLastError() for opendir, stat, access
2021-12-15 17:55:42 +01:00
flyinghead
2f47f72957
dx11: recreate texture if dimensions or format change. Clear rtt depth
...
Fixes a crash when switching Copy to VRam on as the RTT texture is no
longer upscaled when updated.
Clear RTT depth/stencil before render.
2021-12-15 11:32:04 +01:00
flyinghead
de35cf9840
dx11: fix fullscreen toggling
...
Prevent DXGI from monitoring Alt+Enter and let SDL handle it
2021-12-15 10:37:52 +01:00
flyinghead
18d8107992
dx11: no color interpolation for flat shading
...
Fixes Evolution WoSD
refactor setFirstProvokingVertex (dx9, dx11, vk)
Set .1 depth scale for V-Rallye to fix missing background image in menus
(dx11, dx9)
2021-12-15 09:37:58 +01:00
flyinghead
2478b72a3e
lr dx11: fix exit crash. Save shader cache where vk cache is
2021-12-14 16:48:23 +01:00
flyinghead
4d60150345
libretro: dx11 crash in single-threaded. Use compiler and feature level
...
libretro: Null first frame erroneously set as valid causing a crash with dx11 (single-threaded rendering)
libretro: pass dx11 compiler pointer to shaders
dx11: use feature level to check if per-pixel is supported
2021-12-14 10:41:04 +01:00
flyinghead
6a3a8d5578
libretro: dx11 support. dx11 shader cache. dx9 clipping planes
...
dx11: use 32-bit float depth texture to avoid loss of precision (SA2 into logo)
dx11: cache shader blobs to disk if not provided by OS
dx11: swap interval depends on screen refresh rate (1 for 60 Hz, 2 for 120 Hz, ...)
dx9: use clipping planes to avoid interpolation errors in rasterizer (daytona, mermaid lake)
directsound: use comptr
gui: fix navigation issue with OptionArrowButtons due to missing id
2021-12-13 21:02:44 +01:00
scribam
08828991e7
dx11: msvc x86 build fix
2021-12-12 18:43:36 +01:00
flyinghead
4c14a96888
vk, gl4: out of bound array index when sorting pixels
2021-12-12 18:42:50 +01:00
flyinghead
0478ec9696
dx11: per-pixel renderer
2021-12-11 18:53:35 +01:00
flyinghead
46044c068b
cheats: don't rely on cheat count on load. Fix compile warnings
2021-12-11 18:33:28 +01:00
flyinghead
cc39d4dd7d
vmem: close shared mem file descriptor when terminating
...
Tentative fix for Issue #439
2021-12-10 14:04:45 +01:00
flyinghead
b79c049bd4
dx11: wrong shader hash calculation
2021-12-09 09:26:36 +01:00
flyinghead
27041cbf59
dx11: better clipping algo. modvol cull mode. win: exception code
...
dx11: use faster clipping algorithm for modifier volumes
dx11: modifier volumes need cull mode. Fixes Daytona shadows.
win: the fault handler was treating some software exceptions as fatal (msvc)
uwp: remove async hacks and disable MS task wait exception. Fixes error reporting when loading a game.
2021-12-06 17:43:22 +01:00
flyinghead
7820c9bc44
dx9/11: fix rtt2vram crash. dx11: modvol fix and more
...
dx11: clip modvol triangles before sending them to the gpu
dx9,11: wrong source pointer for rtt to vram
dx11: handle source RowPitch when copy rtt to vram
dx11: crash at reinit
dx11: wrong scissor with direct fb rendering
dx11: blend ops are different for the alpha channel
Fix mingw CI build
2021-12-04 19:16:11 +01:00
flyinghead
191f1c38df
dx11: scissoring fix. 4K UI scaling
...
Clearing of side columns in 4:3 uses the quad drawer so it needs to be
called early. Border color was wrong. Fixes GTA2.
Scale UI x2 in 4K mode.
2021-12-03 15:48:42 +01:00
DisasterMo
ddc2e84e45
Add automatic Crowdin synchronization
2021-12-01 21:28:51 +01:00
flyinghead
99195c3f4c
dx11: set clip planes on X and Y. rend: Force palette update at init
...
dx11: Set clip planes at X -1/1 and Y -1/1 to avoid rasterizer errors.
Fixes Daytona Mermaid lake depth issues
dx11: fix texture wrap around at UV 1 with nearest filtering
dx9: inside clipping
all renderers: force full palette update at init
2021-12-01 14:54:03 +01:00
flyinghead
280c159078
uwp: fix dirent. Implement access() and stat()
...
Use UWP version of FindFirstFileEx
Implement basic access() and stat()
Add home dir to list of drives
Allow external storage folders to be added and scanned for games
2021-12-01 14:40:17 +01:00
flyinghead
6a8f1b941e
dx11: overlay support. inside clipping. 4K support on xbox. log fix
...
dx11: support for vmu and lightgun crosshair overlays
dx11: implement inside clipping (fixes 18 wheeler rear view mirror)
dx11: tentative 4K support on xbox
iOS,uwp: save log file in home (iOS)/data(uwp) directory
uwp: don't sign app on pull requests
2021-11-29 18:22:25 +01:00
scribam
8a6ce19e1e
input: cleanup virtual function specifier
2021-11-29 18:19:22 +01:00
flyinghead
d071adea9a
dx11: fix modifier volumes, rotation. sdl: on-screen keyboard support
...
dx11: Back face stencil ops need to be set
dx11: Rotate CCW instead of CW
dx11: Present with NO_WAIT when fast forwarding
sdl: support for on-screen keyboard. Delay keys up by one frame to allow quick key presses.
ui: better fix to wait for future on UWP
2021-11-28 16:19:03 +01:00
flyinghead
3d7455316f
linux build fix
2021-11-27 14:39:28 +01:00
scribam
3f50baa318
picotcp: fix alloca on freebsd
2021-11-27 14:32:04 +01:00
scribam
8164c96379
deps: update libchdr and remove patch
2021-11-27 14:31:22 +01:00
flyinghead
4ab3f01867
uwp: external storage support. enable picotcp
2021-11-27 14:30:36 +01:00
flyinghead
dbb277f749
Potential crash when starting game with non-default renderer
...
Renderer is switched to default and back to the selected one during
reset on the emu thread. The render thread may pick up this change.
2021-11-27 14:13:24 +01:00
flyinghead
0579f2ede6
7z: use fopen on all platforms
2021-11-27 14:08:07 +01:00
orbea
ef3af9aad3
cmake: Add an install target ( #421 )
...
Don't install glslang or xbyak
2021-11-27 10:42:09 +01:00
flyinghead
f91847dad0
DX11 renderer WIP
2021-11-26 18:08:41 +01:00
flyinghead
c4eaa973f0
picotcp: use strcasecmp
2021-11-24 14:17:00 +01:00
flyinghead
42fa77c81f
uwp: the back button (B) shouldn't close the app
2021-11-24 13:42:25 +01:00
flyinghead
e4bfeb9e44
picotcp: MSVC support
2021-11-24 13:41:04 +01:00
cglmrfreeman
67f2162fb3
Fix linux breakpad issues when glibc-2.34 is installed
...
As outlined by [Samuli Piippo in the qtwebengine chromium patch](https://codereview.qt-project.org/c/yocto/meta-qt6/+/378728/2/recipes-qt/qt6/qtwebengine/chromium/0004-breakpad-fix-build-with-glibc-2.34.patch ), SIGSTCKZ is no longer being compile time constant in glibc-2.34. The proposed fix compiles on my end and I have not tested on a linux distro with an earlier version of glibc.
2021-11-23 20:23:28 +01:00
BornPosthumous
417ffc09f8
Allows override of flycast.lua file ( #411 )
2021-11-21 15:16:11 +01:00
flyinghead
5b933cde61
uwp: use ccache for CI. gui_util.h typo
2021-11-20 18:24:21 +01:00
flyinghead
47442d1bc9
fix libchdr patch
2021-11-20 17:32:12 +01:00
flyinghead
bc34024e32
uwp: fix crash when opening menu/canceling load. CI job
2021-11-20 16:18:27 +01:00
flyinghead
63598019e1
naomi: rename deathcox to deathcoxj, new deathcox parent rom
...
MAMESET 0.227 changes
Issue #409
2021-11-20 14:06:19 +01:00
flyinghead
501244ed25
x64 rec: incorrect stack alignment of memory handlers on windows
2021-11-20 12:29:07 +01:00
flyinghead
e12912450c
missing changes
2021-11-19 23:29:35 +01:00
flyinghead
8262c9ece7
UWP support - WIP
2021-11-19 23:18:45 +01:00
scribam
c6374a899c
win32: build fix when sdl2 is not enabled
2021-11-14 22:56:43 +01:00
Flyinghead
8f80bcb159
New serialize framework. Delay maple dma xfer
...
New serialize framework. Refactor serialization into modules.
Maple dma xfer must not be executed immediately. Delay until interrupt
is raised.
Fixes Geist Force freeze at start.
2021-11-13 15:56:42 +01:00
Flyinghead
e56ecfec40
vk,dx9: black screen/crash in single-threaded on direct fb access
...
When rendering happens after the render timeout (initial sega copyright
screen and more), the frame is never swapped and never displayed. Causes
a crash in vk since the acquired swapchain image is never
presented/released.
2021-11-11 11:17:39 +01:00
Flyinghead
80cf422a5e
dynarec: fix CLRS and SETS ops
...
Destination reg was missing
Fix crash in OpenTyrian/SDL_DREAMHAL
Issue #403
2021-11-11 10:44:22 +01:00
Flyinghead
d788c310ee
apple build fix
2021-11-10 21:21:25 +01:00
Flyinghead
7583db3bef
vk: option to duplicate frames to simulate swap interval > 1
...
Issue #293
2021-11-10 20:55:22 +01:00
Flyinghead
ac5abd96bb
ui: imgui driver, GraphicsContext interface, dx9 swap interval
...
Refactor imgui backend code into imgui drivers for gl, vk, dx9
Generic GraphicsContext interface for gl/vk/dx9 contexts
Simplify graphics api switching code
dx9, gl(sdl): set swap interval based on monitor refresh rate.
2021-11-10 20:35:30 +01:00
Flyinghead
aa944ac5e8
vk: fix vmu transparency in lr core
2021-11-10 18:42:11 +01:00
twinaphex
a15863ae35
(Libretro) CI integration - and necessary fix for compiling Windows
...
core cross-compiled on Linux
2021-11-09 18:48:55 +01:00
Flyinghead
a04fd06e38
gl: iOS doesn't like smooth. More precision needed for vertex colors
2021-11-09 10:38:41 +01:00
Flyinghead
99ee526ac5
gles3 doesn't support noperspective. vk needs higher prec for color/uv/z
...
noperspective not supported in gles 3. Use smooth instead
Vulkan now needs higher precision for colors, UV and z (adreno 630)
2021-11-08 16:53:47 +01:00
Flyinghead
06ef0e5fdc
vk,gl: use w=1 in shaders. Fix translucent modvols
...
Use w=1 to avoid multiply/divide of xy as in dx9
Disable rendering when video output disabled
Use original w value in pixel struct to avoid precision loss (samsptk)
vk oit: missing memory barrier was producing Tr modvol glitches (JSR)
gl oit: Tr modvol needs full vertex shader
2021-11-07 18:21:44 +01:00
Flyinghead
5209623064
cue: ignore unrecognized REM entries. parse one line at a time
2021-11-05 19:14:08 +01:00
Flyinghead
7c53413bc5
vk oit: fix depth-only Tr pass
...
Cosmic smash
2021-11-05 18:36:09 +01:00
Flyinghead
42f92b8dc1
ggpo lib: compile warnings, remove legacy chat
2021-11-05 18:34:23 +01:00
Flyinghead
986baccf83
lr build fix
2021-11-04 13:11:18 +01:00
Flyinghead
32d31e7644
vk: implement TranslucentPolygonDepthMask
...
Fixes Cosmic Smash
vma: instance is needed at init
Partial vk support for iOS
2021-11-04 09:13:47 +01:00
Flyinghead
03161446b9
can't launch BIOS after playing a game
2021-11-04 08:57:15 +01:00
Flyinghead
17bbb7f145
vk: disable small tex optimization on macOS. Fix libMoltenVK embedding
...
small textures linear optimization leads to texture corruption with
moltenvk.
Copy libMoltenVk to correct runtime output dir.
2021-11-02 09:44:24 +01:00
Flyinghead
da3ed74c4e
vulkan: moltenvk support on macOS - WIP
...
sdl: save/restore window position in config
2021-11-01 13:05:22 +01:00
Flyinghead
46ae8f92cc
input: per game input mapping
2021-11-01 12:39:50 +01:00
Flyinghead
9b3dec5f70
imgui: fix crash when closing chat with gamepad DPad button down
...
backport 25679a411e
2021-10-27 12:28:31 +02:00
Flyinghead
146bfb28d1
ggpo: always use P1 input in netplay even if playing as P2
...
fix imgui assert
2021-10-27 12:26:17 +02:00
Flyinghead
46fb331275
look for BIOS files in Content Path folders if not found in data folder
2021-10-27 12:24:30 +02:00
LaercioMBR
004250ed23
InputDescriptors for radirgyn and mamonoro
2021-10-24 14:07:40 +02:00
Flyinghead
037339f3be
ggpo: savestate md5 wasn't computed
2021-10-21 12:03:04 +02:00
Flyinghead
e0437ab447
msvc fix
2021-10-20 15:28:34 +02:00
Flyinghead
808a161d39
ggpo: make chat thread-safe. Deadlock on early rollback
...
Make ggpo_send_message() thread-safe
Deadlock UI/emu threads if rollback happens before first render
Disable rollback wait in single-thread mode
2021-10-20 14:41:18 +02:00
LaercioMBR
6d8e1794a0
Fix Metal Slug 6 inputs ( #393 )
2021-10-20 14:36:02 +02:00
Flyinghead
89338c0b4b
win32 build fix
2021-10-19 17:24:17 +02:00
Flyinghead
7f7cbd5666
missing change
2021-10-19 17:05:00 +02:00
LaercioMBR
846ed76808
InputDescriptors for Dolphin Blue, Demolish Fist and ggx15
2021-10-19 17:02:01 +02:00
Flyinghead
ab45b5ec8a
ggpo: keyboard/mouse games support. Fix chat when keyboard disabled
...
ggpo: support for arcade games using keyboard (totd, luptype) and
mouse/rotary encoders (waiwai drive)
Chat and UI now usable when the keyboard is not set to a maple port.
2021-10-19 16:56:46 +02:00
Flyinghead
db93a4c4a7
ggpo: in-game chat
...
use menu key to open/close chat window
disable keyboard/mouse controllers when using chat
disabled controllers can now use emu keys (menu, escape, ff)
2021-10-18 16:40:17 +02:00
Flyinghead
59566eb363
ggpo: support application messages
2021-10-18 16:26:24 +02:00
LaercioMBR
7fb85e5b25
Standardizing InputDescriptors names, added kov7sprt_inputs ( #389 )
2021-10-18 11:24:38 +02:00
Flyinghead
3eeb7e7cae
build fix
2021-10-16 18:15:11 +02:00
Flyinghead
cf653640b3
ggpo: verify md5 of bios, game and savestate
...
Verify md5 of flash, eeprom, vmus if no savestate used
Use chd header SHA1 as digest
Load .state.net state file at start
Force real BIOS for some games
2021-10-16 17:56:21 +02:00
Flyinghead
7ecb6a6d96
ggpo: Fix udp packet size. Fix verif mismatch due to uninit'ed var
2021-10-15 13:07:21 +02:00
Flyinghead
c08f177d3b
libretro build fix
2021-10-14 11:51:39 +02:00
Flyinghead
1c6e722961
android: add app external & internal files dir. Race condition at start
...
Fix crash at startup due to race condition with game scanner
Don't allow selection of non-writable folder during onboarding
Add private internal and external Files folders to list of storage
locations to choose from
Assign first external android gamepad to port A instead of B
ui: Fix layout of controller mapping dialog when port=All
2021-10-14 11:39:27 +02:00
Flyinghead
0d49817f00
fix crash when [config]pvr.rend is invalid for the current platform
2021-10-14 10:52:35 +02:00
Flyinghead
85c21df5e7
Use allocAligned/freeAligned for all aligned allocs
2021-10-14 10:46:44 +02:00
Flyinghead
f9d5b8eb74
ui: limit max scaling on small low-res screens (<= 640x480)
2021-10-12 17:34:42 +02:00
Flyinghead
bcc3337c58
cheats: support for bit-level RA codes
...
log start of address space, RAM, VRAM, audio RAM at boot
fix add cheat dialog layout
don't crash on wrong gdrom unlock code
2021-10-12 17:28:01 +02:00
Flyinghead
163888f329
GameShark cheat codes support
2021-10-10 17:24:17 +02:00
Flyinghead
8b986dfab3
vmu beep support
2021-10-10 16:33:37 +02:00
Flyinghead
19bd6d0bca
test automation clean up
...
less #ifdef
force mute audio
don't force vsync
2021-10-10 16:26:36 +02:00
Flyinghead
c2caef4ad5
ui: use SDL clipboard functions for imgui
...
allow cut & paste on linux
2021-10-07 19:14:29 +02:00
Flyinghead
1d9ac4918c
pvr: fix SPG_VBLANK_INT reset value
2021-10-07 16:24:00 +02:00
Flyinghead
bc3be1029c
fix sh4 scheduler. use common cycle counter in sh4 context
...
scheduler reset and unregister
schedule requests during reset(), not init()
preserve cntx.sh4_sched_next on sh4 reset
Use cntx.cycle_counter in dynarecs and interpreter
Fixes Confidential Mission hang at boot with HLE
2021-10-07 16:18:32 +02:00
Flyinghead
bc238de5ce
switch: open 4 controllers. android: java7 compatibility
2021-10-06 18:55:04 +02:00
Flyinghead
1072235b1a
lua: ui bindings
2021-10-04 19:42:45 +02:00
Flyinghead
3c2c7b379d
ggpo: pair with first received sync request if remote IP not specified
2021-10-04 19:38:33 +02:00
flyinghead
82bec1e324
lua: build fix for linux and win. dx9: crash on exit
2021-10-03 20:22:52 +02:00
Flyinghead
897cc01f93
some lua bindings
2021-10-03 18:34:27 +02:00
Flyinghead
5bcfa35737
Better background game loader
...
Pass LoadProgress object to report load progress and cancel
Better UI
Cancel with exception
Fix issues when stopping/exiting in !threaded
dx9: call gui_term on shutdown
2021-10-02 11:30:40 +02:00
Flyinghead
c1bcf91dd6
pvr: render timeout when using ggpo or !threaded
...
will cause ggpo desyncs with previous versions
2021-10-01 16:48:01 +02:00
Flyinghead
621e4d196e
crash when enabling bba per-game
2021-10-01 16:14:27 +02:00
Flyinghead
45ebc2239f
ggpo: exchange verification data during sync
2021-10-01 16:07:32 +02:00
Flyinghead
a6248905a0
ggpo: report UDP bind error. Better error reporting for net init
...
fix ggpo lib warnings
2021-09-30 17:24:51 +02:00
Flyinghead
699dcdaf5b
Merge remote-tracking branch 'origin/master' into net-rollback
...
# Conflicts:
# core/hw/maple/maple_if.cpp
# core/rend/mainui.cpp
# shell/libretro/libretro.cpp
2021-09-30 15:03:29 +02:00
Flyinghead
23d1f6b507
imgui: bug when drag scrolling in a combo's popup
2021-09-30 14:36:29 +02:00
Flyinghead
f72f4c49fb
macos: fix freeze in !threaded. input: fix crash when saving mapping
...
audiostream: delete legacy [audio]disable option
2021-09-30 14:31:51 +02:00
Flyinghead
2803ee8274
imgread.ImagePath clean up. ggpo: poll input late if !thread
2021-09-30 14:24:17 +02:00
Flyinghead
0d2e6f5e98
remove safe mode/div matching option
...
mismatched delete/free() in TexCache.cpp
2021-09-29 11:57:51 +02:00
Flyinghead
99bf7f77c4
single-threaded mode. refactoring.
...
single-threaded mode similar to libretro core
stateful Emulator object
disable memory watcher when !gppo
ggpo: poll input as late as possible in !threaded
2021-09-29 10:22:58 +02:00
Flyinghead
7fe2ab720f
refactor screen_width/height
2021-09-27 20:29:23 +02:00
Flyinghead
18cecc8d38
gl,vk: use VO_BORDER_COL for clear color
2021-09-27 13:39:08 +02:00
scribam
1fa233aae7
Remove makefiles and xcode project files
2021-09-27 11:52:18 +02:00
Flyinghead
1dc01314a1
input: don't poll input on emu thread
...
fixes device reset errors with dx9 on Alt+Enter and other renderer
crashes
2021-09-27 11:51:39 +02:00
Flyinghead
fb40bb22df
vk: CommandPool size must be 2. Fix lightgun xhair validation error
2021-09-27 11:19:50 +02:00
Flyinghead
1dc22ec76c
sdl: null init sdl_controller
2021-09-26 22:02:21 +02:00
Flyinghead
41ac140076
ggpo: lightgun support for arcade games
...
ui: display button names in arcade mode only
2021-09-26 21:28:31 +02:00
Flyinghead
39fabf39ae
naomi: free play eeprom for many games
...
inputs for ggx, doa2, toyfight, ausfache
don't label common buttons (coin, test, service, start)
2021-09-22 14:26:13 +02:00
Flyinghead
945a483e9b
ggpo: less log
2021-09-22 14:20:55 +02:00
Flyinghead
1725dbfa98
input: fix arcade mode for on-screen gamepads.
...
Use same layout as gamepad arcade for on-screen gamepads (ABXYRL)
map RT and LT to buttons 5 and 6 in arcade
android: Fix non-working fast-forward button
Use maple port in lastAxisValue state
naomi: use default alienfnt buttons: 1-4
2021-09-21 15:56:01 +02:00
Flyinghead
c419654a11
input: don't register multiple button presses when holding axis
...
keyboard: map left stick and coin button by default
2021-09-20 14:07:42 +02:00
flyinghead
51ad6094e8
input: fix axis bound to emu buttons
2021-09-20 10:05:13 +02:00
flyinghead
5b7d189058
sdl: fix hat button names
2021-09-19 22:35:23 +02:00
Flyinghead
65956dbc8d
input: merge buttons and axes
...
Default mappings for arcade and console
Default mappings for arcade stick/hitbox
Proper handling of inverted axes
ggpo: automatic analog setting for arcade games
2021-09-19 18:27:21 +02:00
Flyinghead
d75072362a
vk oit: work around adreno 600 driver regression
...
Android 11 adreno 600 driver v502: PixelBuffer.pixels.length() is
returning 0 in some cases.
Issue #361
2021-09-18 18:08:52 +02:00
Joshua L
22947af854
Sdl gamecontrollerdb.txt fix ( #356 )
...
sdl: load gamecontrollerdb.txt before calling SDL_InitSubSystem
2021-09-18 18:07:07 +02:00
Flyinghead
50a67dbd3e
build fix
2021-09-16 20:27:57 +02:00
Flyinghead
7fd954e10d
rend: apply vscalefactor to scissor in 240p/480p
...
fixes SF3 3rd strike half-screen in 240p mode
2021-09-16 19:27:59 +02:00
Flyinghead
4c53fcecfa
ggpo: detect input size mismatch and abort gracefully
2021-09-16 19:24:49 +02:00
Flyinghead
05d495b282
dx9: Fix RenderLastFrame
...
Fixes black blackground when opening the menu during a game
2021-09-15 17:24:55 +02:00
Cameron Bates
501c6f260a
Remove mouse invert option and invert gcmouse by default
2021-09-14 23:43:16 +02:00
Cameron Bates
e1fa2b9831
[iOS] GCMouse support ( #353 )
2021-09-14 11:51:44 +02:00
Flyinghead
8b266b1327
ggpo: force aica.nobatch
2021-09-13 13:01:52 +02:00
Flyinghead
480e85f615
ggpo: UI for analog axes settings. Display stats option
2021-09-12 17:42:58 +02:00
Flyinghead
99a0dce8cd
arm build fix
2021-09-11 19:17:36 +02:00
Flyinghead
badcace987
ggpo: analog axes support. Fix right trigger. use miniupnp.
...
Analog stick X/Y support
Right trigger was ignored
Forward UDP port 19713 with miniupnp before starting ggpo session
Use recursive_mutex for ggpo
2021-09-11 18:50:11 +02:00
Flyinghead
e8b73e22b7
Merge remote-tracking branch 'origin/libretro' into net-rollback
2021-09-11 18:11:36 +02:00
Flyinghead
1762987aae
reios: reset gdrom state at reset
...
Fixes "Reboot to BIOS" exception when loading another game
2021-09-11 11:22:58 +02:00
Flyinghead
ad2e142b01
ui: Show mouse cursor when emu throws an exception. lr: fix vulkan init
2021-09-10 15:32:13 +02:00
Flyinghead
88fa5d5c41
arm64 dsp: don't JitWriteProtect twice. ios: Hide VSync. pvr: fix mutex
2021-09-10 15:26:18 +02:00
Flyinghead
e45ec4324f
Merge remote-tracking branch 'origin/master' into libretro
2021-09-10 12:19:29 +02:00
Flyinghead
3ced57a263
network: use interface for startup. avoid deadlock on exit
...
Use common interface for naomi and ggpo
Simpler ggpo interface
Fix deadlocks on exit with ggpo
2021-09-09 18:17:05 +02:00
Flyinghead
458868a634
ggpo: always save delta ram. Disable ff,cheats,savestates when online
...
ggpo: always save delta ram on save_game_state as frames may be rerun
and resaved
Global network online status (ggpo, naomi, modem, bba)
Disable fast forward, cheats and savestates when online.
2021-09-08 17:18:01 +02:00
Flyinghead
7ecc0543f4
ggpo: fix common assert() sync.cpp:238
2021-09-08 16:21:54 +02:00
Flyinghead
6d6f3d38d4
libretro build fix
2021-09-07 17:18:56 +02:00
Flyinghead
a4e715fa71
serialize modem, aw coin, pvr direct fb state, TA cur context
2021-09-07 16:43:50 +02:00
Flyinghead
8594d11693
maple: refactor usage of rt/lt. zero out joystick values if ggpo active
...
Fix mouse cursor being invisible when emu throws an exception
2021-09-07 16:30:56 +02:00
Flyinghead
a4c14ebef7
Merge remote-tracking branch 'origin/libretro' into net-rollback
2021-09-07 15:02:39 +02:00
Flyinghead
599874c9c1
dx9: VSync option support
2021-09-07 14:16:05 +02:00
Flyinghead
5121b0df93
maple: mutually exclusive btns per controller. better D2A axes
...
Handle mutually exclusive buttons (U/D, L/R) in each controller.
Track digital X/Y axes state to allow for proper handling of U+D and
L+R. Issue #334
SDL: Ignore key repeat events
2021-09-07 10:54:00 +02:00
Flyinghead
e3a2f1cfbe
ggpo: transmit RT and LT as digital inputs
2021-09-06 17:16:41 +02:00
Flyinghead
414fb9dba2
ramwatch: protect all ram, not just the bottom half
2021-09-06 16:14:38 +02:00
Flyinghead
a402c69c55
ggpo: detect frame rate and use it to pause when ahead
2021-09-05 20:47:37 +02:00
Flyinghead
c007165a0f
input: naomi btns 5/6 and 7/8 shouldn't be mutually exclusive
2021-09-05 20:12:40 +02:00
Flyinghead
a3d50fc197
Merge remote-tracking branch 'origin/libretro' into net-rollback
2021-09-05 20:07:37 +02:00
Flyinghead
6768901446
allow semicolon in content paths
2021-09-05 10:30:19 +02:00
Flyinghead
35e77976a6
ui: use input from all keyboards
...
Issue #339
2021-09-05 10:29:12 +02:00
Enrique Santos
dba805e8c4
ggpo: static rtc when ggpo is enabled
2021-09-04 18:47:34 +02:00
Enrique Santos
e3aca85efd
ggpo: add frame delay to settings ( #343 )
2021-09-04 18:47:21 +02:00
Flyinghead
f35a18bb63
ggpo: use bargraphs for net stats
2021-09-04 12:03:29 +02:00
Flyinghead
e02ccbf32a
gl: update fog and texture palette in Process()
2021-09-03 11:12:47 +02:00
Flyinghead
b362a55c04
ggpo: rollback glitches. win32 init. switch build. stats
...
Block net rollbacks until the current frame has been processed to avoid
glitched textures.
Call WSAStartup at init on windows
Display net stats when in game
Switch build fix
2021-09-03 11:11:46 +02:00
Flyinghead
69d0801121
net rollback with ggpo
2021-09-02 17:51:23 +02:00
flyinghead
f85bca06d7
dsp: rec crash on windows
2021-09-02 12:34:38 +02:00
Flyinghead
93eff7fac6
sh4: fix TMU regression
...
introduced by 05d51cc35c
fixes SA2 running too fast
2021-08-29 11:55:42 +02:00
Flyinghead
c3d954263b
gdrom: fix soft reset. ignore slave requests. Unknown ATA cmds handling
...
Retain currently inserted disk during soft reset
Correct DriveSelect value. Ignore slave drive commands and return 0
status.
Properly handle unknown ATA commands.
Fixes DreamShell boot and CDI boot from BIOS
2021-08-27 18:29:41 +02:00
Flyinghead
e058ba5d3b
sh4: always perform hard-reset of sh4 and its registers
...
Fixes infinite loop after reboot
2021-08-27 18:20:40 +02:00
Flyinghead
05d51cc35c
sh4: timer underflow lost if TCOR is 0 or very small
...
Fixes DreamShell boot
2021-08-27 17:55:50 +02:00
vkedwardli
a51f310e96
Add volume slider in audio settings ( #329 )
...
Use logarithmic volume scale
2021-08-26 13:30:23 +02:00
Flyinghead
89ccdf2814
rend: better fix to force even width rendering
2021-08-26 13:28:13 +02:00
Flyinghead
52af352fcd
input: never load mapping file for !remappable controllers
...
Fixes android on-screen gamepad not working when a (wrong) mapping file
exists for it.
Issue #325
Issue #330
2021-08-26 13:25:18 +02:00
Flyinghead
088287227e
x64 msvc build fix
2021-08-26 11:01:44 +02:00
Flyinghead
ad1f9527c1
x86 msvc build fix
2021-08-26 10:34:01 +02:00
Flyinghead
ca17717af7
dsp: map TEMP/MEMS/MIXS regs to sh4 and aica address space. Clean up
2021-08-26 10:16:07 +02:00
Flyinghead
2a849ccba5
ui: hide dirs on iOS. Fix home on android. force even width rendering
...
Hide content and home dirs on iOS
Show home dir and allow change on android
Force even width for rendering resolution
2021-08-26 10:08:50 +02:00
Flyinghead
e5ca63db20
aica: arm32 dsp dynarec. Correct dsp level when dsp disabled
2021-08-24 20:49:53 +02:00
vkedwardli
7a33ae35e0
[macOS] Fix DelayFrameSwapping and optimise Vsync logic ( #307 )
...
* Support macOS 10.15 and 11
* Enable VSync option on macOS. Use "swapOnVSync" logic from other wsi
* Limit `mainui_rend_frame()` to 5 iterations max: 4 renders and the final swap
2021-08-24 11:43:19 +02:00
Flyinghead
ce58ba3472
pvr: detect swap on FB_R_SOF2 too. Force render res. to even width
...
Fixes Soul Calibur FPS /2 drop with Delay Frame Swapping on
2021-08-24 11:40:53 +02:00
Flyinghead
2f03922b43
build fix
2021-08-23 14:25:27 +02:00
Flyinghead
5db2856270
missing changes from previous commit
2021-08-23 14:16:52 +02:00
Flyinghead
e3e3229612
iOS: multiple controller/rumble support. GL: fix black screen after RTT
...
iOS:
* multiple controllers support. Rumble support.
* fix audio recording
* declare CHD/GDI/CUE/CDI content types
* start game when opening file URL
* Use safe area for UI and virtual gamepad
* Better icons
2021-08-23 14:02:12 +02:00
Flyinghead
98d04702ae
sdl: set vsync swap interval to 2 for 120 Hz displays
...
Issue #293
2021-08-23 10:11:04 +02:00
Flyinghead
7fb83f4f77
libretro: fix content closing when loading or saving state
2021-08-22 20:41:02 +02:00
Flyinghead
c99de2370f
build fix
2021-08-20 08:39:37 +02:00
Flyinghead
8c9ff4a66f
iOS: DSP fix
2021-08-20 08:32:29 +02:00
Flyinghead
d7bc1f0f77
apple: disable delay frame swapping, libretro: set base_width/height to 640x480, use gl 3.2 on macOS
2021-08-15 10:50:53 +02:00
Flyinghead
1bea7853ef
iOS: CI job, JIT status, touch fixes
2021-08-10 17:04:36 +02:00
Flyinghead
12f302d356
iOS: uv need high precision in fragment shader. cmake build. virtual joystick. AltKit integration
2021-08-10 11:32:22 +02:00
Edward Li
6f233462c1
Add missing JITWriteProtect to DSP
2021-08-09 09:02:59 +02:00
Flyinghead
77e7c25e9c
iOS support. Work in progress
2021-08-06 10:30:30 +02:00
Flyinghead
b027a6b9a1
android: add missing oboe lib links
2021-08-05 22:06:32 +02:00
Flyinghead
6bb4575c95
Merge remote-tracking branch 'origin/master' into libretro
2021-08-05 18:17:30 +02:00
Flyinghead
37eace9db4
osx: lockup when emulator aborts. Race condition when starting emu
2021-08-05 17:43:26 +02:00
Flyinghead
0414406471
win32 build fix. disable breakpad on BSD
2021-08-03 11:59:19 +02:00
Flyinghead
8c000f327e
missing include
2021-08-03 10:08:13 +02:00
Flyinghead
951e70328f
Use exception when load content fails. ui: graceful stop on fatal error
...
libretro: catch/detect fatal errors and shutdown
2021-08-03 10:05:09 +02:00
Flyinghead
2dd7717128
glGetString(GL_EXTENSIONS) may return null in core contexts
...
xcode project missing update
2021-08-03 09:49:20 +02:00
Flyinghead
9d6c548730
naomi: close cart on reset. sh4: replace some verify by throw
...
Close naomi/aw cart on reset. Reset input mapping/button names
Get rid of ngen_GetFeatures()
throw exception instead of failing verify if not internal error
catch sh4 exceptions in dynarecs and throw fatal error
2021-08-03 09:47:13 +02:00
Flyinghead
8a46853dfd
lr: deadlock on exit with custom textures (win32)
...
less log
2021-08-02 12:07:40 +02:00
Flyinghead
789fd21bb7
bsd build fix
2021-08-02 12:05:24 +02:00
Flyinghead
3fa97b5ce7
bsd build fix
2021-08-02 10:20:45 +02:00
Flyinghead
c8ebbc657a
x86 win32 build fix
2021-08-02 10:09:19 +02:00
Flyinghead
b59585437c
arm32 dynarec: windows ce support
2021-08-01 17:25:48 +02:00
Flyinghead
6f4e1365b1
x86: stack unwind fixes
2021-08-01 17:07:17 +02:00
Flyinghead
aabb492d01
x86 stack unwinding support (android)
2021-07-30 19:13:52 +02:00
Flyinghead
cfa21934bb
x64: fix stack unwinding issue. don't save xmm regs on stack
2021-07-30 19:10:34 +02:00
Flyinghead
7561ce753a
unwind info for arm64. use static c++ lib for android
...
include oboe static libs
get rid of old regalloc
2021-07-29 17:46:46 +02:00
Flyinghead
e12be7cf29
add breakpad support for android, linux and windown
2021-07-25 21:55:29 +02:00
flyinghead
588d79641a
msvc x64 build fix
2021-07-25 11:47:14 +02:00
Flyinghead
daac6de533
macos build fix
2021-07-24 23:30:12 +02:00
flyinghead
c6d7307efe
x86 build fix
2021-07-24 23:17:27 +02:00
Flyinghead
710f379bd3
unwind info for x64 dynarecs
...
delegate to previous signal handler, proper abort for win32
arm32: use builtin gcc __clear_cache
dyna/driver.cpp: no need for a code buffer in win32, cleanup
2021-07-24 22:24:37 +02:00
vkedwardli
3c483c61e7
Support Apple Silicon (macOS ARM Universal Binary) ( #253 )
...
* Add audio arm64 cpp into Xcode project
* Build universal binary for SDL2 also
* Add vixl aarch64 dependency + build arm64 in cmake
* hardcode pagesize for M1 CPU
* Use `MAP_JIT` and toggle between RX and RW
* add pthread.h for cmake
* Disable audio dynarec temporary
* Enable aica arm dynarec
* Supports `br` with condition
* Dynamic linker flag for libSDL2.a since Homebrew path is different on arm (for xcodeproj)
* Fallback path for Intel
* de-dup for arm64, allow cross compilation on both Intel and Apple Silicon Mac
* Rename WriteProtect() to JITWriteProtect(), Move JITWriteProtect from arm7_rec to arm7_rec_arm64
* Remove CodeCache memset
* Remove keyboard_device.cpp from xcodeproj
* Use hard tab
* Update libchdr to support compiling on M1 (thanks @scribam)
2021-07-23 22:34:12 +02:00
Flyinghead
c453d14352
libretro: better error handling. fix reset issue with rotated games
...
compilation warnings, clean up
2021-07-21 16:19:57 +02:00
Flyinghead
de060d66ab
don't save flash if no game started. libretro: fix notifications
...
compilation warnings, non-functional changes
2021-07-20 19:21:11 +02:00
Flyinghead
c458a8f5e7
os_[Un]InstallFaultHandler. Uninstall fault handler at shutdown
2021-07-20 13:06:08 +02:00
Flyinghead
4a77f847b4
libretro: fix arcade flash files path. ui: stop spamming dc_stop
2021-07-20 10:06:44 +02:00
Flyinghead
edc6474f27
save nvmem/flash files when stopping emu
2021-07-19 18:20:58 +02:00
Flyinghead
117f47e3a2
rend: shader builder utility
2021-07-19 12:49:47 +02:00
Flyinghead
4f11ff76a5
input: don't toggle fastforward when game isn't running
...
it resets the vulkan swapchain and causes random crashes
2021-07-19 12:10:14 +02:00
Flyinghead
10e97b63be
jvs: no default mapping if button is remapped to P1 or P2
...
fixes jambo down-lever pausing the game
2021-07-19 10:15:24 +02:00
Flyinghead
af76a09e03
gl: repeat % operator for printf. remove Switch special case
2021-07-18 18:15:35 +02:00
Flyinghead
9e5769912b
gl: workaround nouveau bug (oit). Use float palette coords for switch
...
Don't switch render type before terminating current one.
2021-07-17 15:53:47 +02:00
Flyinghead
a604a3904f
win: make sure not to call VirtualAlloc with null during jit alloc
2021-07-16 17:35:29 +02:00
Flyinghead
e112f2d8af
gl: GLES2 build compatibility
2021-07-15 19:24:56 +02:00
Flyinghead
ed0caa119a
Merge remote-tracking branch 'origin/master' into libretro
...
# Conflicts:
# CMakeLists.txt
2021-07-15 18:43:29 +02:00
Flyinghead
f768146d8e
switch: unneeded init functions. needed exit one
2021-07-15 16:50:54 +02:00
Flyinghead
412083d9ea
libretro: blank vmus at unload/reset
2021-07-15 15:43:10 +02:00
Flyinghead
07cdb42ff7
switch: set UI scaling factor depending on docking mode
2021-07-15 14:44:39 +02:00
Flyinghead
1e37e8f333
switch: dsp dynarec fix
2021-07-15 12:24:42 +02:00
Flyinghead
4fa89c4a45
switch: build with miniupnp. set correct window size
...
organize header
remove unneeded switch-specific code
2021-07-15 12:19:11 +02:00
Flyinghead
0d7a2128b6
libretro: fix 32-bit arm build. delete useless #def in pvr2 filter
2021-07-15 12:06:04 +02:00
Flyinghead
ae33c8de18
sdl: increase audio buffer size. libretro: set PIC option
2021-07-15 00:26:00 +02:00
Flyinghead
8dee648d01
arm64 rec: put ngen_FailedToFindBlock at a fixed address
...
transitioning to MMU will fail it this function's address changes
happens if vmem is disabled (switch)
2021-07-14 21:03:02 +02:00
Flyinghead
8e6dc54b16
switch: add .. entry to folder chooser. start at /
2021-07-14 20:55:22 +02:00
Flyinghead
db9c48b085
switch: typo
2021-07-14 17:48:41 +02:00
Flyinghead
c0171f5fd1
switch: open sdl joysticks 0 & 1 at init
2021-07-14 17:22:17 +02:00
Flyinghead
9a5a55d074
switch: use /flycast as config folder
2021-07-14 16:38:12 +02:00
Flyinghead
855836d9aa
switch: arm rec EntryPoints need rx. fix arm & dsp cache flush
2021-07-14 14:57:43 +02:00
Flyinghead
43c00568c6
switch: standalone build
2021-07-14 13:02:57 +02:00
Flyinghead
31be731de0
input: fix atomiswave keyboard bindings
2021-07-14 09:42:13 +02:00
Flyinghead
113ef66e26
libretro: use HAVE_LIBNX in libretro-common
2021-07-13 21:06:03 +02:00
Flyinghead
4d38e69f63
lr switch: enable aica arm and dsp dynarecs. handle rw/rx offset
2021-07-13 20:51:17 +02:00
Flyinghead
8c02345dfd
lr switch: use toolchain ar. really disable lto
2021-07-13 19:18:36 +02:00
Flyinghead
a2efde1103
libretro: more switch fixes
...
combine all static libraries into one
save/restore gl state in !threaded mode
patch libchdr
build fixes
2021-07-13 18:51:40 +02:00
Flyinghead
eb81583d9f
sh4 dyna: support for !vmem
2021-07-13 17:09:26 +02:00
Flyinghead
44213bf830
lr: fix res change for rotated games. display version. vmem: simplify
2021-07-13 13:45:01 +02:00
Flyinghead
63a3f02368
libretro: better switch support
2021-07-12 20:14:21 +02:00
Flyinghead
994e6826b4
libretro: option changes (resolution, widescreen, rotation)
...
Use RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO or
RETRO_ENVIRONMENT_SET_GEOMETRY to report resolution/aspect ratio
changes.
Handle rotation without restarting.
2021-07-12 09:57:58 +02:00
Flyinghead
97991fd8fc
gl: delete libretro vmu and crosshair textures when terminating
2021-07-11 20:43:04 +02:00
Flyinghead
1fdda98d8d
libretro: return max savestate size. unprotect ram and vram on reset
...
fixes random crash when saving state
2021-07-11 17:42:30 +02:00
Flyinghead
a73ca94124
savestate: push vmu lcd image when loading
2021-07-11 12:37:21 +02:00
Flyinghead
75af07331a
savestate: save gdrom read buffer. other fixes
...
Issue #294
2021-07-10 19:16:19 +02:00