modules: fix debug string linkage, add missing tracy module name for vshbridge

This commit is contained in:
KorewaWatchful
2026-05-09 16:53:53 -04:00
committed by Gamid
parent 66c21b65f7
commit a91cc994a9
3 changed files with 8 additions and 2 deletions
+1 -2
View File
@@ -30,8 +30,7 @@
#include <util/tracy.h>
TRACY_MODULE_NAME(SceSysmem);
template <>
std::string to_debug_str<SceKernelMemBlockType>(const MemState &mem, SceKernelMemBlockType type) {
std::string to_debug_str(const MemState &mem, SceKernelMemBlockType type) {
switch (type) {
case SCE_KERNEL_MEMBLOCK_TYPE_USER_RW_UNCACHE: return "SCE_KERNEL_MEMBLOCK_TYPE_USER_RW_UNCACHE";
case SCE_KERNEL_MEMBLOCK_TYPE_USER_RX: return "SCE_KERNEL_MEMBLOCK_TYPE_USER_RX";
@@ -21,6 +21,8 @@
#include "../SceDisplay/SceDisplay.h"
TRACY_MODULE_NAME(SceVshBridge);
EXPORT(int, _vshAppMgrAcInstGetAcdirParam) {
return UNIMPLEMENTED();
}
@@ -22,9 +22,14 @@
#include <map>
#include <memory>
#include <mutex>
#include <string>
struct MemState;
// Shared SysmemState definition used by SceSysmem and kubridge HLE.
std::string to_debug_str(const MemState &mem, SceKernelMemBlockType type);
struct KernelMemBlock : SceKernelMemBlockInfo {
char name[KERNELOBJECT_MAX_NAME_LENGTH + 1];
};