mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
Merge branch 'feat/amm-remap-protect' into feat/amm-prt
This commit is contained in:
@@ -114,7 +114,13 @@ std::int64_t APS5_VABI sceAmprAmmMeasureAmmCommandSizeModifyMtypeProtect(std::ui
|
||||
std::int64_t APS5_VABI sceAmprAmmMeasureAmmCommandSizeModifyMtypeProtectWithGpuMaskId(std::uint64_t, std::uint64_t, std::int32_t, std::int32_t, std::int32_t, std::uint8_t);
|
||||
}
|
||||
|
||||
static void Require(bool value) { if (!value) std::abort(); }
|
||||
static void RequireAt(bool value, int line) {
|
||||
if (value) return;
|
||||
std::fprintf(stderr, "GuestAmpr.cpp:%d: requirement failed\n", line);
|
||||
std::abort();
|
||||
}
|
||||
|
||||
#define Require(value) RequireAt((value), __LINE__)
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user