mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-21 02:45:00 +00:00
Added sysv_abi , now parameters in sceVideoOutOpen is correct
This commit is contained in:
parent
d8140ca016
commit
28aad0a5dc
7 changed files with 49 additions and 36 deletions
|
@ -631,15 +631,15 @@ void Linker::Resolve(const std::string& name, int Symtype, Module* m, SymbolReco
|
|||
|
||||
}
|
||||
|
||||
using exit_func_t = void (*)();
|
||||
using entry_func_t = void (*)(EntryParams* params, exit_func_t atexit_func);
|
||||
using exit_func_t = PS4_SYSV_ABI void (*)();
|
||||
using entry_func_t = PS4_SYSV_ABI void (*)(EntryParams* params, exit_func_t atexit_func);
|
||||
|
||||
static void ProgramExitFunc() {
|
||||
static PS4_SYSV_ABI void ProgramExitFunc() {
|
||||
|
||||
printf("exit function called\n");
|
||||
}
|
||||
|
||||
static void run_main_entry(u64 addr, EntryParams* params, exit_func_t exit_func) {
|
||||
static PS4_SYSV_ABI void run_main_entry(u64 addr, EntryParams* params, exit_func_t exit_func) {
|
||||
reinterpret_cast<entry_func_t>(addr)(params, exit_func);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue