Flyinghead
07d9a7ec4b
More widescreen cheats
...
Sonic Adventure (US)
Sonic Shuffle (US)
Evolution 2 (US, EU)
Super Magnetic Neo (US, EU)
Fix ECCO the Dolphin code
courtesy of F-Man
2021-02-14 12:07:49 +01:00
Flyinghead
485ce40d33
pvr: crash when rendering with no TA data
2021-02-11 16:31:52 +01:00
Flyinghead
30278a5511
7z: close the file in case of error and when reusing
2021-02-11 16:31:04 +01:00
Flyinghead
594a66efa4
widescreen cheats for Spawn
...
courtesy of Йоджимбо
2021-02-11 16:29:11 +01:00
Flyinghead
263c968ad0
fix Berserk (JP) widescreen cheat
...
Thanks to Йоджимбо
2021-02-07 14:58:12 +01:00
Edward Li
78aaf39792
Edit comment
2021-02-01 22:56:12 +08:00
Edward Li
4bbf4e3b65
Precompose characters for game scanner also
2021-02-01 20:01:56 +08:00
Edward Li
eda6603808
Use `preferredLanguages` to detect system language
2021-02-01 19:57:28 +08:00
Edward Li
94caf86d4d
Precompose unicode characters before displaying since HFS+ and APFS is using decomposed form
2021-02-01 19:42:18 +08:00
Edward Li
98c4343410
Font loading for macOS
2021-02-01 19:40:12 +08:00
Edward Li
7d73920ac2
Using the official common character list from the governments
2021-02-01 19:38:29 +08:00
Flyinghead
1a8b25cc34
vk: bump sampler pool size. use swap chain size 3. no mailbox on AMD
...
Increase descriptor set pool size for combined image sampler to
accomodate for games using a stupidly large number of textures.
Don't use mailbox mode on AMD as it needs 5(!) swap chain images on
linux.
Return to a swap chain size of 3 since it's the min for AMD.
2021-02-01 12:04:55 +01:00
Flyinghead
3f4993979f
Merge remote-tracking branch 'origin/master' into fh/x64-arm-jit
2021-01-31 22:45:35 +01:00
Flyinghead
d98462b192
x86 rec: compile fix
2021-01-31 18:05:47 +01:00
Flyinghead
3dfe4f96fa
x64 rec: mul_s64 fix
...
GTA2 hang on start
2021-01-31 17:31:47 +01:00
Flyinghead
a71c897d56
vk oit: crash when rendering to texture
2021-01-31 17:30:34 +01:00
flyinghead
6105365065
win32: load Asian glyphs from system fonts based on current code page
2021-01-31 16:08:10 +01:00
flyinghead
3892fb6825
win: can't save emu.cfg if exe path contains non-ascii chars
...
compile warnings
2021-01-31 12:31:18 +01:00
Flyinghead
89fe36b881
arm7 rec: lr wasn't updated in conditional bl
...
missing changes for previous arm64rec commit
more aica arm tests
wince vmem handler now uses direct ram access
2021-01-31 12:02:20 +01:00
Flyinghead
e773880e6f
x64 rec: save one op in CheckBlock
2021-01-31 11:56:07 +01:00
Flyinghead
8e22116a17
arm64 rec: get rid of setjmp()
2021-01-31 11:55:22 +01:00
Flyinghead
80782475da
x64 rec: get rid of setjmp. standardize ngen_Rewrite/HandleException
...
move rewrite code from exception handlers to x86/x64 dynarecs
use same host context info on linux/win
x64: stack alignment issue in mem handlers
2021-01-30 16:14:44 +01:00
Flyinghead
594241ffa3
x64 rec: generate main loop. use mem stubs. fast mem access for !mmu
...
enable fast mem path for both !mmu and mmu
simplify rewrite
get rid of .asm file and inline assembler code
2021-01-29 11:46:05 +01:00
Flyinghead
75f7b92342
aicaarm namespace
2021-01-29 11:39:00 +01:00
Flyinghead
1b47ef0ab1
Merge remote-tracking branch 'origin/master' into fh/x64-arm-jit
2021-01-29 11:36:18 +01:00
flyinghead
0fe0c6c653
gl: crosshair not displaying without fps cpunter or vmu
2021-01-28 18:57:04 +01:00
flyinghead
958775ffbe
x86 rec: add fast mem access and rewrite
...
x86: fix dynamic block end and directly use FPCB
fix code pointer for dsp dynarecs
reios entry point overwritten because of same address proc
2021-01-28 16:29:21 +01:00
Flyinghead
4c262deff6
aica arm: msvc asm file for x64 rec. build fixes
2021-01-27 11:08:47 +01:00
Flyinghead
882e14f13f
aica: x64 jit for arm
...
aica arm x86: use pc-relative addressing to access arm registers
OSX project fix
arm7: add simple ldm/stm handling. optimize arm32 and x64 recs
update CMakeLists.txt and Makefile. finish rebase
2021-01-26 21:32:43 +01:00
flyinghead
93ceb92c12
x86 dsp dynarec
2021-01-26 18:48:17 +01:00
flyinghead
562660134e
vulkan: fix resize crash with overlay
2021-01-26 18:12:37 +01:00
flyinghead
4215f7090f
android: use ASharedMemory_create instead of /dev/ashmem if available
2021-01-26 14:02:14 +01:00
flyinghead
c344903a23
new x86 dynarec. Enable for android
...
refactor common code between x64 and x86 dynarecs.
x86 rewrite based on the x64 one
some discarded dyna blocks weren't fully unlinked
2021-01-26 13:16:48 +01:00
flyinghead
7697d37ec6
lightgun crosshair support
2021-01-23 15:59:57 +01:00
flyinghead
4a81430da7
aw: analog and lightgun inputs not responsive after load state
...
save maple player num in state
save aw maple devs register
serialize more spg state. don't call CalculateSync on load
move savestate logic to spg and naomi
make tests work on windows
2021-01-22 15:11:04 +01:00
flyinghead
d217f5232a
win32 and macOS fixes
2021-01-21 22:44:51 +01:00
flyinghead
ed7bd06f96
win32: multiple mice support. Patch and build SDL
2021-01-21 21:00:46 +01:00
flyinghead
119948cfdb
more event use cases
2021-01-19 23:52:28 +01:00
flyinghead
00413a6ad2
sdl: allow capture mouse and relative mode
...
toggle with L-ALT + L-CTRL
Issue #157
simple event system
2021-01-19 21:31:48 +01:00
flyinghead
71e9b94a84
missing change
2021-01-19 18:34:45 +01:00
flyinghead
a23c895668
sh4: restore rounding/denormal mode after pausing the game
...
fixes Sword of the Berserk glitch when pausing/restarting
2021-01-19 18:28:21 +01:00
flyinghead
3d570f8008
delete deps/coreio
2021-01-19 17:50:03 +01:00
flyinghead
87e9fdd0ac
allow subfolders in custom texture folders
...
make file iterator to be used by custom tex and game scanner
added some missing nowide::getenv
2021-01-19 16:58:26 +01:00
flyinghead
b47e2abb7c
restore zlib/zconf.h
2021-01-19 16:39:37 +01:00
flyinghead
16dec49e08
windows: use utf8 internally. Support latin2, cyrillic, etc. pathnames
...
upgrade libzip to 1.7
imgui: use all glyphs from font including latin2, cyrillic, greek, etc.
2021-01-19 11:11:01 +01:00
flyinghead
0c62231b54
tentative fix for rockchip support
...
makefile clean up
upgrade egl headers to latest version
2021-01-16 19:31:06 +01:00
flyinghead
417b470cbb
sdl: fall back to open gl if vulkan init fails
2021-01-16 19:09:22 +01:00
flyinghead
49627eaf53
vk: first framebuffer wasn't cleared
2021-01-16 18:50:54 +01:00
flyinghead
87812a7f82
std::future_error on win32 when cancelling rom load
2021-01-15 10:25:21 +01:00
flyinghead
287836803d
interp: don't touch the sh4 cache in normal mode
2021-01-15 10:21:05 +01:00
flyinghead
3dc3f7b7c2
naomi: wrong path when looking for gdrom in parent rom folder
2021-01-15 10:18:15 +01:00
flyinghead
f3b86f6c14
gl: TextureCache -> GlTextureCache
2021-01-15 10:14:24 +01:00
Flyinghead
1727413247
vulkan: fix crash on minimize and resize. clear framebuffer on resize
...
many vulkan fixes related to init/term/reset
2021-01-09 18:16:39 +01:00
Flyinghead
4a103a1de3
process input when no frame is rendered
2021-01-08 21:47:33 +01:00
Flyinghead
36451614d2
rec-x64: don't use vfmadd to avoid intel/amd variations
2021-01-08 21:40:13 +01:00
flyinghead
e5b3c5268b
wince: attempt immediate read/write when address isn't translated
2021-01-07 19:18:53 +01:00
Flyinghead
ed6e544e11
naomi: fix crash when loading wwfroyal game test menu
2021-01-05 18:58:06 +01:00
Flyinghead
baa36925e2
naomi: more rom list to cpp. remap pjustice buttons. add more inputs
2021-01-05 18:39:00 +01:00
Flyinghead
46b48dcc68
cmake: link mingw statically
2021-01-05 15:00:49 +01:00
Flyinghead
65563942cd
naomi: add dybb99, dybbnao, ringout and sstrkfgt inputs
...
Issue #154
2021-01-05 10:30:01 +01:00
Flyinghead
f906d08376
more 32b windows fix
2021-01-04 22:00:15 +01:00
Flyinghead
ac7bd2a6a0
free()/delete[] mismatch
2021-01-04 21:21:35 +01:00
Flyinghead
99bd8b4972
get rid of USE_MODEM/ENABLE_MODEM
2021-01-04 20:58:29 +01:00
Flyinghead
eeca82b4e2
32b win build fix
2021-01-04 20:44:15 +01:00
Flyinghead
2c8b5aa7f8
vs2019 build tentative fix
2021-01-04 18:56:15 +01:00
Flyinghead
d7fcd3d47c
jvs: allow more than 1 player with analog axes
...
add wsbb and smlg99 input mappings. Issue #152
2021-01-04 10:43:45 +01:00
Flyinghead
0fd9912f02
gui: get rid of content winodw border
2021-01-03 21:26:56 +01:00
Flyinghead
767445e05c
more webtv disc ids
2021-01-03 21:26:23 +01:00
Flyinghead
de260b89af
net: launch miniupnp async. filter loopbacked broabcast pkts. dhcp reset
...
ftspeed network support
delete all dhcp negos when destroying dhcp server
filter broadcasted udp packets coming from self
launch miniupnp async since it takes time to complete (2-4s)
fix unit test
2021-01-03 21:25:27 +01:00
Flyinghead
889fc8256d
broadband adapter support
2021-01-02 21:19:50 +01:00
Flyinghead
6d96981dc4
picotcp: add dhcp server and icmp from upstream
2021-01-02 18:51:09 +01:00
Flyinghead
62a1e29670
modem: do not reject VJ option for Web TV
2020-12-29 18:02:06 +01:00
Flyinghead
bbedcaa37b
macOS: ignore -psn arg on first launch. LoadSpecialSettings() clean up
2020-12-29 17:56:35 +01:00
Flyinghead
467e7954a5
log to ~/flycast.log if ./flycast.log isn't valid
2020-12-29 13:12:00 +01:00
Flyinghead
cc7a292591
macOS: link sdl statically, hide vulkan. naomi: use miniupnp for server port
...
macOS doesn't need volk or glslang
link sdl statically
add GameController.framework (Xcode)
2020-12-29 11:53:00 +01:00
Flyinghead
c522d7386d
win32 build fix. macOS cmake: set min os to 10.9
2020-12-28 14:23:25 +01:00
Flyinghead
ed28cc36a9
fix win32 build
2020-12-28 13:49:36 +01:00
Flyinghead
9c43a55c42
miniupnpc: fix include dir
2020-12-28 13:15:06 +01:00
Flyinghead
6e1bba851b
miniupnpc proper commit
2020-12-28 12:35:58 +01:00
Flyinghead
e7ae03ded9
modem: use miniupnp to open router ports
2020-12-28 11:31:26 +01:00
Flyinghead
a859effa04
build fix
2020-12-27 09:10:19 +01:00
Flyinghead
6f27b9b6b7
force wercker on ubuntu 18.04. Minor change
2020-12-27 09:05:55 +01:00
Flyinghead
a0b099df7c
gl: when loading custom textures, don't delete regular textures until after the current frame
...
regular textures might be referenced by the current frame and deleting them cause gl errors
Issue #144
2020-12-27 08:58:48 +01:00
Flyinghead
7a889803fd
renderer: mipmapped textures render as black when dumping textures
...
Issue #144
2020-12-26 22:59:20 +01:00
Flyinghead
060650e0d8
support for compressed save-states
2020-12-26 09:58:53 +01:00
Flyinghead
a00aad5fa7
pvr: auto frame skip to replace current and previous synchronous rendering
...
Restore previous synchronous rendering behaviour (normal auto frame skip)
No frame skipping when disabled
better cpu speed measure over 4 vblanks
2020-12-25 12:08:44 +01:00
Flyinghead
ee157db078
macos: microphone support. Audio latency setting
2020-12-24 08:58:46 +01:00
Flyinghead
46bb7d3b88
win: add [input] DisableXInput option to disable XInput and force DInput
2020-12-24 08:54:06 +01:00
Flyinghead
1a59f8bade
vk: reset lastFrameView to nil when switching renderer
...
fix crash when switching per-tri/per-pix
2020-12-21 20:09:23 +01:00
Flyinghead
5905b8c148
dsp: don't clear EFREG
...
pass AICA0203 diag test
2020-12-20 23:19:24 +01:00
Flyinghead
632731bede
vmem: map area 4 access to vram
...
pass DDT0101 diag test
fix vmem handler bug with >= 8 handlers
ch2-DMA: use SB_LMMODE1 for upper mirror
dmac: update SAR and DAR according to CHCR.SM and CHCR.DM
use function templates for vram 32b handlers
clean up
2020-12-20 17:25:28 +01:00
Flyinghead
d0d9712545
gdrom: allow 0-len transfer
...
fixes Pro Pinball Trilogy hang during intro
2020-12-18 19:27:19 +01:00
Flyinghead
0d81c9fb0b
sh4: clean dmac module, correct address/len mask, add missing mirror
...
fix infinite loop
2020-12-18 13:58:36 +01:00
Flyinghead
4ca0b56106
flash: zero initialize
2020-12-18 13:44:40 +01:00
Flyinghead
e94e757743
naomi: align SB_GDSTAR on 32-byte boundary
...
Fixes vtennis (Issue #92 )
2020-12-18 13:43:42 +01:00
Flyinghead
a7a70f9900
gl: don't present a frame if no previous render
2020-12-16 17:25:33 +01:00
Flyinghead
34d86500fa
compile warnings. debug log. minor changes
2020-12-16 15:12:32 +01:00
Flyinghead
650c3ff8ae
pvr: serialize maple_int_pending. don't rend_reset in rend_term
2020-12-16 14:44:45 +01:00
Flyinghead
3f1326a3ac
rend: read framebuffer as non-interlaced when possible
2020-12-16 14:40:11 +01:00
Flyinghead
190ab6690a
vk: create staging buffer for texture if null
...
Fixes SF3 double impact crash
better texture cache cleanup
2020-12-16 14:37:28 +01:00
Flyinghead
bb5b5d4512
only switch vulkan/opengl when needed
2020-12-15 20:16:35 +01:00
Flyinghead
04cd7db2cd
pvr: serialize TA render passes
...
use enum for renderer type
2020-12-15 16:27:34 +01:00
Flyinghead
c03cf8eb45
rend: multi-render, delay swap, refactor main ui loop
...
move ui loop out of hw/pvr
vk: implement multi-rendering, delay swap. Load fb before render pass
fps counter now counts frames, not renders
vk: force ignoreTexAlpha for 565 texture in case the supporting texture
has an alpha channel (RTT). Fixes Alone in the Dark cinematic scenes.
pvr: better detection of frame swapping (FB_R_SOF/FB_W_SOF)
pvr: synchronous rendering now always waits for render in progress
(speed measurement not reliable, render skipped when multi-rendering)
vk: limit swap chain size to 2
2020-12-15 15:09:42 +01:00
Flyinghead
93523df804
pvr: implement tile array region clipping. always draw background
...
fixes Quake 3 split-screen multiplayer
2020-12-15 14:17:58 +01:00
Flyinghead
9191795b4c
pvr: increase PT max poly count
...
fixes Revolt overrun
2020-12-15 14:15:02 +01:00
Flyinghead
d960f8e9f5
lightgun: handle screen stretching, rotation and tall aspect ratio
...
Issue #139
move jvs stuff into maple_jvs.cpp
2020-12-09 13:48:58 +01:00
Flyinghead
a0b73a5919
sdl: set window icon (linux)
2020-12-08 18:35:46 +01:00
Flyinghead
897141833a
windows: create data directory on startup
2020-12-08 17:55:36 +01:00
Flyinghead
fd244eb8b9
android: create data directory if needed at startup and onboarding
2020-12-08 17:15:51 +01:00
Flyinghead
b147f71ffa
fix crash with vulkan an android
...
compiler bug?
2020-12-08 15:45:39 +01:00
Flyinghead
cfed5e7a29
macos build fix
2020-12-07 22:25:33 +01:00
Flyinghead
d1fbbac0ae
sdl: use gamecontroller api for initial btn/axis binding
2020-12-07 22:18:23 +01:00
Flyinghead
a39199d379
clean up
2020-12-07 22:16:51 +01:00
Flyinghead
d7c49c6522
naomi: memory leak with decrypted carts
2020-12-07 22:12:16 +01:00
Flyinghead
14393ea6b1
improved microphone emulation. support for linux and windows
2020-12-05 18:47:09 +01:00
Flyinghead
08e191d7cc
extra depth scale for Samurai Shodown 6 dc port
...
Issue #136
disable vmem for PBA bowling and WebTV
2020-12-05 18:29:09 +01:00
Flyinghead
579db85b3b
modem: fix various picotcp tcp issues (re-xmit timers, segment split)
...
modem: delay receiving initial ppp handshake until after sending data
(WinCE)
reduce char receive delay to 143 us
make sure picosocket buffer is empty before shutting down socket
use 536-byte segment for tcp sockets
increase linger delay to 10 sec (avoid sending RST when waiting for FIN)
picotcp: disable window scaling option
dupe ack reception in full window mode should enter dupack mode
pick the correct segment to re-xmit in recover mode
both partial frames should be enqueued when splitting segment
fix wrong size when splitting segment and crash if splitting first one
make sure re-xmit timer is correct in tcp output
2020-12-04 11:23:15 +01:00
Flyinghead
6154cc08db
serial: fix maxspeed hang at boot reading from console
2020-12-02 14:44:16 +01:00
Flyinghead
adeacd89f4
input: implement reload. remap some naomi games input
...
implement lightgun reload (dc, naomi)
kcode[] set to 32 bits
revamped mapping for naomi keys
remapped btns for some naomi games
display game button/axes names in UI
2020-12-02 14:40:50 +01:00
Flyinghead
9a61407125
android: use dlsym() first to load gles routines
...
fix attempt for android <= 4.3
Issue #135
2020-12-02 09:52:52 +01:00
Flyinghead
8905410aa4
clean up
2020-11-30 21:59:13 +01:00
Flyinghead
ef16842074
awave: fix lightgun trigger and position
...
fix aw lightgun trigger virtual key with new lightgun map
delay maple dma int when maple bus occupy is set for a lightgun.
raise maple int at vblank in if off screen
nudge reported position to avoid registering as off screen
2020-11-30 21:31:50 +01:00
Flyinghead
c6f5a406a7
picoppp: use char instead of u8
2020-11-30 13:05:13 +01:00
Flyinghead
1d17dbd121
modem: avoid spurious retransmit. limit ppp buffer size.
...
set actual modem receive speed to 48K
picotcp: avoid spurious retransmit after window full. set min RTO to 1
sec.
buffer incoming data until pico socket can accept it.
limit tcp payload to 512 bytes.
Issue #114
2020-11-30 12:52:46 +01:00
Flyinghead
8f77a5482a
config/data folders improvements
...
linux: look for legacy ~/.reicast and ~/.reicast/data
else look for ~/.config/flycast and ~/.local/share/flycast
and ~/.config/reicast and ~/.local/share/reicast
(defaults to flycast)
look for bios files in home folder and data folders (android, windows
,macos), then in game folder.
on linux, search in /usr/share/flycast and /usr/local/share/flycast and
legacy locations
2020-11-26 16:45:57 +01:00
Flyinghead
d485da19b7
picotcp: close connecting sockets when notified
2020-11-26 14:08:37 +01:00
Flyinghead
93dc87f17f
rend: fix race condition when clearing texture cache
2020-11-25 23:22:45 +01:00
Flyinghead
fad94ca759
upgrade imgui to 1.8. Allow scrolling settings by dragging empty space
2020-11-25 13:54:27 +01:00
Flyinghead
289ff59008
gui: fix content path incorrect popup. fix potential race condition
2020-11-25 10:20:03 +01:00
Flyinghead
276b59b24e
fix compile warnings. non-functional changes
2020-11-25 10:17:08 +01:00
Flyinghead
cffb272abd
sh4: non-functional changes
2020-11-24 21:29:04 +01:00
Flyinghead
305ab38ac8
naomi: search parent rom path for gdrom
2020-11-24 20:50:50 +01:00
Flyinghead
4dd05ca23f
aica: saturate EG when aeg reaches 3bf. non-functional changes
2020-11-24 20:07:10 +01:00
Flyinghead
7744e1a262
vk: use-after-free if inFlight texture is deleted or cache cleared
2020-11-24 18:01:09 +01:00
Flyinghead
370c470bd9
fix lr savestate compatibility for aw
2020-11-24 17:59:51 +01:00
Flyinghead
2a5b303b70
delete nixprof
2020-11-22 17:37:27 +01:00
Flyinghead
eb2c762214
rec: avoid div32 crash when dividing by 0
...
Fixes Sakura Taisen 2 floating point exception crash
2020-11-21 20:46:40 +01:00
Flyinghead
99b01536bc
reios: fix crash when loading a HLE savestate in a non-HLE session
...
flashrom pointer wasn't initialized in this case
2020-11-21 20:09:06 +01:00
Flyinghead
525c2dc88c
sh4: promote opcode 0 as regular NOP
2020-11-21 20:06:59 +01:00
Flyinghead
b0f8d947ad
update some READMEs
2020-11-21 17:59:52 +01:00
Flyinghead
4cb361bf9f
input: allow binding controller buttons/axes to more than 1 player
...
Issue #68
2020-11-21 17:57:23 +01:00
Flyinghead
3e3fa08430
input: use btn/axes names in ui. fix mouse btn mapping
...
Use button and axis names in mapping UI
Mouse button remapping was impossible
x11: use same config names for window size as sdl/win
2020-11-20 22:10:14 +01:00
Flyinghead
ee66afb7f6
vk: recreate swap chain if presentation failed. retry creation if fails
2020-11-20 21:13:18 +01:00
Flyinghead
47f262a2c6
vk: use normal pipeline for raw fb display
...
raw fb also needs to be rotated/scaled
oit: draw opaque polys on first frame
2020-11-19 22:29:06 +01:00
Flyinghead
953200b87b
gl: Use 32x32 palette texture to avoid precision issues
...
fixes kofxi graphics corruption on Mali-400/450
fix macos github action
2020-11-19 11:56:10 +01:00
Flyinghead
03e5988397
Merge branch 'master' of https://github.com/flyinghead/flycast
2020-11-17 17:53:55 +01:00
Flyinghead
6280ed1507
use top/bottom black bars when screen is narrower than 4:3
...
Issue #127
2020-11-17 17:53:26 +01:00
Edward Li
ed888076c6
macOS: Fixed audio clicking on external speakers
...
From: https://github.com/reicast/reicast-emulator/pull/1880
2020-11-07 03:33:07 +08:00
flyinghead
f2893b7c17
Merge pull request #124 from vkedwardli/search-contentlocation-warning
...
Display warning to user when it takes too long to find a game
2020-11-04 11:40:30 +01:00
Edward Li
11336a3e1f
use `unsigned int` instead of `uint`
2020-11-04 06:34:25 +08:00
Edward Li
4516f9790a
Restore the problematic Content Path if user clicks cancel
2020-11-04 05:59:25 +08:00
Edward Li
fe1c77b9ae
Display relevant game files in the select_directory_popup
2020-11-04 05:45:52 +08:00
Edward Li
4bd50b9182
Display warning when it takes too long to find a game
2020-11-04 05:45:38 +08:00
Edward Li
1f97d59325
Fix Xcode 12 build error
2020-11-04 00:36:26 +08:00
Flyinghead
99bfbeb3bc
naomi: JVS IO response CRC byte, JVS Self Test command/response
...
Adds JVS IO response CRC byte, Add JVS Self Test command/response
backport https://github.com/libretro/flycast/pull/972
2020-10-24 15:10:55 +02:00
Flyinghead
170ae3477c
gl4: reset scissor test before rendering a-buffers
...
Issue #116
2020-10-10 19:07:40 +02:00
Flyinghead
063c7f7d18
arm32: support for 64b immediate memory reads
...
fixes Mazan
2020-10-10 17:23:00 +02:00
Flyinghead
d7b1ad61f3
aica: make sure lpf cutoff value is > 0
...
Issue #108
2020-08-31 21:53:33 +02:00
Flyinghead
3bc508deea
gdrom: fix D2 disk switching
...
Issue #107
2020-08-17 09:23:22 +02:00
Flyinghead
125c1ff37d
gles: use int for palette_index uniform to avoid precision issues
...
Issue #104
2020-07-31 12:16:10 +02:00
flyinghead
700994340b
cmake: add sdl to vstudio build. Fix WinCE crash
2020-07-23 18:50:55 +02:00
Flyinghead
860425b3cc
naomi: zombie revenge analog axes. add puyofevp. fix pokasuka
2020-07-20 12:03:20 +02:00
Flyinghead
df392b8376
lupin the shooting uses ligthgun as analog
2020-07-16 11:16:02 +02:00
Flyinghead
f39d11ef7e
input: round dead zone when saving
2020-07-16 11:14:29 +02:00
Flyinghead
75bb7483df
fix mingw build
2020-07-13 21:10:32 +02:00
Flyinghead
4ecf43a08d
vulkan: revert to using 3 swap images. fix crash when switching gl/vk
...
Fix Hello Kitty crash with empty first TR polygon
Fix Test Drive Le Mans crash on invalid textures
Fix wldkickspw crash with invalid TA data
2020-07-11 17:38:41 +02:00
Flyinghead
1713124711
vulkan: linear tiling for small texs. don't track in-flight texs
...
Linear tiling is faster for small, frequently updated textures
When lots of textures are updated each frame, a skipped frame will
destroy/recreate all textures, causing another skipped frame, etc. So
in-flight texture tracking is disabled, except for RTT textures
Limit swap chain to 2 images
Refactor base and oit renderers to avoid code dup
2020-07-10 18:50:53 +02:00
Flyinghead
a1dd76818e
macOS build fix
2020-07-08 18:27:42 +02:00
Flyinghead
7449230af8
handle some palette textures on the GPU
...
get rid of PixerPacker templates
no need for GLSL precision qualifier in GL4
2020-07-08 18:17:15 +02:00
Adam Pooley
a1f0053be6
Converting dead_zone from float to int storage in cfg file with min/max range of 0-100.
2020-07-08 12:55:37 +01:00
Adam Pooley
bd35dfbce3
DeadZone float saving/loading to input mapping cfg files.
2020-07-08 12:55:23 +01:00
Flyinghead
adf5a7e8e4
fix tests. sdl init iisue on rpi3
2020-07-06 17:29:53 +02:00
Flyinghead
fee28194fb
savestate: save sq_remap, save aw cart state, fix lr aw format
...
save AW cart state
save sq_remap used for mini-mmu with store queues
allow loading lr aw savestate. upgrade to v11
aica: saturate EG register
savestate: save current TA data
texcache: fix race condition when deleting a texture
handle 1x1 YUV tex as 565
2020-07-06 16:28:53 +02:00
Flyinghead
cc2bb61b86
build fix. add widescreen cheats
2020-06-25 15:06:18 +02:00
Flyinghead
a446199312
g2 dma: use templates. SB_G2APRO support. maple: fix SB_MDAPRO support
2020-06-25 14:49:53 +02:00
Flyinghead
89842c6d30
modem: better handling of reset register
2020-06-24 15:48:05 +02:00
Flyinghead
3694e8e87a
flash: select mode. fix sector protection. implement reset
2020-06-24 15:41:12 +02:00
Flyinghead
74aae115ee
sh4: implement C and WT MMU bits in cache. Use mem handlers everywhere
...
o/icache use C and WT bits from mmu to override cache and copy back
settings (fixes Windows CE)
move mem handlers setup out of mmu into sh4_mem. Call in dc_resume and
detect transitions interp -> dynarec to flush caches.
fix ssa tlb miss exception wih slow mmu
2020-06-24 15:23:47 +02:00
Flyinghead
6402c8e7ed
maple: check SB_MDAPRO magic number
2020-06-23 19:20:55 +02:00
Flyinghead
8b44ebbdab
maple: don't overrun device strings
2020-06-23 18:10:22 +02:00
Flyinghead
959b6344b3
gdrom: fix cd_read2, req_error, req_stat and more
2020-06-17 22:58:26 +02:00
Flyinghead
15a99aeebe
aica: internal dma implementation
2020-06-15 21:42:47 +02:00
Flyinghead
8192eea387
maple: msb selection, implement/fake reset, kill and allreq commands
...
overrun and illegal address ints in strict mode
2020-06-15 17:04:04 +02:00
Flyinghead
5cfed1e482
div32: get rid of edge cases. simplify
2020-06-15 16:56:09 +02:00
Flyinghead
22dcb1ec99
sh4 ocache implementation. IC and OC address/data read/write in P4
...
ignore SR.RB in user mode instead of forcing it 0
add STRICT_MODE to enable ocache in interpreter
don't flush mmu table when enabling it
fix fixNan64()
2020-06-12 17:35:14 +02:00
Flyinghead
333df13fce
sh4 icache implementation. move aica out of sh4/interp.
...
revert to original div1 impl
serialize rtc clock value
cmake fixes: asan and logging options, -no-pie on x64/linux
2020-06-09 12:02:01 +02:00
Flyinghead
18790901b1
arm: use canonical div32p2
2020-06-06 22:37:28 +02:00
Flyinghead
8740f22c0a
fix all known div32 issues
...
support libretro naomi and aw savestates
2020-06-06 18:53:47 +02:00
Flyinghead
0fd51fb52a
android: ignore audio latency. skip less frames in synchronous mode
...
android: use minimum size for audio buffer
alsa: use period size of 1024 instead of 512
hide audio latency option for android, win32 and mac
relax frame skipping formula
2020-06-05 21:16:48 +02:00
Flyinghead
002a05f866
dsp: proper MIXS input shift
2020-05-30 19:57:58 +02:00
Flyinghead
1301103245
maple: fix vmu reset in BIOS. naomi: support P2 buttons mapped to P1
2020-05-29 14:45:12 +02:00
Flyinghead
5de78a4687
osx: avoid hang when quitting emu during gameplay
2020-05-23 13:03:59 +02:00
Flyinghead
df97c42e4e
add some naomi/aw widescreen cheats
2020-05-15 20:33:00 +02:00
Flyinghead
2e9238d719
omx: fix buffer overflow. evdev: better default gamepad mapping
2020-05-11 16:11:31 +02:00
Flyinghead
fec79624df
gl/gl4: simplify clipping. share code with vulkan
2020-05-11 16:11:31 +02:00
Flyinghead
5b1d093778
fix GLES2+SDL build
2020-05-09 18:20:56 +02:00
Flyinghead
b907aa2d98
fix GLES2 build
2020-05-09 12:07:49 +02:00
Flyinghead
34575d577c
fix sdl+egl build. get rid of USES_HOMEDIR. thread deadlock at exit
...
fix odroid xu3 build
sdl: use left or right alt+enter to maximize window
deadlock at exit if dc_exit called from emu thread
2020-05-08 18:41:36 +02:00
scribam
2ee8ca37c0
CMake refactoring
2020-05-05 21:13:12 +02:00
scribam
cb889ad36e
Use predefined macros to define HOST_CPU and HOST_OS
2020-05-05 19:01:07 +02:00
flyinghead
1e14e12015
Merge pull request #87 from scribam/c++11
...
Use C++11 without GNU extensions
2020-05-02 18:24:33 +02:00
Flyinghead
8a6dbef775
naomi: don't die if eeprom cannot be updated (network), log instead
2020-05-02 18:24:13 +02:00
scribam
10bd4dd9b4
Use C++11 without GNU extensions
2020-05-02 10:57:08 +02:00
Flyinghead
e8a655d99b
fix race condition in cResetEvent::Wait(u32)
2020-05-01 13:06:07 +02:00
Flyinghead
d75d4400f0
win32: fix path separator issue
2020-04-30 12:49:56 +02:00
flyinghead
836780d8a7
Merge pull request #84 from scribam/glslang
...
deps: Update glslang to version 8.13.3743
2020-04-28 18:51:42 +02:00
scribam
0ddcce4854
deps: Update glslang to version 8.13.3743
2020-04-28 14:19:33 +02:00
scribam
6ee4b6de85
Replace OS_DARWIN by __APPLE__
2020-04-26 14:19:21 +02:00
Flyinghead
aac8b30bce
naomi: fake wrungp drive board. marine fishing inputs
...
set jvs board for dog walking and touch de uno
force region to japan for the same
2020-04-26 11:32:15 +02:00
Flyinghead
c9d8222889
input: don't exit when mapping the exit key
2020-04-26 11:27:45 +02:00
flyinghead
edda259adc
Merge pull request #80 from scribam/7zArchive-algorithm
...
Enable 7zArchive for MSVC
2020-04-25 19:42:06 +02:00
flyinghead
01682fc966
network: win32 fix
2020-04-25 19:41:46 +02:00
scribam
2d9390df9f
Enable 7zArchive for MSVC
2020-04-25 12:45:31 +02:00
Flyinghead
2c54dfd132
arm64: check CpuRunning at end of each timeslice. clean up
...
fixes hang when exiting service menu in kofnw
2020-04-24 19:56:38 +02:00
Flyinghead
482b7427f0
ui: get rid of 100% notif message. avoid logging garbage when canceled
2020-04-24 19:46:23 +02:00
scribam
0b1d739673
MSVC Cleanup
2020-04-23 14:10:49 +02:00
scribam
0b9ecd35c6
Remove Visual Studio solution/project files
2020-04-23 14:10:49 +02:00
scribam
429957f830
Compilation fix for MSVC
2020-04-23 13:37:07 +02:00
Flyinghead
adfe30cf4c
osx: allow exit with button. clean exit
...
terminate network in dc_term to avoid static init order issues
osx: call dc_term before exit
osx: exit app when exit button is pressed (dc_exit)
osx: ignore -NSDoc... app args
2020-04-23 11:46:34 +02:00
Flyinghead
1d1cd347ef
win32 build fix
2020-04-22 19:20:03 +02:00
Flyinghead
bec7a9f452
network: start network before starting game to configure eeprom/flash
...
do second net sync when comm board is reset
close menu/cancel loading when pressing menu button
2020-04-22 19:11:49 +02:00
Flyinghead
65f156817c
win32: reserve vmem with MEM_TOP_DOWN. Use 1MB increment for prepare_jit
2020-04-22 10:06:25 +02:00
scribam
58abddfd27
Compilation fixes for MSVC
2020-04-20 22:17:32 +02:00
Flyinghead
64249eb68e
gdrom: shrink gdrom buffer to decent size
2020-04-20 18:53:08 +02:00
Flyinghead
17a2c3644f
ui: add loading screen with cancel button. don't freeze ui on load
2020-04-20 18:52:02 +02:00
Flyinghead
06313dd540
naomi: auto configure eeprom and bbsram for network
2020-04-19 21:45:15 +02:00
Flyinghead
98b2a32eae
naomi: auto-rotate screen, no widescreen when rot, lightgun as analog
...
rotate screen for naomi games that need it
disable widescreen when rotating screen
detect lightgun games and enable proper settings
disable model 3 comm board for atomiswave
2020-04-17 22:11:11 +02:00
Flyinghead
3660cf49f4
naomi net: don't xmit the packet number
2020-04-17 18:09:56 +02:00
Flyinghead
7058ffeb61
dsp: fix output shift
...
fix wrungp ear rape
2020-04-17 18:04:58 +02:00
Flyinghead
c364d6379b
input: per controller instance mapping file. Hide DPad U/D/L/R
...
Try to load a per-controller instance mapping file first, then fallback
to the per device type file.
Hide DPad U/D/L/R and DPad2 U/D/L/R in analog axes mapping to avoid
confusion.
2020-04-17 17:55:43 +02:00
flyinghead
ed1a9fabd0
Merge pull request #73 from scribam/thread-rework
...
Rework cThread to use std::thread
2020-04-17 10:05:29 +02:00
Flyinghead
a9fc78b88e
SDL: don't use guid as unique id as it's not unique to a device instance
...
Issue #74
2020-04-16 16:17:30 +02:00
scribam
62afe5714a
Rework cThread to use std::thread
2020-04-15 20:20:30 +02:00
Flyinghead
2d1c3fa307
win32: play sound even in background
2020-04-15 19:09:16 +02:00
Flyinghead
be1f2138e7
naomi: add inputs for wrungp. network error handling/reporting
2020-04-15 19:07:04 +02:00
flyinghead
3495a0b53e
Merge pull request #72 from inada-s/garkun/skip-recvfrom-with-invalid-sock
...
[MODEM] avoid WSAEINVAL error
2020-04-15 10:43:23 +02:00
flyinghead
477bbe935f
Merge pull request #71 from inada-s/garkun/modem-recv-tune
...
[MODEM] recv tune. set small callback_cycles to recv fllowing data quickly
2020-04-15 10:43:13 +02:00
Shingo INADA
645c771af2
[MODEM] mark as invalid-socket if failed to bind udp sockets to avoid WSAEINVAL error
2020-04-15 11:44:01 +09:00
Shingo INADA
2d67334cb4
[MODEM] recv tune. set small callback_cycles to recv fllowing data quickly.
2020-04-15 11:27:59 +09:00
scribam
cb8308387a
deps: Update zlib to version 1.2.11
2020-04-14 20:47:54 +02:00
Flyinghead
17c7e0b3ed
win32 build fix. fix crash when 2 or more slaves
2020-04-14 20:23:17 +02:00
Flyinghead
c86fd8498f
log: add network category
2020-04-14 17:54:54 +02:00
Flyinghead
c4f0dbab09
naomi m3: missing changes. SDL: get gamepad events if focus lost
2020-04-14 17:44:27 +02:00
Flyinghead
a41a81f5dd
naomi: network code for model 3 comm board
2020-04-14 17:43:11 +02:00
Flyinghead
6215623640
naomi: add tokyo bus guide
2020-04-13 18:32:58 +02:00
Flyinghead
381f0f0f95
ui: scan games in a background thread. hide unknown zips and naomi chds
2020-04-09 11:44:19 +02:00
Flyinghead
786c8e7744
get rid of libpng and use stb_image_write instead. OSX: static link SDL
2020-04-08 15:34:21 +02:00
scribam
5b60e3e47b
Load custom textures with stb_image exclusively and remove loadPNGData function
2020-04-07 19:17:16 +02:00
flyinghead
2711912bcf
Merge pull request #66 from tokuio/axis_buttons
...
Add ability to map analogue triggers to digital buttons
2020-04-07 17:23:51 +02:00
Flyinghead
b2af81cdb0
custom textures: use strtoll since long is 32-bit on windows
2020-04-07 16:32:38 +02:00