PS5 graphics (#42)

This commit is contained in:
InoriRus
2022-08-16 13:38:38 +03:00
parent e110bd0f63
commit 90acd3d364
46 changed files with 12642 additions and 3962 deletions
@@ -20,6 +20,19 @@ constexpr int OK = 0;
return 0; \
}()
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define POSIX_N_CALL(func) \
[&]() \
{ \
auto result = func; \
if (result < 0) \
{ \
*Posix::GetErrorAddr() = LibKernel::KernelToPosix(static_cast<int>(result)); \
return static_cast<decltype(result)>(-1); \
} \
return result; \
}()
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define POSIX_PTHREAD_CALL(func) \
[&]() \
+4 -1
View File
@@ -35,10 +35,12 @@
using n::g_module_version_major; \
using n::g_module_version_minor;
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define LIB_LOAD(name) name(s)
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define LIB_CHECK(ids, name) \
if (id == (ids)) \
{ \
name(s); \
LIB_LOAD(name); \
return true; \
}
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
@@ -81,6 +83,7 @@ class SymbolDatabase;
namespace Libs {
bool Init(const String& id, Loader::SymbolDatabase* s);
void InitAll(Loader::SymbolDatabase* s);
} // namespace Libs
} // namespace Kyty