shadPS4/src/core
Valdis Bogdāns af67473de3
Ime lib fixes (#3244)
* IME fixes

- Moved enums, flags, and structs to ime_common.h to simplify usage with Ime and ImeDialog
- Updated Ime to use an enum as the return type, consistent with ImeDialog
- Removed duplicate definition of OrbisImeKeycode
- Added OrbisImeLanguage as a flags enum
- Added missing options to OrbisImeOption
- Removed OrbisImeDialogOption; OrbisImeOption should be used instead
- Added OrbisImeTextAreaMode
- Updated OrbisImeTextAreaMode
- Fixed OrbisImeEventParam by adding the missing member OrbisImePanelType panel_type
- Updated the sceImeOpen declaration to use extended parameters (not yet implemented)
-Fixed Diablo III (CUSA00434) assertion failure on ImeDialog initialization

* Ime lib fixes
- Updated functions to consistently use the Error enum type for return values.
- Added detailed logging to aid future IME/OSK development and debugging.
- Now use OrbisUserServiceUserId (s32) and OrbisImeKeycodeState in relevant functions and structs.
- Introduced a generic template method to generate full bitmasks for all Orbis flag-style enums, simplifying validation and mask creation.
- Implemented additional parameter validations in sceImeOpen.
- Added missing enums: OrbisDisableDevice, OrbisImeInputMethodState, OrbisImeInitExtKeyboardMode, OrbisImeKeycodeState, and other USB keyboard-related enums.
- Fixed incorrect usage of format specifiers in calls to logging macros (LOG_*).

* Data Type Fixes

- Replaced the use of the type alias OrbisUserServiceUserId = s32 with Libraries::UserService::OrbisUserServiceUserId directly.

* Fixed IDE warnings
- generate_full_mask now returns const instead of constexpr.
- Added argument list to std::unique_lock<std::mutex> construction for clarity.

* Clang fixes

* Removed unneccessary comment

---------

Co-authored-by: w1naenator <valdis.bogdans@hotmail.com>
2025-07-18 12:40:05 +03:00
..
aerolib fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
devices fix: Add missing ctime includes. 2025-04-30 23:37:37 -07:00
devtools Devtools: Add Module Viewer (#2976) 2025-05-24 09:15:10 -03:00
file_format externals: Remove need for cryptopp build. (#2707) 2025-03-29 10:32:06 +02:00
file_sys Add option to ignore game patch (#3039) 2025-06-10 12:30:45 -07:00
libraries Ime lib fixes (#3244) 2025-07-18 12:40:05 +03:00
loader Fix path bugs & wrap seeks in an if (#1154) 2024-09-30 12:42:59 +03:00
address_space.cpp mmap executable memory (#3201) 2025-07-07 12:26:27 +03:00
address_space.h Readbacks proof of concept rebased (#3178) 2025-07-01 23:41:00 +03:00
cpu_patches.cpp Add an unreachable on hitting ud2 instead of getting stuck in an infinite loop (#3257) 2025-07-16 18:06:58 +03:00
cpu_patches.h cpu_patches: Remove CPU patches for macOS and bump minimum OS version to 15.4 (#2743) 2025-04-03 22:39:08 +03:00
debug_state.cpp Fix showing debug menu bar / Devtools (#2214) 2025-01-22 22:21:41 -03:00
debug_state.h FidelityFX FSR implementation (#2624) 2025-03-12 20:33:30 +02:00
linker.cpp Dev Tools: Fix Module Viewer HLE detection (#3058) 2025-06-08 21:04:55 +03:00
linker.h Implement sceKernelGetModuleInfo, sceKernelGetModuleInfoInternal, and sceKernelGetModuleList (#2850) 2025-04-27 09:32:01 +03:00
memory.cpp Core: Fix read-only file unmaps on Windows (#3246) 2025-07-15 14:11:56 +03:00
memory.h mmap executable memory (#3201) 2025-07-07 12:26:27 +03:00
module.cpp Core: Fix module load addresses (#2879) 2025-05-05 03:24:08 -07:00
module.h libkernel: improve module finding in sceKernelLoadStartModule (#2541) 2025-03-09 23:44:17 +02:00
platform.h Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
signals.cpp mac: Fix building on macOS 26. (#3073) 2025-06-09 19:29:15 -07:00
signals.h shader_recompiler: Patch SRT walker on segfault (#2991) 2025-06-09 13:04:21 +03:00
thread.cpp exception: Fix raising exceptions on POSIX systems (#1868) 2024-12-25 00:21:32 +02:00
thread.h Switch remaining CRLF terminated files to LF 2024-12-24 13:56:31 +01:00
tls.cpp mac: Fix building on macOS 26. (#3073) 2025-06-09 19:29:15 -07:00
tls.h Lower stack size to clear from 13 to 12 KB (#2967) 2025-05-21 16:22:38 -03:00