mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
replace ByteBuffer with std::vector
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "loader/symbolDatabase.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
namespace Libs {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "common/assert.h"
|
||||
#include "common/emulatorConfig.h"
|
||||
#include "graphics/guest_gpu/tile.h"
|
||||
#include "libs/agc.h"
|
||||
|
||||
@@ -22,10 +22,8 @@
|
||||
#endif
|
||||
|
||||
#include "common/assert.h"
|
||||
#include "common/byteBuffer.h"
|
||||
#include "common/common.h"
|
||||
#include "common/logging/log.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/threads.h"
|
||||
#include "kernel/pthread.h"
|
||||
#include "libs/errno.h"
|
||||
@@ -40,6 +38,7 @@
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include <limits>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
@@ -3460,7 +3459,7 @@ int KYTY_SYSV_ABI NpSetNpTitleId(const NpTitleId* title_id, const NpTitleSecret*
|
||||
|
||||
LOGF("\t title_id = %.12s\n"
|
||||
"\t title_secret = %s\n",
|
||||
title_id->id, Common::HexFromBin(Common::ByteBuffer(title_secret->data, 128)).c_str());
|
||||
title_id->id, fmt::format("{:02X}", fmt::join(title_secret->data, "")));
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user