Stephen Miller
cc07a4da15
Update file_system.cpp
2025-02-17 21:37:28 -06:00
Stephen Miller
4118999831
Implement posix_pwrite and posix_unlink
...
Also fixes errno behavior in related functions.
2025-02-17 21:19:14 -06:00
Stephen Miller
1858214d51
Fix errno behavior of sceKernelFsync
2025-02-17 21:11:59 -06:00
Stephen Miller
74b513ddcd
Implement posix_getdents, getdirentries, and posix_getdirentries
...
Also fixes errno behavior for the kernel variants of these functions.
2025-02-17 21:11:33 -06:00
Stephen Miller
dfff0d188d
Fix compile
2025-02-17 20:36:40 -06:00
Stephen Miller
c8b3af1d3f
Add posix_preadv and posix_pread
...
Also fixes some incorrect error returns, fixes errno behavior, and removes an unnecessary hack.
2025-02-17 20:03:06 -06:00
Stephen Miller
578b6e7961
Implement posix_rename, fix sceKernelRename errno behavior
2025-02-17 19:56:16 -06:00
Stephen Miller
aa00a9ceee
Add missing error conversions for more device functions
2025-02-17 19:52:52 -06:00
Stephen Miller
12af813b7c
Implement posix_ftruncate
...
Implements posix_ftruncate and fixes errno behavior for sceKernelFtruncate
2025-02-17 19:47:45 -06:00
Stephen Miller
0032531856
Refactor fstat
...
Fixes errno behavior, implements fstat, and shifts exports around based on file position.
Might reorganize function locations later though.
2025-02-17 19:42:08 -06:00
Stephen Miller
7dd7ee4bfe
Slight clean up of sceKernelStat
...
Fixes error behavior and changes some of the old data types.
2025-02-17 19:34:30 -06:00
Stephen Miller
b5fa582573
Fix errno behavior on sceKernelRmdir
...
Also reduces function logging to bring it closer to the level of logging seen in other filesystem functions.
2025-02-17 19:28:18 -06:00
Stephen Miller
c83c2e73f5
Swap sceKernelMkdir and posix_mkdir
...
Fixes errno behavior on kernel calls, also fixed some incorrect error returns.
2025-02-17 19:15:39 -06:00
Stephen Miller
db695fe3a3
Implement read
...
Also fixes error behavior
2025-02-17 19:04:03 -06:00
Stephen Miller
5e04d7aa91
Update file_system.cpp
2025-02-17 19:01:18 -06:00
Stephen Miller
555dea92f4
Swap around sceKernelLseek and posix_lseek
...
This ensures that these have the correct error behavior, and makes their behavior align with the updated implementations for earlier functions.
2025-02-17 19:00:01 -06:00
Stephen Miller
ba75bc2274
More cleanup on older functions
2025-02-17 18:59:14 -06:00
Stephen Miller
dd027c6d36
Implement posix_writev and sceKernelWritev
...
Also fixes error behavior on writev, since it shouldn't ever return kernel errors (since our device files return those)
2025-02-17 18:35:54 -06:00
Stephen Miller
2920707702
Cleanup readv
2025-02-17 18:34:15 -06:00
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