Implement getargc and getargv (#3562)

* Implement getargc and getargv

* update copyright year

* the loathsome clang-formatter
This commit is contained in:
kalaposfos13
2025-09-09 23:58:22 +02:00
committed by GitHub
parent c05695fde5
commit 4abc6b3010
4 changed files with 22 additions and 9 deletions

View File

@@ -1,10 +1,11 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-FileCopyrightText: Copyright 2025 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "common/types.h"
#include "core/libraries/kernel/orbis_error.h"
#include "core/linker.h"
namespace Core::Loader {
class SymbolsResolver;
@@ -17,6 +18,8 @@ s32 ErrnoToSceKernelError(s32 e);
void SetPosixErrno(s32 e);
s32* PS4_SYSV_ABI __Error();
extern Core::EntryParams entry_params;
template <class F, F f>
struct OrbisWrapperImpl;