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