mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
atan2f libc HLE
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
@@ -42,4 +43,6 @@ char* PS4_SYSV_ABI strncpy(char* dest, const char* src, size_t count) { return s
|
||||
|
||||
void* PS4_SYSV_ABI memmove(void* dest, const void* src, std::size_t count) { return std::memmove(dest, src, count); }
|
||||
|
||||
float PS4_SYSV_ABI atan2f(float y, float x) { return std::atan2f(y, x); }
|
||||
|
||||
}; // namespace Emulator::HLE::Libraries::LibC
|
||||
@@ -20,4 +20,6 @@ int PS4_SYSV_ABI strcmp(const char* str1, const char* str2);
|
||||
size_t PS4_SYSV_ABI strlen(const char* str);
|
||||
char* PS4_SYSV_ABI strncpy(char* dest, const char* src, size_t count);
|
||||
void* PS4_SYSV_ABI memmove(void* dest, const void* src, std::size_t count);
|
||||
float PS4_SYSV_ABI atan2f(float y, float x);
|
||||
|
||||
} // namespace Emulator::HLE::Libraries::LibC
|
||||
Reference in New Issue
Block a user