Flyinghead
6ea61b9084
android: support 4KB and 16KB page sizes on 64-bit platforms
2025-07-06 22:16:06 +02:00
Flyinghead
b9df7d3469
network digital outputs: check config option when game starts
...
Avoid the need to restart when enabling or disabling this option
Send game name to newly connected sockets
ignore SIGPIPE (telnet)
Log network errors
2025-02-04 17:46:02 +01:00
scribam
c94deaee9d
build: drop unsupported architectures
2025-01-05 22:06:37 +01:00
Flyinghead
ecd0305a60
fix build without dynarec
2024-12-14 19:43:32 +01:00
Flyinghead
cd8a88366d
get rid of TARGET_NO_EXCEPTIONS
2024-11-06 16:59:16 +01:00
Flyinghead
336706e728
move most os_* funcs to oslib
...
add os_DestroyWindow and os_UpdateInputState
2024-04-12 17:37:45 +02:00
Flyinghead
a136583189
drop dispmanx support. move switch main() to its own file
...
Dispmanx support is provided by SDL
Enable omx audio and set TARGET_VIDEOCORE when building for RPi3
2024-04-11 16:27:28 +02:00
Flyinghead
06a6e26588
get rid of os_GetSeconds()
...
replace it with std::chrono-based getTimeMs()
2024-04-11 15:25:25 +02:00
Flyinghead
42e98e86d0
set thread names
...
Name all threads to help debugging and improve crash reports (windows
only)
Add ^C handler for clean exit on linux
2024-04-10 17:08:24 +02:00
Flyinghead
f629c352e1
fix FreeBSD x64 segfault context
...
Issue #1401
2024-02-26 11:27:03 +01:00
scribam
1b0781c680
bsd: update segfault context for arm64
2024-02-21 08:46:27 +01:00
Flyinghead
70a69cf48d
switch: fastmem/vmem implementation
...
Only map first writable mirror due to switch limitation.
2024-01-22 15:18:49 +01:00
Flyinghead
9e37d1e726
switch: restore x15 register when returning from the fault handler
...
Also restore NZCV and FPU registers.
Fixes crash/glitch with YUV converter.
Fixes SoA crash when rendering to a texture.
Issue #1312
2024-01-17 17:52:26 +01:00
Flyinghead
cfb7ff3054
switch: use latest devkitpro. touchscreen support. cleaner abort
...
Use latest devkitpro image.
Call diagAbortWithResult on fatal errors instead of freezing/infinite
loop.
Add Exit button on main content screen.
Touchscreen support.
2024-01-16 11:21:32 +01:00
scribam
db7895cea5
Some ifdefs to improve builds ( #1325 )
...
* mmu: hide some jit and fast mmu functions behind ifdef
* linux: move log to the correct place
2023-12-01 15:03:59 +01:00
Flyinghead
0ac483acfc
sh4 dynarec refactoring
...
sh4 code buffer class
dynarec interface and implementations
2023-09-12 16:52:25 +02:00
scribam
40953b17c4
uwp: add support for arm64
2023-07-30 18:03:32 +02:00
Flyinghead
b47f4f56ef
user-defined literals: _KB, _MB, _GB
2023-07-01 14:31:25 +02:00
scribam
f590766421
deps: update nowide
2023-06-04 12:49:55 +02:00
scribam
4acb670b88
netbsd build fix
2023-04-29 17:51:25 +02:00
Flyinghead
885a0508c0
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/hw/aica/sgc_if.cpp
# core/hw/naomi/naomi.cpp
# core/hw/sh4/dyna/driver.cpp
2023-02-28 20:02:23 +01:00
namtsui
a1472fb190
OpenBSD 7.2 patches ( #953 )
...
* OpenBSD: BSS is immutable so mark it as mutable so that mprotect RWX works
see: mimmutable(1)
bc009f82ea
* OpenBSD does not have mcontext_t
<signal.h> provides `typedef struct sigcontext ucontext_t;'.
take register names from <machine/signal.h>, which provides struct
sigcontext.
see:
1a13d3ae4e
* OpenBSD uses major.minor for shared libs, so properly dlopen libGL.so
* OpenBSD remove redefinition of swap16
* OpenBSD: SDL2 controller detection
Use sdl_open_joystick() to open controllers on startup instead of
SDL_JOYDEVICEADDED event, which never gets detected.
* OpenBSD does not have mcontext_t but linux does
2023-02-28 18:22:45 +01:00
Flyinghead
b81a6762bc
switch build fix
2023-01-31 17:39:57 +01:00
Flyinghead
cb94354099
switch build fix
2023-01-30 12:18:19 +01:00
Flyinghead
53dab29ddb
iOS and Switch build fixes
2023-01-30 11:10:14 +01:00
Flyinghead
143073b61d
rename _vmem to addrspace and move platform vmem stuff to virtmem ns
...
use namespaces
simplify names
no functional changes
2023-01-29 18:48:33 +01:00
Flyinghead
99d5266aa0
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/hw/holly/sb_mem.cpp
# core/hw/naomi/naomi.cpp
# core/hw/naomi/naomi_flashrom.cpp
# core/hw/pvr/ta_ctx.h
# core/rend/gui.cpp
2023-01-27 15:41:45 +01:00
scribam
80cf4406a7
cleanup include headers
2023-01-26 10:06:51 +01:00
Flyinghead
3b683648fa
switch build fix
2023-01-24 22:49:46 +01:00
Flyinghead
5703ef26cf
os_DebugBreak is [[noreturn]]
2023-01-24 19:24:26 +01:00
Flyinghead
f8372c51a7
Revert "wip headers"
...
This reverts commit e3e2c3a0d2
.
2023-01-24 14:26:14 +01:00
Flyinghead
31debefbe1
release dynarec mem allocs when terminating, including arm and dsp
...
Issue #453
2023-01-24 09:21:46 +01:00
scribam
e3e2c3a0d2
wip headers
2023-01-23 18:29:04 +01:00
Flyinghead
2420c05930
android: implement unwind info for arm32
2023-01-17 22:06:22 +01:00
Flyinghead
19a160695c
android: since ndk23 exceptions traversing dynarec blocks cause a crash
...
NDK 23 switched to clang's unwinder instead of gcc so __register_frame()
takes a single FDE as argument (as in macOS).
Fix for MINIDUMP-3M and MINIDUMP-3N
2023-01-15 19:31:44 +01:00
Flyinghead
0107435a73
iOS build fix
2022-12-17 11:25:58 +01:00
Flyinghead
2800927fa1
arm64 dynarec: can't rely on faultAddress with 512 MB vmem
...
Use x0 instead
2022-12-16 20:40:23 +01:00
Flyinghead
f133e3cccb
verify() must not call a function with side-effect
2022-12-16 20:40:23 +01:00
Flyinghead
32e3e7d9c5
vmem: no more 4GB vmem mode. only map elan RAM in naomi2 mode
...
Do not attempt to reserve 4GM of virtual space on 64-bit hosts. Use
512MB everywhere.
Don't map elan RAM if not needed and dont protect/unprotect it in
memwatch.
2022-12-09 17:37:49 +01:00
Flyinghead
de1322b928
naomi2: Fix T&L matrix. vmem elan ram support.
...
Fix T&L matrix (wild riders)
Open GL support for normal/light matrix
handle elan RAM in vmem
2022-01-28 21:24:30 +01:00
scribam
8e305bfd0f
android/vmem: use constant ASHMEM_NAME_DEF
2021-12-18 11:46:04 +01:00
Flyinghead
dc5acd24b2
Merge remote-tracking branch 'origin/master' into net-rollback
2021-12-17 12:40:37 +01:00
Flyinghead
04be40767b
android: fallback to /dev/ashmem if ASharedMemory fails. More logs
...
Issue #439
2021-12-15 23:09:59 +01:00
flyinghead
cc39d4dd7d
vmem: close shared mem file descriptor when terminating
...
Tentative fix for Issue #439
2021-12-10 14:04:45 +01:00
flyinghead
8262c9ece7
UWP support - WIP
2021-11-19 23:18:45 +01:00
Flyinghead
69d0801121
net rollback with ggpo
2021-09-02 17:51:23 +02:00
Flyinghead
d7bc1f0f77
apple: disable delay frame swapping, libretro: set base_width/height to 640x480, use gl 3.2 on macOS
2021-08-15 10:50:53 +02:00
Flyinghead
77e7c25e9c
iOS support. Work in progress
2021-08-06 10:30:30 +02:00
Flyinghead
6bb4575c95
Merge remote-tracking branch 'origin/master' into libretro
2021-08-05 18:17:30 +02:00
Flyinghead
aabb492d01
x86 stack unwinding support (android)
2021-07-30 19:13:52 +02:00