mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
22 lines
517 B
C++
22 lines
517 B
C++
#include "prx/libSceHttp/include/Http.hpp"
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/general/VabiMacros.hpp"
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
|
|
namespace {
|
|
|
|
void Require(bool value, const char* what) {
|
|
if (value) return;
|
|
std::fprintf(stderr, "%s\n", what);
|
|
std::abort();
|
|
}
|
|
|
|
} // namespace
|
|
|
|
int main() {
|
|
Require(sceHttpDbgSetPrintf() == 0, "sceHttpDbgSetPrintf did not answer success");
|
|
Require(sceHttpDbgSetPrintf() == 0, "sceHttpDbgSetPrintf did not repeat success");
|
|
return 0;
|
|
}
|