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