Commit graph

2649 commits

Author SHA1 Message Date
Stephen Miller
3e7d1092f2 Move sceKernelUnlink
Will deal with this one later, was just annoyed by how it's location doesn't align with the export order.
2025-02-17 18:29:40 -06:00
Stephen Miller
bb75754245 Implement posix_readv and sceKernelReadv
Also fixes error behavior on readv, as that function shouldn't be returning any kernel error codes.
2025-02-17 18:28:57 -06:00
Stephen Miller
80da8a9ae9 Oops 2025-02-17 18:22:54 -06:00
Stephen Miller
c4fae1690b Implement write and posix_write 2025-02-17 18:18:41 -06:00
Stephen Miller
801687da3f Update file_system.cpp 2025-02-17 18:10:16 -06:00
Stephen Miller
475c42bc38 Swap some stuff around
I see nothing that suggests "open" only takes two parameters, so this should be completely safe.
It's also more accurate to how these are handled in libkernel, and means I won't need to reorganize anything for readv and writev.
2025-02-17 18:09:36 -06:00
Stephen Miller
ba1c5bdc8f Remaining placeholder exports 2025-02-17 18:01:53 -06:00
Stephen Miller
534f50ba09 Missing exports
Commented out while I gradually work through them all
2025-02-17 15:50:48 -06:00
Stephen Miller
55790e37e8 Readd hack in posix_close
It's either this, or removing LLE DiscMap.
Or shadow implements posix sockets.
2025-02-17 15:22:16 -06:00
Stephen Miller
671cbfbbd0 posix_open fixups 2025-02-17 15:21:35 -06:00
Stephen Miller
4a4589a1e9 Fix log on close 2025-02-17 15:11:28 -06:00
Stephen Miller
fb8883dcea Improve close
Removes the EPERM return, as it makes no sense, and swaps sceKernelClose with posix_close to properly emulate errno behavior.
2025-02-17 15:05:45 -06:00
Stephen Miller
281a07e911 Reorganize open calls, add error log 2025-02-17 15:04:27 -06:00
Stephen Miller
84c3bdb140 Proper errno behavior on open
Since sceKernelOpen calls posix_open, errno should be set during this process.
Simplest way to handle that is to move the actual open code to posix_open and adjust error cases accordingly.
2025-02-17 14:54:29 -06:00
Stephen Miller
9db2f6eccb Fix exports
Fixes function exports to align with what they should be, based on what I've seen from decompilation and our module generator.
2025-02-14 18:58:25 -06:00
Stephen Miller
3a6834113e sceKernelOpen: Fix errors
Based on POSIX spec, if part of the path is missing, ENOENT is the correct return.
Additionally, decompilation suggests that open sets errno too.
2025-02-14 18:57:01 -06:00
Stephen Miller
8b2ec07154 sceKernelOpen: fix params
Based on decompilation, the second parameter of _open should be flags.
Additionally swaps the return and parameter types to align with our current standards.
2025-02-14 18:54:57 -06:00
Stephen Miller
e29e3f1985 sceKernelOpen: Clean up flag handling 2025-02-14 18:53:35 -06:00
georgemoralis
32763b7af6
New Crowdin updates (#2436)
* New translations en_us.ts (Romanian)

* New translations en_us.ts (French)

* New translations en_us.ts (Spanish)

* New translations en_us.ts (Arabic)

* New translations en_us.ts (Danish)

* New translations en_us.ts (Greek)

* New translations en_us.ts (Finnish)

* New translations en_us.ts (Hungarian)

* New translations en_us.ts (Italian)

* New translations en_us.ts (Japanese)

* New translations en_us.ts (Korean)

* New translations en_us.ts (Lithuanian)

* New translations en_us.ts (Dutch)

* New translations en_us.ts (Polish)

* New translations en_us.ts (Russian)

* New translations en_us.ts (Albanian)

* New translations en_us.ts (Swedish)

* New translations en_us.ts (Turkish)

* New translations en_us.ts (Chinese Simplified)

* New translations en_us.ts (Chinese Traditional)

* New translations en_us.ts (Vietnamese)

* New translations en_us.ts (Portuguese, Brazilian)

* New translations en_us.ts (Indonesian)

* New translations en_us.ts (Persian)
2025-02-14 21:54:49 +02:00
Dmugetsu
1781fcb9ef
Kbm icon change and size modified. (#2435)
* Adding KBM icon for kbm remaps.

* New Icon and new size
2025-02-14 21:53:36 +02:00
DanielSvoboda
16451b01e8
Fix PR 2424 (#2433)
* Fix PR 2424

* chooseHomeTab
2025-02-14 21:49:09 +02:00
Dmugetsu
bb6cca3056
Adding KBM icon for kbm remaps. (#2430) 2025-02-14 12:48:52 +02:00
¥IGA
b48975f116
Qt: Resizing Font Size and Icon Grid Size (#2429) 2025-02-14 12:36:23 +02:00
kalaposfos13
1cc9e0d37f
Initial implementation of controller color config (#2411) 2025-02-14 12:30:49 +02:00
kalaposfos13
ad43ba5ec7
Fix unified config checkbox behaviour + code style changes (#2427) 2025-02-14 12:17:39 +02:00
georgemoralis
57bdb6cac2 hotfix: another typo.. 2025-02-14 10:24:12 +02:00
georgemoralis
1dca54c165 hotfix: typo 2025-02-14 10:12:43 +02:00
georgemoralis
67a74a9357 hotfix: removed questionable setjmp 2025-02-14 10:03:57 +02:00
kalaposfos13
7db30d12cb
Libraries: Update libcInternal (#2265)
* Added all stubs + logging

* Added back memory and math functions from the original code + added some more math functions

* More string functions, snprintf, memmove and setjmp

* Add longjmp + clang

* gmtime, __cxa_atexit and log what functions some games use

* Add Mspace unreachable

* Renaming

* Take out mspace functions to their own file

* Factor out io to a new file

* Empty str and memory files

* Overloaded functions be like:

* str

* memory + math +clang

* clang...

* adjustments :D

* longjmp is questionable

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2025-02-14 09:58:38 +02:00
DanielSvoboda
0f8bd509b2
Crowdin translation adjustments (#2426)
* Fix TR

* +
2025-02-14 07:23:24 +02:00
DanielSvoboda
d1e88c40d8
Displays translation in interface, not logs or config (#2424)
Release/Nightly
async/sync
2025-02-14 07:23:11 +02:00
DanielSvoboda
46ef678f55
Fix PR 2422 (#2425) 2025-02-13 19:51:20 -08:00
DanielSvoboda
d76210d24f
Set language to en_US if value is incorrect (#2422) 2025-02-13 22:23:19 +02:00
DanielSvoboda
4dfe05db24
language fix (#2421) 2025-02-13 20:01:35 +02:00
DanielSvoboda
3634026436
Standard language fix (#2420)
* Standard language fix

* +
2025-02-13 19:54:50 +02:00
Stephen Miller
455b23c6f1
Update video_out.cpp (#2416) 2025-02-13 16:29:26 +02:00
georgemoralis
b2fb004414
Update README.md with crowdin link 2025-02-13 16:13:33 +02:00
georgemoralis
1e7f651b1b
Auto update of english translation file based on sources (#2349)
* added auto-translation action

* made scripts executable

* reuse

* no-obsolete - reuse (#2392)

* other languages - reuse

* no-obsolete

see everything that is 'vanished', because it does not exist

* Update update_translation.sh

* +

---------

Co-authored-by: DanielSvoboda <daniel.svoboda@hotmail.com>
2025-02-13 15:50:55 +02:00
georgemoralis
c94cd531f0
New Crowdin updates (#2415)
* New translations en_us.ts (Romanian)

* New translations en_us.ts (French)

* New translations en_us.ts (Spanish)

* New translations en_us.ts (Arabic)

* New translations en_us.ts (Danish)

* New translations en_us.ts (German)

* New translations en_us.ts (Greek)

* New translations en_us.ts (Finnish)

* New translations en_us.ts (Hungarian)

* New translations en_us.ts (Italian)

* New translations en_us.ts (Japanese)

* New translations en_us.ts (Korean)

* New translations en_us.ts (Lithuanian)

* New translations en_us.ts (Dutch)

* New translations en_us.ts (Norwegian)

* New translations en_us.ts (Polish)

* New translations en_us.ts (Russian)

* New translations en_us.ts (Albanian)

* New translations en_us.ts (Swedish)

* New translations en_us.ts (Turkish)

* New translations en_us.ts (Ukrainian)

* New translations en_us.ts (Chinese Simplified)

* New translations en_us.ts (Chinese Traditional)

* New translations en_us.ts (Vietnamese)

* New translations en_us.ts (Portuguese, Brazilian)

* New translations en_us.ts (Indonesian)

* New translations en_us.ts (Persian)
2025-02-13 15:40:14 +02:00
georgemoralis
40cd5c57c5
Update REUSE.toml 2025-02-13 14:58:54 +02:00
georgemoralis
753a3072ee Update Crowdin configuration file 2025-02-13 14:50:02 +02:00
DanielSvoboda
43191ff426
Formatting for Crowdin (#2413)
* Formatting for crowdin

* +
2025-02-13 14:42:40 +02:00
¥IGA
7728db0dd3
Qt: Use Qt 6.8.2 (#2409)
* Qt: Use Qt 6.8.2

* Update Building Instructions For Windows
2025-02-13 12:01:14 +02:00
squidbus
6e12642151
shader_recompiler: Lower non-compute shared memory into spare VGPRs. (#2403) 2025-02-12 20:10:13 -08:00
squidbus
ebe2aadb4c
gnmdriver: Implement sceGnmUpdateHsShader (#2412) 2025-02-12 19:45:42 -08:00
squidbus
c9d425dc08 fix: Correct number of allocated VGPRs. 2025-02-12 17:53:52 -08:00
Missake212
5f2467b453
change ts it (#2396) 2025-02-12 19:05:52 +02:00
rainmakerv2
3b1840b7a9
Add error message when trophy data extraction fails (#2393)
Co-authored-by: rainmakerv2 <30595646+jpau02@users.noreply.github.com>
2025-02-12 19:05:35 +02:00
kalaposfos13
50b27bebd8
fix deprecation (#2406) 2025-02-12 19:05:14 +02:00
squidbus
7624e9482c
memory: Log for sceKernelMapNamedDirectMemory in more cases. (#2404) 2025-02-12 19:04:58 +02:00