[PR #3562] [MERGED] Implement getargc and getargv #3575

Closed
opened 2026-02-27 22:04:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3562
Author: @kalaposfos13
Created: 9/9/2025
Status: Merged
Merged: 9/9/2025
Merged by: @squidbus

Base: mainHead: argc-argv


📝 Commits (3)

  • 25518c6 Implement getargc and getargv
  • c72e69d update copyright year
  • a261b9d the loathsome clang-formatter

📊 Changes

4 files changed (+22 additions, -9 deletions)

View changed files

📝 src/core/libraries/kernel/kernel.cpp (+14 -1)
📝 src/core/libraries/kernel/kernel.h (+4 -1)
📝 src/core/linker.cpp (+3 -2)
📝 src/video_core/texture_cache/texture_cache.h (+1 -5)

📄 Description

These are two overall not very important functions I spotted in https://github.com/shadps4-compatibility/shadps4-game-compatibility/issues/1643. I made a very scientific test of loading up Driveclub with a CLI argument that had an easily verifiable result, and that is still working, so I believe that at the very least I didn't mess this up too much
The seemingly random removal of that namespace definition in the completely unrelated header is actually required as it somehow breaks compilation by trying to find Libraries::Kernel in Core::Libraries::Kernel which does not exist


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3562 **Author:** [@kalaposfos13](https://github.com/kalaposfos13) **Created:** 9/9/2025 **Status:** ✅ Merged **Merged:** 9/9/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `argc-argv` --- ### 📝 Commits (3) - [`25518c6`](https://github.com/shadps4-emu/shadPS4/commit/25518c6940ecff46d09d2a4cfbed2ecf89055872) Implement getargc and getargv - [`c72e69d`](https://github.com/shadps4-emu/shadPS4/commit/c72e69d85954434ee3c2a1f3f073cb7f0adb3dd1) update copyright year - [`a261b9d`](https://github.com/shadps4-emu/shadPS4/commit/a261b9d46de5fc9f6f82565d556be2aa25920710) the loathsome clang-formatter ### 📊 Changes **4 files changed** (+22 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/kernel.cpp` (+14 -1) 📝 `src/core/libraries/kernel/kernel.h` (+4 -1) 📝 `src/core/linker.cpp` (+3 -2) 📝 `src/video_core/texture_cache/texture_cache.h` (+1 -5) </details> ### 📄 Description These are two overall not very important functions I spotted in https://github.com/shadps4-compatibility/shadps4-game-compatibility/issues/1643. I made a very scientific test of loading up Driveclub with a CLI argument that had an easily verifiable result, and that is still working, so I believe that at the very least I didn't mess this up too much The seemingly random removal of that namespace definition in the completely unrelated header is actually required as it somehow breaks compilation by trying to find Libraries::Kernel in Core::Libraries::Kernel which does not exist --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3575
No description provided.