185 Commits

Author SHA1 Message Date
Pedro Montes Alcalde 6063154f6f external: Update fmt from 12.1.0 to 12.2.0 (#4025) 2026-06-25 11:37:08 -03:00
bookmist 2162e160dd external/tracy: don't stop tracing on first AV or signal
Disable tracy crash handler. AV can be part of normal work of Vita3k
2026-06-12 01:25:55 +03:00
EXtremeExploit 15ed771095 external: Update tracy to 0.13.1 2026-05-31 13:59:03 -03:00
nishinji 53cbaa4c8b vita3k: Switch to C++23 2026-05-20 20:06:57 -04:00
KorewaWatchful 7b9b4f6976 android: fix adrenotools macro 2026-05-18 12:39:42 -04:00
Dicot0721 d9b605854b android: Add x86_64 ABI
- Disable adrenotools in Android x86_64 build to compile.
- Fix incorrect type for parameter of JNI function.
2026-05-18 11:38:20 -03:00
bookmist 78d5574649 io: replace better-enums lib to boost::describe 2026-05-17 23:52:17 +03:00
KorewaWatchful 91f533f86f emu: complete gui overhaul 2026-05-13 17:58:56 -04:00
Francisco José García García dfc31d5098 Address PR review: JIT cache invalidation + kernel.mutex locking
- SceCpuForDriver: ksceKernelCpuIcacheInvalidateRange and
  ksceKernelCpuIcacheAndL2WritebackInvalidateRange now call
  invalidate_jit_cache() to properly invalidate dynarmic's JIT cache
- taiHEN: All loaded_modules accesses now protected by kernel.mutex
  using scoped locks to avoid deadlocks with state->mutex and
  export_nids_mutex (lock order: kernel.mutex -> export_nids_mutex -> state->mutex)
2026-05-09 21:04:18 +02:00
Francisco José García García 7f9b366d5b Fix CI: clang-format + substitute_sym on non-Apple platforms 2026-05-09 21:04:18 +02:00
Francisco José García García 74eec2333d taiHEN: Implement HLE hooks, injections and module utils
Implement the core taiHEN plugin framework as HLE in SceLibTaihen:

Hooks:
- taiHookFunctionExportForUser/ForKernel: inline hooks via substitute's
  transform-dis for ARM/Thumb instruction relocation, with fallback to
  import stub patching when inline hooking fails (FUNC_TOO_SHORT)
- taiHookFunctionImportForUser/ForKernel: import stub patching (12-byte
  ARM stubs: movw/movt/bx)
- taiHookFunctionOffsetForUser/ForKernel: hook at module segment+offset
- taiHookRelease/ForKernel: restore original bytes/stubs, free trampoline
- Hook chaining with TAI_CONTINUE support via TaiHookUser structs

Injections:
- taiInjectAbs/ForKernel: arbitrary memory patching with save/restore
- taiInjectDataForUser/ForKernel: inject data at module segment+offset
- taiInjectRelease/ForKernel: restore original bytes

Module utils:
- taiGetModuleInfo/ForKernel: query module info by name
- module_get_offset: resolve segment+offset to address
- module_get_export_func: resolve NID to export address

Plugin loading:
- taiLoadKernelModule, taiLoadStartKernelModuleForUser,
  taiLoadStartModuleForPidForUser: load plugin .skprx/.suprx files
- Config parsing: ux0:tai/config.txt format (*KERNEL, *TITLEID sections)

External dependency:
- Add Vita3K/substitute as git submodule (forked from comex/substitute,
  LGPLv2.1+). Only the ARM transform-dis component is used for
  instruction relocation in inline hooks.

Tested with 10 integration tests covering all implemented APIs.
2026-05-09 21:04:18 +02:00
Zangetsu38 9b6a0089d1 external: fix link for prebuild of openssl. 2026-02-04 15:37:52 +01:00
Dicot0721 3a9cbd0cde external: Update Android Vulkan validation layer to SDK v1.4.341.0
- To support Android 16 & 16 KB page sizes.
2026-02-04 14:31:40 +01:00
双子叶植物 967e5076ef ci: Add Windows ARM64 build (#3770)
Add Windows ARM64 build.
- Simplify vcpkg installation with `--triplet=<triplet>`.
- Remove useless `if` in the job `Compute git short SHA`.
- Rename macOS/Windows x86_64 artifacts.
- Disable Discord Rich Presence on Windows ARM64.
- Add flags to disable inclusion of timestamps in PCH files with clang-cl.
- Enable Visual Studio for ARM64 in CMake presets.
- Fix the Windows update script still using '0.2.0' when parsing version.
- external: Update ffmpeg-core
2026-01-16 16:23:24 +01:00
Seungyun Lee 83e556d210 vita3k: Fix Discord SDK library linking for macOS architectures
Support x86_64, arm64, and universal builds by selecting the correct
Discord SDK dylib path based on the target architecture.
2026-01-12 10:54:33 +01:00
Macdu b4c1335422 build: Add Android version.
- PS button support added to the overlay controller, with improved default button positioning.

Co-authored-by: Zangetsu38 <dante38@free.fr>
2025-12-30 18:09:43 +01:00
Zangetsu38 3cd116a8b2 external: Update boost to 1.89.
- Adding compat of MSVC 2026.
2025-11-05 10:36:57 -03:00
oltolm 0e1f8b385e externals: update dynarmic with fix for Clang 20 2025-10-25 13:08:27 +02:00
Macdu 3ef503f0d6 external: Update ffmpeg headers (#3677) 2025-10-24 09:04:59 +02:00
oltolm 2d1a404195 external: update fmt to v12 (#3673) 2025-10-18 20:57:35 +02:00
Sergi (セルジ) 7f364eef90 Bump to ffmpeg 7.1.2
Ref: https://github.com/Vita3K/ffmpeg-core/pull/23
2025-10-17 20:29:25 +02:00
Zangetsu38 3df27923b4 external: Update few submodule and remove unicorn.
- Remove all Unicorn references from language files and project as it’s deprecated and unused.
- Update SPIRV-Cross to vulkan-sdk-1.4.321.
- Update YAML to latest master.
- Fix CMake minimum version requirement errors by ensuring minimum version 3.5.
2025-09-25 22:48:44 +02:00
Seungyun Lee 556c2355a4 external: Update capstone to fix macOS CI failure 2025-09-23 18:54:45 +02:00
bookmist cf3d627327 vita3k: Migration from SDL2 to SDL3 2025-07-14 19:04:22 +03:00
Macdu 3a795813de shader, external: Update glslang 2025-05-18 13:25:15 -03:00
Zangetsu38 0b4a4e58d1 external: Fix link to pre-built OpenSSL by updating it to 3.5. 2025-04-21 23:40:27 +03:00
Pedro Montes Alcalde e6947468d8 external: Update dynarmic (#3560) 2025-04-07 10:44:07 -03:00
scribam f95cfc4600 external: Update submodules (#3511)
* external: Update VulkanMemoryAllocator-Hpp to version v3.2.1

* external: Update capstone to version 5.0.6

* external: Update cubeb

* external: Update fmt to version 11.1.4

* external: Update googletest to version v1.16.0

* external: Update imgui to version v1.91.3

* external: Update imgui_club

* external: Update libfat16

* external: Update nativefiledialog-extended to version v1.2.1

* external: Update pugixml to version v1.15

* external: Update sdl to version 2.30.11

* external: Update spdlog to version v1.15.2

* external: Update stb

* external: Update vita-toolchain

* external: Update xxHash to version v0.8.3
2025-04-01 18:34:02 +02:00
Zangetsu38 5ec1cfde34 external: Fix link to pre-built OpenSSL by updating it to 3.4.
gen-windows: Set title for generating Vita3K project files.
2025-03-02 00:36:03 +03:00
Narr the Reg a670313cb4 external: Update boost to include latest changes 2025-01-02 18:24:08 +01:00
Seungyun Lee f97b4c9f73 external: update MoltenVK to 1.2.11 2024-12-31 14:24:58 +01:00
oltolm f257cbf544 unicorn: update module 2024-12-31 14:23:52 +01:00
scribam 33978d4bfe external: update sdl to version 2.30.9 2024-11-05 21:36:20 +01:00
Pedro Montes Alcalde 9143a14fcd external: Update tracy to 0.11.1 2024-10-29 17:26:30 -03:00
oltolm c61895e6f4 vita3k: Add support for mingw-w64 (#3406)
* make the code compile on mingw-w64

* make compile with Clang 19

* make compile with GCC
2024-10-26 23:41:51 +02:00
oltolm 70e034efc5 cmake: Improve mingw support (#3360)
* fix CMake scripts for mingw-w64

* ffmpeg: update submodule
2024-09-26 00:08:47 +02:00
Zangetsu38 e70999adcd external: Fix OpenSSL path installation for the new 3.3.2 version.
- Set and use OPENSSL_ROOT_DIR as a cache variable to copy the bin files.

Co-authored-by: redpolline <137227028+redpolline@users.noreply.github.com>
2024-09-14 13:24:23 +02:00
Seungyun Lee c94189dd9b external/ci: set macOS minimum version to 11.0 (#3361)
* external: download MoltenVK when configuring build system

* external: add option to build OpenSSL on macOS

* external: build custom boost with specific arch on macOS

* cmake: unify mixed and wrong indentations with tabs

* vita3K/ci: set macOS minimun version with 11.0
2024-09-11 19:09:26 +02:00
Zangetsu38 152c713bb7 external: Update boost to 1.86.
- Adding crc module.
Fix Boost linkage issues in release build.
- Fix path of BOOST_LIBRARYDIR.

Co-authored-by: Macdu <Macdu@users.noreply.github.com>
2024-09-05 18:06:23 +02:00
scribam 8a10714319 external: update sdl to version 2.30.7 2024-09-05 08:35:43 +02:00
Macdu f0101755de external: Update Vulkan dependencies 2024-09-05 08:33:15 +02:00
scribam 0a56702e7d external: update imgui to version v1.91.1 2024-09-04 21:18:12 +02:00
scribam 612d1f8d81 vita3k: cleanup (#3357)
* module: add missing pragma once

* cmake/vita3k: delete unused files

* vita3k: delete useless semi-colons

* vita3k: cleanup headers

* audio: add missing override to destructors

* vita3k: fix typos

* external: disable unused curl targets
2024-09-02 13:03:58 +02:00
scribam 80074c8f19 external: Update submodules (#3329)
* external: Update CLI11 to version v2.4.2

* external: Update cubeb

* external: Update curl to 8.8.0

* external: Update fmt to 11.0.1

* external: Update googletest to version v1.15.0

* external: Update imgui to version v1.90.9

* external: Update imgui_club

* external: Update nativefiledialog-extended to version v1.2.0

* external: Update pugixml to version v1.14

* external: Update spdlog to v1.14.1

* external: Update stb

* external: Update tracy to version v0.11.0

* external: Update vita-toolchain
2024-07-17 07:59:00 +02:00
nishinji 087285ab65 external: Update sdl to 2.30.5 (#3324) 2024-07-07 19:22:47 +02:00
Zangetsu 190d925147 external: Fix openssl link with update to 3.3.1. (#3308) 2024-06-13 21:22:17 +02:00
Pedro Montes Alcalde 052abe8e83 external: Update tracy to 0.10.0 (#3280) 2024-05-13 14:30:43 -03:00
Seungyun Lee 418f234394 ci: respond to github action's macOS runner change (#3282) 2024-04-26 23:31:14 +02:00
Seungyun Lee cbaf9fb5d7 external: update ffmpeg (#3249) 2024-03-14 10:48:17 +01:00
Macdu 2db80ea0ea external, cpu: Update dynarmic (#3241) 2024-03-10 19:09:51 +01:00