Flyinghead
0df6a686d9
oboe: limit min buffer size. keep default for medium/high latency
2021-05-11 16:47:05 +02:00
Flyinghead
408c65fcbf
gl4: pack/unpack pixel colors. pack poly params. share GLSL with vk
2021-05-11 10:38:17 +02:00
Flyinghead
b27fa63aea
stack overflow with xdp browser on android
2021-05-10 23:28:58 +02:00
Flyinghead
fb38b224f4
rend: get rid of RenderToTextureUpscale option. Use RenderResolution
2021-05-10 20:07:23 +02:00
Flyinghead
a4019dd205
new VSync option
2021-05-10 18:02:06 +02:00
Flyinghead
e07977eea9
mac,x11: propagate win/sdl mouse/keyboard changes
2021-05-10 13:48:12 +02:00
Flyinghead
d7fd6658f6
egl: request 8 bits RGB channels
2021-05-05 13:31:52 +02:00
flyinghead
71fb024061
rawinput: proper conversion of abs coordinates
...
Issue #138
get rid of libPvr_GetRenderTarget() -> getNativeHwnd()
2021-05-04 12:03:09 +02:00
Flyinghead
affc9f262c
gl: update palette on context [re]init
...
backport from fh/directx
fixes black textures in SoulCalibur when switching back to app (android)
2021-05-03 09:57:45 +02:00
Flyinghead
f2b74de9dd
Revert 1ddb82f334
...
Issue #209
2021-05-02 15:14:26 +02:00
Flyinghead
d20fc971c9
android: display cutouts support. render last frame when editing vjoy
...
render in display cutouts
gl/vk: render last frame when editing virtual gamepad
gl: Fix background handling
gui: reset vmus when stopping game
2021-05-02 11:31:44 +02:00
Flyinghead
1ddb82f334
pvr: deadlock in QueueRender/dc_stop
2021-05-02 11:23:51 +02:00
Flyinghead
5dd15e2942
android: oboe driver error handling. Set buffer size to burst size
...
oboe: handle lost of audio and recording streams and attempt reopen.
When using aaudio, set the oboe buffer size to the burst size.
gui: really ignore AutomaticLatency for oboe driver
Issue #182
2021-05-01 12:19:04 +02:00
Flyinghead
6dfa9f7786
android: oboe audio driver. get rid of build variants
...
Issue #182
2021-04-30 19:57:11 +02:00
Flyinghead
acd8620139
android: add zh_HK locale
2021-04-30 18:26:35 +02:00
flyinghead
54cfc6e09b
build fix for non-windows
2021-04-29 19:15:34 +02:00
Flyinghead
150cfa29e7
Merge remote-tracking branch 'origin/master' into fh/directx
2021-04-29 19:06:38 +02:00
flyinghead
b90cdf9588
RawInput driver. Multiple keyboards support
...
Merge Keyboard and KbGamepad
Always use system mouse for UI
Issue #138
Fix DX9 when not using SDL
2021-04-29 18:58:04 +02:00
flyinghead
6316479930
get rid of unneeded pixel unpacker and use better name
2021-04-29 18:38:58 +02:00
Flyinghead
92ccd6eb26
android: load Asian glyphs depending on locale
...
Issue #225
2021-04-22 11:12:51 +02:00
Flyinghead
805dac3039
Resize renderer after [re]init
...
Fixes crash on Android when app is brought back to the foreground
Issue #228
2021-04-22 10:59:40 +02:00
Edward Li
2bd77ba9c4
missing a space
2021-04-22 02:21:04 +08:00
Edward Li
ba955f6659
Re-enable the content path warning dialog
2021-04-22 02:17:18 +08:00
Edward Li
01898d5f41
Fix scanner cannot be stopped
2021-04-22 02:16:18 +08:00
Flyinghead
3dd3595a79
disable emulator Exit on android
...
Issue #222
2021-04-20 16:32:49 +02:00
Flyinghead
c0b5721920
Super widescreen option
...
Issue #209
2021-04-20 16:06:03 +02:00
Flyinghead
44fd67ffd2
In command line mode, exit the emulator when pressing Exit
...
Issue #222
2021-04-20 15:57:30 +02:00
Flyinghead
3474901e58
wsi: swap immediately when fast forwarding
2021-04-20 10:56:49 +02:00
Flyinghead
d55a26c242
flatpak: better screenshots. Indicate where to put BIOS files.
2021-04-19 19:12:00 +02:00
flyinghead
8909368033
dsound: dedicated audio thread. configurable latency
...
Use dedicated thread to fill the audio buffer, fill with silence when
underrun, wait for notification events instead of busy loop.
Configurable ring buffer size / latency.
2021-04-19 11:13:27 +02:00
flyinghead
4ffb9e8089
sdl audio: potential race condition with event. include in win32 build
2021-04-19 11:09:16 +02:00
flyinghead
098be9c69e
sdl: swap at vsync interval for open gl
2021-04-19 09:51:13 +02:00
flyinghead
f9603dc11a
vk: use texture pointers instead of u64
2021-04-17 19:04:00 +02:00
flyinghead
5359e9a09d
allow gpu-handled palette textures to be replaced by custom version
...
Issue #219
Fix incorrect texture size calculation for VQ textures.
Reorder BaseTextureCacheData fields to have hottest on top
2021-04-17 18:40:58 +02:00
flyinghead
28d2c6db73
dx9: rotate 90deg
2021-04-16 21:58:37 +02:00
flyinghead
abc8b18b78
dx9: mipmaps. load/dump textures. vmu/crosshair display.
...
upload all texture mipmaps to gpu
dump textures. load custom textures
vmu and lightgun xhair display
fix dx9 half-pixel offset
fix 565_32 unpacker bug
2021-04-16 18:30:47 +02:00
flyinghead
c889bfa6d4
dx9: copy to vram. clipping. fix depth/stencil size. better reset
...
Coordinate device reset with dxcontext. Keep compiled shaders.
Don't use automatic depth/stencil on backbuffer. Manually handle it.
Implement scissoring/clipping
multipass translucent depth
Render-to-texture copy to vram
2021-04-15 15:17:32 +02:00
flyinghead
b549c56b23
build fix. default Delay Frame Swapping to true
2021-04-13 11:20:11 +02:00
flyinghead
f107d380b9
WIP directx9 renderer
2021-04-12 22:49:04 +02:00
Flyinghead
4a8ce39bfd
vk: use a single command buffer for all texture updates
2021-04-08 10:38:26 +02:00
Flyinghead
499d06ea83
bba: crash when loading a savestate with bba disabled
2021-04-08 10:33:47 +02:00
Flyinghead
24d172bd51
gl: use async PBO to copy texture back to vram
2021-04-08 10:33:14 +02:00
Flyinghead
72968290bf
cheats: support for .CHT cheat files
...
Issue #167
gui: no need to save background in opengl, use RenderLastFrame instead
disable cheats when online
2021-04-06 11:41:41 +02:00
flyinghead
2fa3cfea8d
Merge pull request #216 from scribam/windows-icon
...
windows: add missing icon in top-left corner of the windows when sdl is not used
2021-04-05 17:06:07 +02:00
scribam
90de080eba
windows: add missing icon in top-left corner of the windows when sdl is not used
2021-04-05 11:01:38 +02:00
scribam
e6a49ca4ec
deps: use official SDL url for submodule
2021-04-04 15:38:37 +02:00
Flyinghead
b3de6a166d
area 7 access to sh4 mm registers only through mmu translation
...
on-chip ram area isn't translated in both user and supervisor modes
vmem: return 0 for non-mapped region reads
Fixes dolphin blue crash/freeze. Issue #62
Fixes Resident Evil - Code Veronica X (Chris) floor 1F crash
2021-04-01 13:30:37 +02:00
Flyinghead
4d815570d0
sh4: define SCI module registers
2021-03-31 19:01:31 +02:00
Flyinghead
3ff457f4e8
always log notice/warn/error messages
2021-03-31 18:47:18 +02:00
Flyinghead
6af509159e
optimize area0 mem handlers
...
use flash_size for both sram (aw, naomi) and flash (dc)
bios and flash not mirrored to 02000000
2021-03-31 18:45:46 +02:00
flyinghead
a8929170f3
up sh4 context pad to 64k to keep windows happy
2021-03-29 21:12:43 +02:00
Flyinghead
a5eecf59b3
x64 rec: wrong arg0 reg for windows. need to handle 512mb addr space
2021-03-29 17:30:56 +02:00
Flyinghead
a7d8d31566
double-free when opening corrupted chd. Better error message
...
Avoid vk/gl/vk quick switching
2021-03-29 16:26:18 +02:00
Flyinghead
904bed862e
arm32: store queue dynarec optim. ditch Unstable Optimizations
...
shrink Sh4Context.pad size except on arm32
reset sh4 before mem to unlock ram
2021-03-29 14:26:55 +02:00
Flyinghead
65290a70f3
x64/x86: store queue dynarec optimization
2021-03-29 14:26:55 +02:00
Flyinghead
e2f309b5cc
arm64: store queue write dynarec optimization
2021-03-29 14:26:55 +02:00
Flyinghead
ed25d45adb
arm32 rec: wrong operand size for immediate mem write
...
Issue #208
2021-03-29 14:20:42 +02:00
Flyinghead
f1b4b78e4c
savestate: edge case leading to i/o error on load
2021-03-28 20:09:59 +02:00
Flyinghead
9e9aa5b4d9
gl: proper vao use. define palette uniforms only when needed
2021-03-28 20:08:02 +02:00
Flyinghead
dc0c5baece
move vram to pvr
2021-03-28 20:08:02 +02:00
Flyinghead
569c23ca95
pvr: use pvr_read32p/pvr_write32p to access 32b vram
2021-03-28 20:08:02 +02:00
scribam
767a1b6a8d
gui: fix wrong index CrosshairColor
2021-03-28 11:38:43 +02:00
scribam
9c8082fb16
delete unnecessary null pointer check
2021-03-28 11:10:46 +02:00
scribam
3cdff93e26
archive: use int as second parameter for LookToRead2_CreateVTable
2021-03-28 11:06:26 +02:00
scribam
e4a084b290
winmain: replace deprecated call to GetWindowLong by GetWindowLongPtr
2021-03-28 10:51:14 +02:00
flyinghead
3c2445fb82
Merge pull request #212 from scribam/io-boards-mem-leak
...
maple: fix potential mem leaks if vector reallocation fails
2021-03-28 10:46:52 +02:00
scribam
754c0e234b
maple: fix potential mem leaks if vector reallocation fails
2021-03-27 20:59:54 +01:00
scribam
d0c2c269b0
glcache: call glDeleteTextures if texture cache size > 0 during reset
2021-03-27 19:56:11 +01:00
Flyinghead
2b41d9684f
pvr: static init UB
...
Issue # #148
2021-03-26 18:39:19 +01:00
Flyinghead
972f945058
lupin3 the shooting widescreen cheat
...
courtesy of Esppiral
2021-03-25 20:58:35 +01:00
Flyinghead
7205068809
sdl audio: use configured audio buffer size
2021-03-23 16:32:09 +01:00
Flyinghead
73a969b1a4
alsa: set period size before buffer size. make it match SAMPLE_COUNT
...
simplify WriteSample
2021-03-23 16:27:57 +01:00
Flyinghead
a4120ef075
linux: more data dirs can be set with FLYCAST_BIOS_PATH env var
2021-03-23 16:12:27 +01:00
Flyinghead
6b11674949
use aligned struct for sqbuffers and sh4 context
...
serialize YUV_index
remove bogus arm32 TAWriteSQ implementation
2021-03-23 16:07:53 +01:00
Flyinghead
0f6dda9cb1
gdb server agent
...
allow stepping and soft breakpoints
clean up interpreter opcodes
2021-03-23 14:49:19 +01:00
Flyinghead
630d31ba20
arm32: better sh4 dynarec infiniloop fix
...
make sure next_pc is saved to ram
Issue #208
2021-03-22 10:06:43 +01:00
Flyinghead
1e6874c5eb
SDL2/SDL.h -> SDL.h
2021-03-21 20:07:53 +01:00
Flyinghead
d8a25e73f2
cmake fixes. makefile clean up. load gles3 driver with sdl
...
add FindSDL2.cmake and don't provide wrong hint
cmake: option to disable vulkan
don't use/link with egl if using sdl
remove ARM_HARDFP and use standard __ARM_PCS_VFP #def
hide texture upscaling options if no openmp
2021-03-21 18:03:22 +01:00
Flyinghead
06be0d927b
screen stretching always in final horiz direction. lightgun coords fix
...
gl: strech direct fb texture based on stretching and rotation
Fix lighgun coords when stretching and/or rotating
Dimension render size based on stretching and rotation
vk: lightgun crosshair disappears near 0-edge -> scissoring x and y must
be >= 0
always stretch horizontally even when rotating
2021-03-21 18:03:22 +01:00
Flyinghead
685dcd1c8a
Variable length arrays not supported by msvc. Fix MacOS project
2021-03-21 18:03:22 +01:00
Flyinghead
7af667cdf8
missing change from previous commit
2021-03-21 18:03:22 +01:00
Flyinghead
1abfa19636
set rendering resolution in discrete steps instead of scaling
2021-03-21 18:03:22 +01:00
Flyinghead
0b6420d90a
arm32: sh4 dynarec infiniloop on reset. aica rec: fix icache flush
...
Fixes hang when exiting awave service menu
Issue #208
2021-03-20 15:06:16 +01:00
Flyinghead
9bc832c4c6
cmake, sdl: fix for some SBCs
...
sdl: don't request alpha channel for gl context
sdl: start fullscreen if not desktop
cmake: make openmp, host libzip optional. gles needs libEGL
fix crash when falling back to gl after vk init fails
2021-03-19 15:51:09 +01:00
Flyinghead
ee109d0fec
save state: fix rzip compression error
2021-03-16 10:16:29 +01:00
Flyinghead
58c936fa6c
android: expose sound latency setting. default to auto
...
Issue #182
remove video Clipping option
remove audio LimitFPS option
2021-03-16 10:15:23 +01:00
flyinghead
bceed97817
Merge pull request #205 from scribam/clang-tidy
...
clang-tidy: fix more checks
2021-03-15 20:17:56 +01:00
scribam
cd47633810
clang-tidy: run readability-avoid-const-params-in-decls
2021-03-15 19:52:54 +01:00
scribam
8542675488
clang-tidy: run bugprone-incorrect-roundings
2021-03-15 19:52:54 +01:00
scribam
67435c71e8
clang-tidy: run readability-non-const-parameter
2021-03-15 19:52:54 +01:00
scribam
092ee6d8a5
clang-tidy: run readability-container-size-empty
2021-03-15 19:52:54 +01:00
scribam
f1c8679df7
clang-tidy: run readability-delete-null-pointer
2021-03-15 19:52:54 +01:00
scribam
913fbef952
clang-tidy: run readability-inconsistent-declaration-parameter-name and improve parameter names
2021-03-15 19:52:54 +01:00
flyinghead
901e58573e
limit mouse coordinates in relative mode
...
Issue #138
2021-03-15 17:55:44 +01:00
scribam
ee7684abfc
clang-tidy: run readability-redundant-string-init
2021-03-14 21:52:42 +01:00
scribam
de363f176f
clang-tidy: run readability-redundant-string-cstr
2021-03-14 21:52:42 +01:00
scribam
26ebcdf9f5
clang-tidy: run modernize-use-equals-default
2021-03-14 21:52:42 +01:00
Flyinghead
5e619a70d4
arm64: fix crash with HLE bios. Set nav bar to tranparent (android 10)
...
arm64 dynarec main loop and handlers were generated twice
Fix nav bar background leftover on android 10
2021-03-14 17:54:57 +01:00
flyinghead
a60ed281a1
Merge pull request #202 from scribam/clang-tidy
...
clang-tidy: fix some checks
2021-03-14 08:39:00 +01:00
C.W. Betts
004b238fb7
Remove the printf to darw_printf define.
...
Quiets a warning about unknown printf-format type 'darw_printf'.
2021-03-13 13:58:47 -07:00
scribam
fe17d79e8d
clang-tidy: run performance-unnecessary-value-param
2021-03-13 17:28:33 +01:00
scribam
af0c267d96
clang-tidy: run modernize-use-emplace
2021-03-13 17:28:32 +01:00
scribam
d1239dea89
clang-tidy: run modernize-redundant-void-arg
2021-03-13 17:28:32 +01:00
scribam
ae47ff9875
clang-tidy: run modernize-deprecated-headers
2021-03-13 17:28:32 +01:00
scribam
28d7227ba5
clang-tidy: run modernize-use-bool-literals
2021-03-13 17:28:32 +01:00
scribam
d715836c40
clang-tidy: run modernize-use-override
2021-03-13 17:28:32 +01:00
scribam
1cc3490f51
Remove HOST_OS references
2021-03-13 11:38:34 +01:00
Flyinghead
c61a66257f
macos: no fast-math. fix xbyak "offset too big"
2021-03-13 10:34:13 +01:00
Flyinghead
5227259048
No more fast-math on x86/x64. Yet another FTRC fix
...
Don't compile with -ffast-math
Fix FTRC to return 0x80000000 for NaN
-> fixes Arcade Racing Legend sound problems and disappearing cars
Remove unsupported GCW0 platform
Remove unused android makefiles
2021-03-11 12:27:00 +01:00
Flyinghead
77bb6eade5
armrec: ignore invalid op ('SEGA')
...
fixes megadrive cdi crash
2021-03-11 12:15:57 +01:00
Flyinghead
cb52d0b6ec
x64: andn() needs BMI1 cpu feature
...
Issue #198
2021-03-09 14:38:27 +01:00
flyinghead
99e37500e9
vk: renderer wasn't always resized when window is
...
Issue #199
2021-03-08 21:04:51 +01:00
flyinghead
3314e9f3d7
naomi: toukon4 needs JP region
2021-03-08 21:03:36 +01:00
Flyinghead
478b9a9f68
linux: vmem conflict with malloc. Ignore savestate with future version
2021-03-07 17:05:34 +01:00
Flyinghead
31e0b3ab51
x64/x86 dynarecs: fast-math fcmp/eq implementation
...
Fixes Shin Nihon Pro Wrestling - Toukon Retsuden 4
Fixes Project Justice (Issue #38 )
2021-03-07 16:59:17 +01:00
flyinghead
0e20d5976b
vram texture locks race condition
2021-03-05 18:22:42 +01:00
flyinghead
ee9e64a253
gui: prevent crash when starting a game while game scanner is running
2021-03-05 18:20:55 +01:00
flyinghead
45fcd811ec
pvr: nullify TA context at shudown
2021-03-05 18:20:09 +01:00
flyinghead
80386d45b9
rzip memory leak
2021-03-05 18:16:51 +01:00
Flyinghead
ca107953fe
Vulkan renderer setting was reset to off when starting a game
2021-03-03 09:40:52 +01:00
C.W. Betts
4d5c6e1551
Fix an oversight.
2021-03-03 01:00:08 -07:00
C.W. Betts
3c8a2f2372
Don't compile rec_arm64 on non ARM64 machines.
...
Include header in posix_vmem that makes calls to sys_cache_control compile on Mac ARM64.
Replaces flyinghead#184
2021-03-03 00:57:53 -07:00
C.W. Betts
af650c7c31
Add Apple Silicon capability to context_segfault
...
Based off of 15971d0ab5
and updated to work.
2021-03-02 18:18:19 -07:00
Flyinghead
641da3a771
build fix
2021-03-02 20:36:19 +01:00
Flyinghead
424736961b
arm64: get rid of inline assembler
2021-03-02 20:35:59 +01:00
Flyinghead
c99b34e60c
msvc build fix
2021-03-02 20:10:25 +01:00
Flyinghead
0c8815549c
Merge branch 'fh/x64-arm-jit'
...
# Conflicts:
# core/hw/aica/aica.cpp
# core/nullDC.cpp
2021-03-02 19:42:15 +01:00
flyinghead
77961d2c33
windows: international keyboard support
...
sdl: pass through USB scancodes
windows: detect host keyboard layout and emulate corresponding DC
keyboard
update modifier keys state even if no key pressed (Typing of the Dead:
Shift key tutorial)
2021-03-02 18:45:18 +01:00
flyinghead
8259b8ba02
x86 msvc build fix. Build 32bit SDL. Force renderer type at startup
2021-03-01 12:49:41 +01:00
flyinghead
72a61786f4
win32: crash when opening texture pack
...
Issue #187
2021-03-01 12:44:38 +01:00
Flyinghead
c3a95594f9
New option system
...
Fix per-game settings (Issue #115 )
Automatic load/save state (Issue #173 )
Reload Naomi/AW BIOS after per-game settings are loaded to allow
per-game BIOS region. (Issue #96 )
Restrict Soul Reaver widescreen cheat to the EU version (Issue #188 )
Disable UI elements for overridden settings
Clean up/simplify legacy Naomi ROM loading
2021-03-01 10:13:40 +01:00
walknight
987b83def6
Fix missing ssize_t in MSVC build
2021-02-27 00:43:52 -06:00
walknight
af1b2e2e69
Incorporate lr-flycast@e3b8bc9: Fix CHD alignment issues
2021-02-26 23:39:34 -06:00
Flyinghead
bbcfc8354a
arm64: dynarec crash with wince games using temp blocks
...
Issue #185
2021-02-25 10:50:31 +01:00
Flyinghead
c6389de3b3
macos: detect shift/ctrl/alt key presses as individual keys
...
Issue #176
Add "Open Menu" menu entry
2021-02-24 17:28:58 +01:00
Flyinghead
859a8dc8fb
vulkan: wrong viewport with widescreen and SSAA x2
...
Issue #172
2021-02-21 08:33:31 +01:00
Edward Li
25e66d6972
Keeping the original scaling calculation for other OSes
2021-02-18 07:24:05 +08:00
Edward Li
21ab1111ad
Enable HiDPI for Windows
2021-02-18 06:03:37 +08:00
Edward Li
50ece2a831
Handling scaling properly on macOS
2021-02-18 06:03:14 +08:00
Flyinghead
521d69f5e0
aicaarm: get rid of inline and source assembler
2021-02-15 18:47:09 +01:00
Flyinghead
c4cb055e3f
fix tests and macOS build
2021-02-14 19:34:26 +01:00
Flyinghead
a920ae5901
aica: fix race conditions between sh4/arm
...
Fix sound issue in Test Drive Le Mans and Looney Tunes
2021-02-14 19:19:57 +01:00
Flyinghead
2d8bc6d6ee
dynarec: skip single branch targets
2021-02-14 18:49:40 +01:00
scribam
89274248ed
Fix compilation on FreeBSD
2021-02-14 17:06:03 +01:00
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