id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23,530 | camera.h | cemu-project_Cemu/src/Cafe/OS/libs/camera/camera.h | #pragma once
namespace camera
{
sint32 CAMOpen(sint32 camHandle);
sint32 CAMClose(sint32 camHandle);
void load();
}; | 122 | C++ | .h | 7 | 15.714286 | 35 | 0.79646 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,531 | swkbd.h | cemu-project_Cemu/src/Cafe/OS/libs/swkbd/swkbd.h | void swkbd_render(bool mainWindow);
bool swkbd_hasKeyboardInputHook();
void swkbd_keyInput(uint32 keyCode);
namespace swkbd
{
void load();
}
| 143 | C++ | .h | 7 | 19.142857 | 36 | 0.814815 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,532 | GX2_Command.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Command.h | #pragma once
#include "Cafe/HW/Latte/ISA/LatteReg.h"
#include "Cafe/HW/Espresso/Const.h"
struct GX2WriteGatherPipeState
{
uint8* gxRingBuffer;
// each core has it's own write gatherer and display list state (writing)
uint8* writeGatherPtrGxBuffer[Espresso::CORE_COUNT];
uint8** writeGatherPtrWrite[Espresso::CORE_CO... | 3,409 | C++ | .h | 85 | 38.376471 | 118 | 0.788392 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,533 | GX2_Streamout.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Streamout.h | #pragma once
#include "GX2_Resource.h"
#define GX2_MAX_STREAMOUT_BUFFERS 4
namespace GX2
{
struct GX2StreamOutBuffer
{
/* +0x00 */ uint32be size; // size of buffer (if dataPtr is not NULL)
/* +0x04 */ MEMPTR<void> dataPtr;
/* +0x08 */ uint32be vertexStride;
/* +0x0C */ GX2RBuffer rBuffer; // if dataPtr is N... | 626 | C++ | .h | 17 | 34.705882 | 92 | 0.742574 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,534 | GX2_Misc.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Misc.h | #pragma once
namespace GX2
{
extern uint32 sGX2MainCoreIndex;
enum class E_TVRES
{
TODO,
};
enum class E_TVBUFFERMODE
{
DOUBLE_BUFFER = 2,
};
void _GX2DriverReset();
void GX2SetTVBuffer(void* imageBuffePtr, uint32 imageBufferSize, E_TVRES tvResolutionMode, uint32 surfaceFormat, E_TVBUFFERMODE bufferMo... | 479 | C++ | .h | 18 | 24.388889 | 141 | 0.806593 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,535 | GX2_State.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_State.h | #pragma once
#include "Cafe/HW/Latte/ISA/LatteReg.h"
namespace GX2
{
struct GX2AlphaTestReg
{
betype<Latte::LATTE_SX_ALPHA_TEST_CONTROL> regAlphaTestControl;
betype<Latte::LATTE_SX_ALPHA_REF> regAlphaTestRef;
};
static_assert(sizeof(GX2AlphaTestReg) == 8);
struct GX2ColorControlReg
{
betype<Latte::LATTE_... | 7,602 | C++ | .h | 150 | 48.086667 | 299 | 0.805507 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,536 | GX2_Memory.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Memory.h | #pragma once
namespace GX2
{
void GX2MEMAllocatorsInit();
void GX2MemInit();
}; | 83 | C++ | .h | 6 | 12.333333 | 29 | 0.789474 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,537 | GX2_Shader.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Shader.h | #pragma once
#include "Cafe/HW/Latte/ISA/LatteReg.h"
#include "GX2_Streamout.h"
struct GX2FetchShader
{
enum class FetchShaderType : uint32
{
NO_TESSELATION = 0,
};
/* +0x00 */ betype<FetchShaderType> fetchShaderType;
/* +0x04 */ betype<Latte::LATTE_SQ_PGM_RESOURCES_FS> reg_SQ_PGM_RESOURCES_FS;
/* +0x08 */ ui... | 5,236 | C++ | .h | 175 | 27.685714 | 114 | 0.69623 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,538 | GX2_Draw.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Draw.h | #pragma once
#include "Cafe/HW/Latte/ISA/LatteReg.h"
namespace GX2
{
using GX2IndexType = Latte::LATTE_VGT_DMA_INDEX_TYPE::E_INDEX_TYPE;
using GX2PrimitiveMode2 = Latte::LATTE_VGT_PRIMITIVE_TYPE::E_PRIMITIVE_TYPE;
void GX2SetAttribBuffer(uint32 bufferIndex, uint32 sizeInBytes, uint32 stride, void* data);
void GX2... | 486 | C++ | .h | 10 | 46.9 | 151 | 0.814346 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,539 | GX2_Event.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Event.h | #pragma once
namespace GX2
{
void GX2Init_event();
void GX2EventResetToDefaultState();
void GX2EventInit();
void GX2WaitForVsync();
void GX2WaitForFlip();
void GX2DrawDone();
enum class GX2CallbackEventType
{
TIMESTAMP_TOP = 0,
TIMESTAMP_BOTTOM = 1,
VSYNC = 2,
FLIP = 3,
// 4 is buffer overrun?
};
... | 528 | C++ | .h | 22 | 21.772727 | 57 | 0.778884 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,540 | GX2.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2.h | #pragma once
#include "Cafe/HW/Latte/Core/LatteConst.h"
// base defines for GX2
#define GX2_TRUE 1
#define GX2_FALSE 0
#define GX2_ENABLE 1
#define GX2_DISABLE 0
#include "GX2_Surface.h"
// general
void gx2_load();
// shader
void gx2Export_GX2SetPixelShader(PPCInterpreter_t* hCPU);
void gx2Export_GX2SetGeometrySh... | 2,515 | C++ | .h | 55 | 44.363636 | 81 | 0.843852 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,541 | GX2_Resource.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Resource.h | #pragma once
// basic resource flags
#define GX2_RESFLAG_USAGE_TEXTURE (1<<0)
#define GX2_RESFLAG_USAGE_COLOR_BUFFER (1<<1)
#define GX2_RESFLAG_USAGE_DEPTH_BUFFER (1<<2)
#define GX2_RESFLAG_USAGE_SCAN_BUFFER (1<<3)
// extended resource flags used by GX2R API
#define GX2R_RESFLAG_USAGE_VERTEX_BUFFER (1<... | 1,690 | C++ | .h | 51 | 31.490196 | 61 | 0.704364 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,542 | GX2_Query.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Query.h | #pragma once
#define GX2_QUERY_TYPE_OCCLUSION_CPU 0
#define GX2_QUERY_TYPE_OCCLUSION_GPU 2
// 1 and 3 are streamout related?
namespace GX2
{
void GX2QueryInit();
}; | 171 | C++ | .h | 8 | 20.125 | 40 | 0.765432 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,543 | GX2_Texture.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Texture.h | #pragma once
#include "Cafe/HW/Latte/ISA/LatteReg.h"
#include "GX2_Surface.h"
namespace GX2
{
struct GX2Texture
{
/* +0x00 */ GX2Surface surface;
/* +0x74 */ uint32be viewFirstMip;
/* +0x78 */ uint32be viewNumMips;
/* +0x7C */ uint32be viewFirstSlice;
/* +0x80 */ uint32be viewNumSlices;
/* +0x84 */ uint3... | 1,111 | C++ | .h | 31 | 33.387097 | 71 | 0.72 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,544 | GX2_Surface.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Surface.h | #pragma once
#include "Cafe/HW/Latte/ISA/LatteReg.h"
#include "Cafe/HW/Latte/LatteAddrLib/LatteAddrLib.h"
// todo - move into GX2 namespace
struct GX2Surface
{
/* +0x000 */ betype<Latte::E_DIM> dim;
/* +0x004 */ uint32be width;
/* +0x008 */ uint32be height;
/* +0x00C */ uint32be depth;
/* +0x010 */ uint32be numL... | 2,564 | C++ | .h | 70 | 34.785714 | 113 | 0.689891 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,545 | GX2_Blit.h | cemu-project_Cemu/src/Cafe/OS/libs/gx2/GX2_Blit.h | #pragma once
namespace GX2
{
enum class GX2ClearFlags : uint32
{
CLEAR_DEPTH = 0x01, // clear depth to given clear value
CLEAR_STENCIL = 0x02, // clear stencil to given stencil clear value
SET_DEPTH_REG = 0x04, //
SET_STENCIL_REG = 0x08,
};
void GX2BlitInit();
}
ENABLE_BITMASK_OPERATORS(GX2::GX2ClearFlag... | 323 | C++ | .h | 13 | 22.769231 | 69 | 0.737864 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,546 | nn_spm.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_spm/nn_spm.h | #pragma once
namespace nn
{
namespace spm
{
void load();
}
} | 66 | C++ | .h | 8 | 6.625 | 14 | 0.706897 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,547 | proc_ui.h | cemu-project_Cemu/src/Cafe/OS/libs/proc_ui/proc_ui.h |
namespace proc_ui
{
enum class ProcUIStatus
{
Foreground = 0,
Background = 1,
Releasing = 2,
Exit = 3
};
enum class ProcUICallbackId
{
AcquireForeground = 0,
ReleaseForeground = 1,
Exit = 2,
NetIoStart = 3,
NetIoStop = 4,
HomeButtonDenied = 5,
COUNT = 6
};
void ProcUIInit(MEMPTR<void> ca... | 1,411 | C++ | .h | 40 | 33 | 131 | 0.812865 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,548 | nn_olv_OfflineDB.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv_OfflineDB.h | #pragma once
#include "Cafe/OS/libs/nn_common.h"
#include "nn_olv_Common.h"
namespace nn
{
namespace olv
{
void OfflineDB_Init();
void OfflineDB_Shutdown();
nnResult OfflineDB_DownloadPostDataListParam_DownloadPostDataList(DownloadedTopicData* downloadedTopicData, DownloadedPostData* downloadedPostData, uint3... | 557 | C++ | .h | 13 | 40.846154 | 225 | 0.837638 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,549 | nn_olv_DownloadCommunityTypes.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv_DownloadCommunityTypes.h | #pragma once
#include "Cemu/ncrypto/ncrypto.h"
#include "config/ActiveSettings.h"
#include "Cafe/OS/libs/nn_olv/nn_olv_Common.h"
namespace nn
{
namespace olv
{
class DownloadedCommunityData
{
public:
static const inline uint32 FLAG_HAS_TITLE_TEXT = (1 << 0);
static const inline uint32 ... | 17,400 | C++ | .h | 447 | 32.736018 | 208 | 0.696818 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,550 | nn_olv_InitializeTypes.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv_InitializeTypes.h | #pragma once
#include "Cemu/ncrypto/ncrypto.h"
#include "config/ActiveSettings.h"
#include "Cafe/OS/libs/nn_olv/nn_olv_Common.h"
#include "Cafe/OS/libs/coreinit/coreinit_MCP.h"
namespace nn
{
namespace olv
{
class InitializeParam
{
public:
static const inline uint32 FLAG_OFFLINE_MODE = ... | 3,940 | C++ | .h | 108 | 31.138889 | 139 | 0.704456 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,551 | nn_olv.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv.h | #pragma once
#include "Cafe/OS/common/OSCommon.h"
#include "Cafe/OS/libs/nn_common.h"
#include "Cafe/OS/libs/nn_act/nn_act.h"
#include "Cafe/CafeSystem.h"
#include "Cemu/napi/napi.h"
#include "nn_olv_Common.h"
namespace nn
{
namespace olv
{
extern ParamPackStorage g_ParamPack;
extern DiscoveryResultStorage g_... | 421 | C++ | .h | 18 | 21.388889 | 51 | 0.768844 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,552 | nn_olv_Common.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv_Common.h | #pragma once
#include "Cafe/OS/libs/nn_common.h"
#include "Cafe/OS/common/OSCommon.h"
#include "Cemu/napi/napi_helper.h"
#include "util/helpers/StringHelpers.h"
#include "pugixml.hpp"
// https://github.com/kinnay/NintendoClients/wiki/Wii-U-Error-Codes#act-error-codes
#define OLV_ACT_RESULT_STATUS(code) (BUIL... | 6,887 | C++ | .h | 182 | 33.159341 | 118 | 0.704022 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,553 | nn_olv_UploadFavoriteTypes.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv_UploadFavoriteTypes.h | #pragma once
#include "Cemu/ncrypto/ncrypto.h"
#include "config/ActiveSettings.h"
#include "Cafe/OS/libs/nn_olv/nn_olv_Common.h"
namespace nn
{
namespace olv
{
class UploadedFavoriteToCommunityData
{
public:
static const inline uint32 FLAG_HAS_TITLE_TEXT = (1 << 0);
static const inline u... | 11,613 | C++ | .h | 288 | 34.378472 | 182 | 0.721543 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,554 | nn_olv_UploadCommunityTypes.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv_UploadCommunityTypes.h | #pragma once
#include "Cemu/ncrypto/ncrypto.h"
#include "config/ActiveSettings.h"
#include "Cafe/OS/libs/nn_olv/nn_olv_Common.h"
namespace nn
{
namespace olv
{
class UploadedCommunityData
{
public:
static const inline uint32 FLAG_HAS_TITLE_TEXT = (1 << 0);
static const inline uint32 FLAG... | 13,894 | C++ | .h | 372 | 31.263441 | 166 | 0.694187 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,555 | nn_olv_PostTypes.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_olv/nn_olv_PostTypes.h | #pragma once
#include <zlib.h>
#include "nn_olv_Common.h"
namespace nn
{
namespace olv
{
struct DownloadedDataBase
{
enum class FLAGS : uint32
{
HAS_BODY_TEXT = 0x01,
HAS_BODY_MEMO = 0x02,
HAS_EXTERNAL_IMAGE = 0x04,
HAS_EXTERNAL_BINARY_DATA = 0x08,
HAS_MII_DATA = 0x10,
HAS_EXTERNAL_... | 19,189 | C++ | .h | 542 | 30.690037 | 139 | 0.73896 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,556 | vpad.h | cemu-project_Cemu/src/Cafe/OS/libs/vpad/vpad.h | #pragma once
#include "Cafe/OS/libs/padscore/padscore.h"
namespace vpad
{
void load();
void start();
}
#define VPAD_MAX_CONTROLLERS (2)
struct BtnRepeat
{
sint32 delay, pulse;
};
enum VPADTouchValidity
{
kTpValid = 0,
kTpInvalidX = 1, // only x invalid
kTpInvalidY = 2, // only y invalid
kTpInvalid = kTpInva... | 1,702 | C++ | .h | 72 | 21.805556 | 68 | 0.684406 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,557 | nsysnet.h | cemu-project_Cemu/src/Cafe/OS/libs/nsysnet/nsysnet.h | #pragma once
#include <set>
#include <vector>
#if BOOST_OS_WINDOWS
#include <WinSock2.h>
#else
#include <sys/socket.h>
#define SOCKET int
#define closesocket close
#endif
typedef signed int WUSOCKET;
void nsysnet_load();
WUSOCKET nsysnet_createVirtualSocketFromExistingSocket(SOCKET existingSocket);
void nsysnet_noti... | 1,031 | C++ | .h | 37 | 26.135135 | 79 | 0.804878 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,558 | nn_save.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_save/nn_save.h | #pragma once
namespace nn
{
namespace save
{
void load();
void ResetToDefaultState();
bool GetPersistentIdEx(uint8 accountSlot, uint32* persistentId);
}
}
| 163 | C++ | .h | 10 | 14.5 | 65 | 0.794702 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,559 | nn_acp.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_acp/nn_acp.h | #pragma once
#include "Cafe/IOSU/legacy/iosu_acp.h"
namespace nn
{
namespace acp
{
enum ACPStatus : uint32
{
SUCCESS = 0,
};
using ACPDeviceType = iosu::acp::ACPDeviceType;
ACPStatus ACPGetApplicationBox(uint32be* applicationBox, uint64 titleId);
ACPStatus ACPMountSaveDir();
ACPStatus ACPUnmountSaveDir()... | 531 | C++ | .h | 19 | 25.947368 | 108 | 0.80315 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,560 | nn_pdm.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_pdm/nn_pdm.h | namespace nn
{
namespace pdm
{
void Initialize();
};
}; | 60 | C++ | .h | 7 | 7 | 20 | 0.685185 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,561 | coreinit_OSScreen_font.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_OSScreen_font.h |
// font 'More Perfect DOS VGA' 20pts
const uint8 osscreenBitmapFont[] =
{
// @0 '!' (14 pixels wide)
0x00, 0x00, //
0x00, 0x00, //
0x00, 0x00, //
0x07, 0x00, // ###
0x07, 0x00, // ###
0x1F, 0xC0, // #######
0x1F, 0xC0, // #######
0x1F, 0x... | 73,468 | C++ | .h | 2,448 | 20.606618 | 36 | 0.287581 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,562 | coreinit_Time.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Time.h | #pragma once
#include "Cafe/HW/Espresso/Const.h"
namespace coreinit
{
typedef struct
{
/* +0x00 */ sint32be second; // 0-59
/* +0x04 */ sint32be minute; // 0-59
/* +0x08 */ sint32be hour; // 0-23
/* +0x0C */ sint32be dayOfMonth; // 1-31
/* +0x10 */ sint32be month; // 0-11
/* +0x14 */ sint32be ... | 1,401 | C++ | .h | 52 | 24.096154 | 76 | 0.691099 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,563 | coreinit_MEM_BlockHeap.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MEM_BlockHeap.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_MEM.h"
namespace coreinit
{
struct MEMBlockHeapTrack2_t
{
/* +0x00 */ MEMPTR<void> addrStart;
/* +0x04 */ MEMPTR<void> addrEnd;
/* +0x08 */ uint32be isFree; // if 0 -> block is used
/* +0x0C */ MEMPTR<void> previousBlock;
/* +0x10 */ MEMPTR<void> nextBl... | 1,080 | C++ | .h | 29 | 34.827586 | 156 | 0.724665 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,564 | coreinit_IPCBuf.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_IPCBuf.h | #pragma once
namespace coreinit
{
struct FIFOEntry_t
{
MEMPTR<uint8> p;
};
struct IPCFifo_t
{
uint32be writeIndex;
uint32be readIndex;
uint32be availableEntries; // number of available entries
uint32be entryCount;
MEMPTR<FIFOEntry_t> entryArray;
};
struct IPCBufPool_t
{
/* +0x00 */ uint32be mag... | 1,254 | C++ | .h | 38 | 30.421053 | 130 | 0.719835 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,565 | coreinit_MEM.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MEM.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_Spinlock.h"
struct MEMLink_t
{
MPTR prevObject;
MPTR nextObject;
};
static_assert(sizeof(MEMLink_t) == 8);
struct MEMList_t
{
MPTR headObject;
MPTR tailObject;
uint16 numObjects;
uint16 offset;
};
static_assert(sizeof(MEMList_t) == 0xC);
struct MEMAlloc... | 4,600 | C++ | .h | 142 | 29.992958 | 117 | 0.750962 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,566 | coreinit_Alarm.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Alarm.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_Thread.h"
namespace coreinit
{
class OSHostAlarm;
OSHostAlarm* OSHostAlarmCreate(uint64 nextFire, uint64 period, void(*callbackFunc)(uint64 currentTick, void* context), void* context);
void OSHostAlarmDestroy(OSHostAlarm* hostAlarm);
struct OSAlarm_t
{
/* +... | 1,551 | C++ | .h | 44 | 32.590909 | 135 | 0.671114 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,567 | coreinit_Coroutine.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Coroutine.h | #pragma once
namespace coreinit
{
struct OSCoroutine
{
/* +0x00 */ uint32 lr;
/* +0x04 */ uint32 cr;
/* +0x08 */ uint32 gqr1;
/* +0x0C */ uint32 r1; // stack pointer
/* +0x10 */ uint32 r2;
/* +0x14 */ uint32 r13;
/* +0x18 */ uint32 gpr[18];
uint64 fpr[18];
uint64 psr[18];
};
static_assert(sizeo... | 378 | C++ | .h | 18 | 18.555556 | 45 | 0.630252 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,568 | coreinit_MPQueue.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MPQueue.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit.h"
#include "Cafe/OS/libs/coreinit/coreinit_Spinlock.h"
namespace coreinit
{
enum MPTaskState
{
MP_TASK_STATE_INIT = (1 << 0),
MP_TASK_STATE_READY = (1 << 1),
MP_TASK_STATE_RUN = (1 << 2),
MP_TASK_STATE_DONE = (1 << 3)
};
enum MPTaskQState
{
MP_TAS... | 2,943 | C++ | .h | 93 | 29.129032 | 79 | 0.697248 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,569 | coreinit_MEM_ExpHeap.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MEM_ExpHeap.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_Spinlock.h"
#include "Cafe/OS/libs/coreinit/coreinit_MEM.h"
namespace coreinit
{
void expheap_load();
#define MEM_EXPHEAP_ALLOC_MODE_FIRST (0)
#define MEM_EXPHEAP_ALLOC_MODE_NEAR (1)
#define MEM_EXPHEAP_USE_ALIGN_MARGIN (2)
enum class MEMExpHeapAllocDirection... | 1,440 | C++ | .h | 42 | 31.952381 | 133 | 0.747839 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,570 | coreinit_Thread.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Thread.h | #pragma once
#include "Cafe/HW/Espresso/Const.h"
#include "Cafe/OS/libs/coreinit/coreinit_Scheduler.h"
struct OSThread_t;
struct OSContextRegFPSCR_t
{
// FPSCR is a 32bit register but it's stored as a 64bit double
/* +0x00 */ uint32be padding;
/* +0x04 */ uint32be fpscr;
};
struct OSContext_t
{
static constexpr ... | 19,172 | C++ | .h | 510 | 34.843137 | 214 | 0.711189 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,571 | coreinit_GHS.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_GHS.h | #pragma once
namespace coreinit
{
void PrepareGHSRuntime();
void InitializeGHS();
}; | 88 | C++ | .h | 6 | 13.166667 | 26 | 0.802469 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,572 | coreinit_MEM_FrmHeap.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MEM_FrmHeap.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_MEM.h"
namespace coreinit
{
struct MEMFrmHeapRecordedState
{
uint32be id;
MEMPTR<void> allocationHead;
MEMPTR<void> allocationTail;
MEMPTR<MEMFrmHeapRecordedState> prevRecordedState;
};
static_assert(sizeof(MEMFrmHeapRecordedState) == 0x10);
struct ME... | 1,091 | C++ | .h | 35 | 28.828571 | 81 | 0.75452 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,573 | coreinit_DynLoad.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_DynLoad.h | #pragma once
namespace coreinit
{
enum class RplEntryReason
{
Loaded = 1,
Unloaded = 2,
};
uint32 OSDynLoad_SetAllocator(MPTR allocFunc, MPTR freeFunc);
void OSDynLoad_SetTLSAllocator(MPTR allocFunc, MPTR freeFunc);
uint32 OSDynLoad_GetAllocator(betype<MPTR>* funcAlloc, betype<MPTR>* funcFree);
void OSDynL... | 761 | C++ | .h | 19 | 37.947368 | 112 | 0.807588 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,574 | coreinit_Scheduler.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Scheduler.h | #pragma once
void __OSLockScheduler(void* obj = nullptr);
bool __OSHasSchedulerLock();
bool __OSTryLockScheduler(void* obj = nullptr);
void __OSUnlockScheduler(void* obj = nullptr);
namespace coreinit
{
uint32 OSIsInterruptEnabled();
uint32 OSDisableInterrupts();
uint32 OSRestoreInterrupts(uint32 interruptMask);
... | 384 | C++ | .h | 13 | 28 | 50 | 0.810298 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,575 | coreinit_IOS.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_IOS.h | // IOS
typedef struct _ioBufferVector_t ioBufferVector_t;
sint32 __depr__IOS_Open(char* path, uint32 mode);
sint32 __depr__IOS_Ioctl(uint32 fd, uint32 request, void* inBuffer, uint32 inSize, void* outBuffer, uint32 outSize);
sint32 __depr__IOS_Ioctlv(uint32 fd, uint32 request, uint32 countIn, uint32 countOut, ioBuffer... | 417 | C++ | .h | 7 | 58.428571 | 121 | 0.775061 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,576 | coreinit_Spinlock.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Spinlock.h | #pragma once
namespace coreinit
{
struct OSSpinLock
{
/* +0x00 */ MEMPTR<struct OSThread_t> ownerThread;
/* +0x04 */ MEMPTR<void> userData;
/* +0x08 */ uint32be count;
/* +0x0C */ uint32be interruptMask;
};
static_assert(sizeof(OSSpinLock) == 0x10);
void InitializeSpinlock();
void OSInitSpinLock(OSSpi... | 847 | C++ | .h | 22 | 36.272727 | 92 | 0.810976 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,577 | coreinit_FS.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_FS.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_Thread.h"
#include "Cafe/IOSU/iosu_ipc_common.h"
#include "Cafe/IOSU/fsa/fsa_types.h"
#include "Cafe/IOSU/fsa/iosu_fsa.h"
#include "coreinit_MessageQueue.h"
typedef MEMPTR<betype<FSFileHandle2>> FSFileHandlePtr;
typedef MEMPTR<betype<FSDirHandle2>> FSDirHandlePtr;
... | 12,188 | C++ | .h | 263 | 43.395437 | 214 | 0.774272 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,578 | coreinit_MEM_UnitHeap.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MEM_UnitHeap.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_MEM.h"
namespace coreinit
{
struct MEMUnitHeapBlock
{
MEMPTR<MEMUnitHeapBlock> nextBlock;
};
static_assert(sizeof(MEMUnitHeapBlock) == 4);
struct MEMUnitHeap : public MEMHeapBase
{
/* +0x34 */ uint32 padding034;
/* +0x38 */ uint32 padding038;
/* +0x3... | 660 | C++ | .h | 21 | 29.238095 | 126 | 0.764151 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,579 | coreinit_Misc.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Misc.h | #pragma once
namespace coreinit
{
uint32 OSGetUPID();
uint32 OSGetPFID();
uint64 OSGetTitleID();
uint32 __OSGetProcessSDKVersion();
uint32 OSLaunchTitleByPathl(const char* path, uint32 pathLength, uint32 argc);
uint32 OSRestartGame(uint32 argc, MEMPTR<char>* argv);
void OSReleaseForeground();
void StartBackg... | 1,062 | C++ | .h | 35 | 27.971429 | 174 | 0.787046 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,580 | coreinit_IPC.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_IPC.h | #include "Cafe/IOSU/iosu_ipc_common.h"
#include "Cafe/IOSU/iosu_types_common.h"
namespace coreinit
{
void IPCDriver_NotifyResponses(uint32 ppcCoreIndex, IPCCommandBody** responseArray, uint32 numResponses);
IOSDevHandle IOS_Open(const char* devicePath, uint32 flags);
IOS_ERROR IOS_Close(IOSDevHandle devHandle);
I... | 958 | C++ | .h | 13 | 71.923077 | 191 | 0.815483 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,581 | coreinit_FG.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_FG.h | #pragma once
namespace coreinit
{
void __OSClearCopyData();
uint32 __OSGetCopyDataSize();
uint8* __OSGetCopyDataPtr();
bool __OSAppendCopyData(uint8* data, sint32 length);
bool __OSResizeCopyData(sint32 length);
bool OSGetForegroundBucket(MEMPTR<void>* offset, uint32be* size);
bool OSGetForegroundBucketFreeAre... | 416 | C++ | .h | 13 | 30.076923 | 74 | 0.7925 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,582 | coreinit_SysHeap.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_SysHeap.h | #pragma once
namespace coreinit
{
void InitSysHeap();
void* OSAllocFromSystem(uint32 size, uint32 alignment);
void OSFreeToSystem(void* ptr);
void InitializeSysHeap();
} | 176 | C++ | .h | 8 | 20.25 | 56 | 0.807229 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,583 | coreinit_Atomic.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Atomic.h | #pragma once
#include <atomic>
namespace coreinit
{
uint32 OSSwapAtomic(std::atomic<uint32be>* mem, uint32 newValue);
bool OSCompareAndSwapAtomic(std::atomic<uint32be>* mem, uint32 compareValue, uint32 swapValue);
bool OSCompareAndSwapAtomicEx(std::atomic<uint32be>* mem, uint32 compareValue, uint32 swapValue, uint3... | 1,037 | C++ | .h | 18 | 55.722222 | 125 | 0.804134 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,584 | coreinit_MCP.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MCP.h | #pragma once
struct SysProdSettings
{
uint8 ukn00; // 0x00
uint8 ukn01; // 0x01
uint8 ukn02; // 0x02
uint8 platformRegion; // 0x03
uint8 ukn04;
uint8 ukn05;
uint8 ukn06;
uint8 ukn07;
uint8 prevBlock;
uint8 ukn09;
uint8 ukn0A;
uint8 gameRegion; // game region?
uint8 nextBlock;
uint8 ukn0D;
uint8 u... | 961 | C++ | .h | 48 | 18.1875 | 85 | 0.767621 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,585 | coreinit_SystemInfo.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_SystemInfo.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit.h"
namespace coreinit
{
struct OSSystemInfo
{
uint32be busClock;
uint32be coreClock;
uint64be ticksSince2000;
uint32be l2cacheSize[PPC_CORE_COUNT];
uint32be coreClockToBusClockRatio;
};
static_assert(sizeof(OSSystemInfo) == 0x20);
const OSSystemInf... | 379 | C++ | .h | 16 | 21.25 | 45 | 0.80618 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,586 | coreinit.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit.h | #pragma once
#include "Cafe/HW/Espresso/Const.h"
#define PPC_CORE_COUNT (Espresso::CORE_COUNT)
#include "Cafe/OS/libs/coreinit/coreinit_MessageQueue.h"
// async callback helper
void InitializeAsyncCallback();
void coreinitAsyncCallback_add(MPTR functionMPTR, uint32 numParameters, uint32 r3 = 0, uint32 r4 = 0, u... | 1,288 | C++ | .h | 33 | 37.393939 | 201 | 0.776527 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,587 | coreinit_Memory.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_Memory.h | #pragma once
namespace coreinit
{
void InitializeMemory();
void OSGetMemBound(sint32 memType, MEMPTR<void>* offsetOutput, uint32be* sizeOutput);
void* OSBlockMove(MEMPTR<void> dst, MEMPTR<void> src, uint32 size, bool flushDC);
void* OSBlockSet(MEMPTR<void> dst, uint32 value, uint32 size);
void OSMemoryBarrier(... | 324 | C++ | .h | 9 | 34.111111 | 86 | 0.788462 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,588 | coreinit_MessageQueue.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_MessageQueue.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_Thread.h"
namespace coreinit
{
enum class SysMessageId : uint32
{
MsgAcquireForeground = 0xFACEF000,
MsgReleaseForeground = 0xFACEBACC,
MsgExit = 0xD1E0D1E0,
HomeButtonDenied = 0xCCC0FFEE,
NetIoStartOrStop = 0xAAC0FFEE,
};
struct OSMessage
{
uint3... | 1,483 | C++ | .h | 43 | 32.023256 | 107 | 0.75157 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,589 | coreinit_CodeGen.h | cemu-project_Cemu/src/Cafe/OS/libs/coreinit/coreinit_CodeGen.h | #pragma once
namespace coreinit
{
void OSGetCodegenVirtAddrRangeInternal(uint32& rangeStart, uint32& rangeSize);
void codeGenHandleICBI(uint32 ea);
bool codeGenShouldAvoid();
void InitializeCodeGen();
} | 208 | C++ | .h | 8 | 24.375 | 79 | 0.839196 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,590 | nlibcurlDebug.hpp | cemu-project_Cemu/src/Cafe/OS/libs/nlibcurl/nlibcurlDebug.hpp |
uint32 _curlDebugSessionId = 0;
// begin a new request if one is not already active
void curlDebug_markActiveRequest(CURL_t* curl)
{
if (!ActiveSettings::DumpLibcurlRequestsEnabled())
return;
if (curl->debug.activeRequestIndex != 0)
return; // already tracking request
if (_curlDebugSessionId == 0)
{
_curl... | 4,382 | C++ | .h | 126 | 32.52381 | 202 | 0.751943 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,591 | mic.h | cemu-project_Cemu/src/Cafe/OS/libs/mic/mic.h | bool mic_isActive(uint32 drcIndex);
void mic_updateOnAXFrame();
namespace mic
{
void Initialize();
}; | 103 | C++ | .h | 6 | 16 | 35 | 0.793814 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,592 | nn_fp.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_fp/nn_fp.h | #pragma once
namespace nn
{
namespace fp
{
void load();
}
} | 64 | C++ | .h | 8 | 6.5 | 14 | 0.701754 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,593 | snd_user.h | cemu-project_Cemu/src/Cafe/OS/libs/snd_user/snd_user.h | #pragma once
#include "Cafe/OS/libs/snd_core/ax.h"
namespace snd
{
namespace user
{
struct MixControl;
void MIXInit();
void MIXInitInputControl(snd_core::AXVPB* voice, uint16 input, uint32 mode);
void MIXInitDeviceControl(snd_core::AXVPB* voice, uint32 device_type, uint32 index, MixControl* control, uint32... | 874 | C++ | .h | 21 | 39 | 151 | 0.772674 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,594 | ntag.h | cemu-project_Cemu/src/Cafe/OS/libs/ntag/ntag.h | #pragma once
#include "Cafe/OS/libs/nfc/nfc.h"
#define NTAG_RESULT_SUCCESS (0)
#define NTAG_RESULT_UNINITIALIZED (-0x3E7)
#define NTAG_RESULT_INVALID_STATE (-0x3E6)
#define NTAG_RESULT_NO_TAG (-0x3E5)
#define NTAG_RESULT_INVALID (-0x3E1)
#define NTAG_RESULT_UID_MISMATCH (-0x3DB)
namespace ntag
{
struct NTAGFormat... | 2,609 | C++ | .h | 82 | 29.341463 | 125 | 0.702951 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,595 | Whitelist.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/Whitelist.h | #ifndef CEMU_NSYSHID_WHITELIST_H
#define CEMU_NSYSHID_WHITELIST_H
namespace nsyshid
{
class Whitelist {
public:
static Whitelist& GetInstance();
Whitelist(const Whitelist&) = delete;
Whitelist& operator=(const Whitelist&) = delete;
bool IsDeviceWhitelisted(uint16 vendorId, uint16 productId);
void Add... | 671 | C++ | .h | 21 | 29 | 62 | 0.763693 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,596 | Backend.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/Backend.h | #ifndef CEMU_NSYSHID_BACKEND_H
#define CEMU_NSYSHID_BACKEND_H
#include <list>
#include <memory>
#include <mutex>
#include "Common/precompiled.h"
namespace nsyshid
{
typedef struct
{
/* +0x00 */ uint32be handle;
/* +0x04 */ uint32 ukn04;
/* +0x08 */ uint16 vendorId; // little-endian ?
/* +0x0A */ uint16 pr... | 4,408 | C++ | .h | 144 | 27.118056 | 105 | 0.729364 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,597 | Dimensions.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/Dimensions.h | #include <mutex>
#include "nsyshid.h"
#include "Backend.h"
#include "Common/FileStream.h"
namespace nsyshid
{
class DimensionsToypadDevice final : public Device
{
public:
DimensionsToypadDevice();
~DimensionsToypadDevice() = default;
bool Open() override;
void Close() override;
bool IsOpened() over... | 3,423 | C++ | .h | 86 | 35.918605 | 121 | 0.725271 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,598 | BackendLibusb.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/BackendLibusb.h | #ifndef CEMU_NSYSHID_BACKEND_LIBUSB_H
#define CEMU_NSYSHID_BACKEND_LIBUSB_H
#include "nsyshid.h"
#if NSYSHID_ENABLE_BACKEND_LIBUSB
#include <libusb-1.0/libusb.h>
#include "Backend.h"
namespace nsyshid::backend::libusb
{
class BackendLibusb : public nsyshid::Backend {
public:
BackendLibusb();
~BackendLibusb... | 3,597 | C++ | .h | 100 | 31.57 | 88 | 0.756436 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,599 | BackendEmulated.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/BackendEmulated.h | #include "nsyshid.h"
#include "Backend.h"
namespace nsyshid::backend::emulated
{
class BackendEmulated : public nsyshid::Backend {
public:
BackendEmulated();
~BackendEmulated();
bool IsInitialisedOk() override;
protected:
void AttachVisibleDevices() override;
};
} // namespace nsyshid::backend::emula... | 324 | C++ | .h | 13 | 22.461538 | 50 | 0.766234 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,600 | Skylander.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/Skylander.h | #pragma once
#include <mutex>
#include "nsyshid.h"
#include "Backend.h"
#include "Common/FileStream.h"
namespace nsyshid
{
class SkylanderPortalDevice final : public Device {
public:
SkylanderPortalDevice();
~SkylanderPortalDevice() = default;
bool Open() override;
void Close() override;
bool IsOpe... | 2,552 | C++ | .h | 82 | 27.463415 | 96 | 0.729984 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,601 | Infinity.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/Infinity.h | #pragma once
#include <mutex>
#include "nsyshid.h"
#include "Backend.h"
#include "Common/FileStream.h"
namespace nsyshid
{
class InfinityBaseDevice final : public Device {
public:
InfinityBaseDevice();
~InfinityBaseDevice() = default;
bool Open() override;
void Close() override;
bool IsOpened() ove... | 3,182 | C++ | .h | 83 | 34.481928 | 91 | 0.746914 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,602 | nsyshid.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/nsyshid.h | #pragma once
namespace nsyshid
{
class Backend;
void AttachBackend(const std::shared_ptr<Backend>& backend);
void DetachBackend(const std::shared_ptr<Backend>& backend);
void load();
} // namespace nsyshid
| 214 | C++ | .h | 8 | 24.75 | 61 | 0.782178 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,603 | BackendWindowsHID.h | cemu-project_Cemu/src/Cafe/OS/libs/nsyshid/BackendWindowsHID.h | #ifndef CEMU_NSYSHID_BACKEND_WINDOWS_HID_H
#define CEMU_NSYSHID_BACKEND_WINDOWS_HID_H
#include "nsyshid.h"
#if NSYSHID_ENABLE_BACKEND_WINDOWS_HID
#include "Backend.h"
namespace nsyshid::backend::windows
{
class BackendWindowsHID : public nsyshid::Backend {
public:
BackendWindowsHID();
~BackendWindowsHID();... | 1,492 | C++ | .h | 43 | 31.069767 | 114 | 0.769285 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,604 | nn_nfp.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_nfp/nn_nfp.h | #pragma once
namespace nn::nfp
{
uint32 NFCGetTagInfo(uint32 index, uint32 timeout, MPTR functionPtr, void* userParam);
void load();
}
void nnNfp_load();
void nnNfp_update();
bool nnNfp_isInitialized();
bool nnNfp_touchNfcTagFromFile(const fs::path& filePath, uint32* nfcError);
#define NFP_STATE_NONE (0)
#defi... | 544 | C++ | .h | 18 | 28.833333 | 87 | 0.758157 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,605 | AmiiboCrypto.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_nfp/AmiiboCrypto.h | #pragma once
#include "util/crypto/aes128.h"
#include "openssl/evp.h"
#include "openssl/hmac.h"
typedef struct
{
char typeString[14];
uint8 magicBytes[16];
uint8 magicBytesLen;
uint8 xorPad[32];
uint8 hmacKey[16];
}amiiboInternalKeys_t;
void amiiboCalcSeed(AmiiboInternal* internalData, uint8* seed)
{
memcpy(see... | 9,247 | C++ | .h | 221 | 39.819005 | 223 | 0.743847 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,606 | padscore.h | cemu-project_Cemu/src/Cafe/OS/libs/padscore/padscore.h | #pragma once
#include "util/math/vector3.h"
namespace padscore
{
void start();
void load();
}
constexpr int kWPADMaxControllers = 4;
constexpr int kKPADMaxControllers = 7;
#define WPAD_ERR_NONE 0
#define WPAD_ERR_NO_CONTROLLER -1
#define WPAD_ERR_BUSY -2
#define WPAD_ERR_INVALID -4
#define WPAD_PRESS_UN... | 4,390 | C++ | .h | 239 | 16.263598 | 68 | 0.757974 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,607 | nn_idbe.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_idbe/nn_idbe.h |
namespace nn
{
namespace idbe
{
void load();
}
} | 54 | C++ | .h | 7 | 6 | 15 | 0.680851 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,608 | stream.h | cemu-project_Cemu/src/Cafe/OS/libs/nfc/stream.h | #pragma once
#include <cstdint>
#include <vector>
#include <span>
#include <bit>
#include "Common/precompiled.h"
class Stream
{
public:
enum Error
{
ERROR_OK,
ERROR_READ_FAILED,
ERROR_WRITE_FAILED,
};
public:
Stream(std::endian endianness = std::endian::native);
virtual ~Stream();
Error GetError() cons... | 2,952 | C++ | .h | 113 | 23.336283 | 92 | 0.69321 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,609 | TagV0.h | cemu-project_Cemu/src/Cafe/OS/libs/nfc/TagV0.h | #pragma once
#include <memory>
#include <span>
#include <map>
#include "TLV.h"
class TagV0
{
public:
using Block = std::array<std::byte, 0x8>;
public:
TagV0();
virtual ~TagV0();
static std::shared_ptr<TagV0> FromBytes(const std::span<const std::byte>& data);
std::vector<std::byte> ToBytes() const;
const Blo... | 985 | C++ | .h | 30 | 30.9 | 94 | 0.751586 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,610 | TLV.h | cemu-project_Cemu/src/Cafe/OS/libs/nfc/TLV.h | #pragma once
#include <cstdint>
#include <span>
#include <vector>
class TLV
{
public:
enum Tag
{
TAG_NULL = 0x00,
TAG_LOCK_CTRL = 0x01,
TAG_MEM_CTRL = 0x02,
TAG_NDEF = 0x03,
TAG_PROPRIETARY = 0xFD,
TAG_TERMINATOR = 0xFE,
};
public:
TLV();
TLV(Tag tag, std::vector<std::byte> value... | 660 | C++ | .h | 30 | 19.9 | 69 | 0.678973 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,611 | nfc.h | cemu-project_Cemu/src/Cafe/OS/libs/nfc/nfc.h | #pragma once
// CEMU NFC error codes
#define NFC_TOUCH_TAG_ERROR_NONE (0)
#define NFC_TOUCH_TAG_ERROR_NO_ACCESS (1)
#define NFC_TOUCH_TAG_ERROR_INVALID_FILE_FORMAT (2)
// NFC result base
#define NFC_RESULT_BASE_INIT (-0x100)
#define NFC_RESULT_BASE_READ (-0x200)
#define NFC_RESULT_BASE_WRITE (-0x300)
#define ... | 2,752 | C++ | .h | 69 | 38.043478 | 195 | 0.762406 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,612 | ndef.h | cemu-project_Cemu/src/Cafe/OS/libs/nfc/ndef.h | #pragma once
#include <span>
#include <vector>
#include <optional>
#include "stream.h"
namespace ndef
{
class Record
{
public:
enum HeaderFlag
{
NDEF_IL = 0x08,
NDEF_SR = 0x10,
NDEF_CF = 0x20,
NDEF_ME = 0x40,
NDEF_MB = 0x80,
NDEF_TNF_MASK = 0x07,
... | 1,914 | C++ | .h | 70 | 24.271429 | 82 | 0.652245 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,613 | nn_aoc.h | cemu-project_Cemu/src/Cafe/OS/libs/nn_aoc/nn_aoc.h | namespace nn
{
namespace aoc
{
void Initialize();
}
} | 58 | C++ | .h | 7 | 6.714286 | 20 | 0.711538 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,614 | ax_internal.h | cemu-project_Cemu/src/Cafe/OS/libs/snd_core/ax_internal.h | #pragma once
#include "Cafe/OS/libs/snd_core/ax.h"
namespace snd_core
{
typedef struct
{
bool isInitialized;
bool isSoundCore2;
// init params
struct
{
uint32 rendererFreq; // 32Khz or 48Khz
uint32 frameLength; // 3MS
uint32 pipelineMode;
}initParam;
}sndGeneric_t;
extern sndGeneric_t sndGene... | 8,091 | C++ | .h | 201 | 37.393035 | 147 | 0.715048 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,615 | ax.h | cemu-project_Cemu/src/Cafe/OS/libs/snd_core/ax.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit.h" // for OSThread*
#include "util/helpers/fspinlock.h"
struct PPCInterpreter_t;
namespace snd_core
{
// sndcore2 - AX init param config
const int AX_RENDERER_FREQ_32KHZ = 0;
const int AX_RENDERER_FREQ_48KHZ = 1;
const int AX_FRAMELENGTH_3MS = 0;
const int ... | 11,327 | C++ | .h | 316 | 33.291139 | 143 | 0.743573 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,616 | OSCommon.h | cemu-project_Cemu/src/Cafe/OS/common/OSCommon.h | #pragma once
struct PPCInterpreter_t;
#define OSLIB_FUNCTIONTABLE_TYPE_FUNCTION (1)
#define OSLIB_FUNCTIONTABLE_TYPE_POINTER (2)
void osLib_load();
void osLib_generateHashFromName(const char* name, uint32* hashA, uint32* hashB);
sint32 osLib_getFunctionIndex(const char* libraryName, const char* functionName);
uint3... | 3,357 | C++ | .h | 95 | 33.126316 | 125 | 0.720615 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,617 | OSUtil.h | cemu-project_Cemu/src/Cafe/OS/common/OSUtil.h | #pragma once
#include "Cafe/OS/libs/coreinit/coreinit_Thread.h"
#include "Cafe/HW/Espresso/PPCState.h"
#include "Cafe/HW/MMU/MMU.h"
#include <fmt/ostream.h>
#include <fmt/compile.h>
#include <fmt/ranges.h>
class cafeExportParamWrapper
{
public:
template <typename T>
static void getParamWrapper(PPCInterpreter_t* hCP... | 6,959 | C++ | .h | 223 | 28.269058 | 152 | 0.67704 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,618 | PPCConcurrentQueue.h | cemu-project_Cemu/src/Cafe/OS/common/PPCConcurrentQueue.h | #pragma once
#include <mutex>
#include <condition_variable>
#include <queue>
#include "Cafe/OS/libs/coreinit/coreinit_Thread.h"
template <typename T>
class PPCConcurrentQueue
{
public:
PPCConcurrentQueue() = default;
PPCConcurrentQueue(const PPCConcurrentQueue&) = delete;
PPCConcurrentQueue& operator=(const PPCCo... | 1,974 | C++ | .h | 52 | 35.288462 | 114 | 0.748688 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,619 | GraphicPack2.h | cemu-project_Cemu/src/Cafe/GraphicPack/GraphicPack2.h | #pragma once
#include "util/helpers/helpers.h"
#include "Cemu/ExpressionParser/ExpressionParser.h"
#include "Cafe/HW/Latte/Renderer/RendererOuputShader.h"
#include "util/helpers/Serializer.h"
#include "Cafe/OS/RPL/rpl.h"
#include "Cemu/PPCAssembler/ppcAssembler.h"
#include <variant>
#include "Cafe/HW/Latte/Renderer/Re... | 12,036 | C++ | .h | 273 | 41.435897 | 208 | 0.763856 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,620 | GraphicPackError.h | cemu-project_Cemu/src/Cafe/GraphicPack/GraphicPackError.h | #pragma once
class PatchErrorHandler
{
public:
enum class STAGE
{
PARSER,
APPLY,
};
void setCurrentGraphicPack(class GraphicPack2* gp)
{
m_gp = gp;
}
void setStage(STAGE s)
{
m_stage = s;
}
void printError(class PatchGroup* patchGroup, sint32 lineNumber, std::string_view errorMsg);
void showStag... | 609 | C++ | .h | 25 | 22.12 | 116 | 0.757366 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,621 | GraphicPack2Patches.h | cemu-project_Cemu/src/Cafe/GraphicPack/GraphicPack2Patches.h | #pragma once
class PatchGroup;
#include "GraphicPackError.h"
struct PatchContext_t
{
struct UnresolvedSymbol
{
sint32 lineNumber;
PatchGroup* patchGroup;
std::string symbolName;
UnresolvedSymbol(sint32 _lineNumber, PatchGroup* _patchGroup, std::string _symbolName) : lineNumber(_lineNumber), patchGroup(_pa... | 6,815 | C++ | .h | 219 | 28.908676 | 239 | 0.774489 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,622 | TitleList.h | cemu-project_Cemu/src/Cafe/TitleList/TitleList.h | #pragma once
#include "TitleInfo.h"
#include "GameInfo.h"
struct CafeTitleListCallbackEvent
{
enum class TYPE
{
TITLE_DISCOVERED,
TITLE_REMOVED,
SCAN_FINISHED,
};
TYPE eventType;
TitleInfo* titleInfo;
};
class CafeTitleList
{
public:
static void Initialize(const fs::path cacheXmlFile);
static void Load... | 1,740 | C++ | .h | 46 | 35.782609 | 173 | 0.804038 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,623 | SaveList.h | cemu-project_Cemu/src/Cafe/TitleList/SaveList.h | #pragma once
#include "SaveInfo.h"
struct CafeSaveListCallbackEvent
{
enum class TYPE
{
SAVE_DISCOVERED,
SAVE_REMOVED,
SCAN_FINISHED,
};
TYPE eventType;
SaveInfo* saveInfo;
};
class CafeSaveList
{
public:
static void Initialize();
static void SetMLCPath(fs::path mlcPath);
static void Refresh();
stati... | 693 | C++ | .h | 27 | 23.740741 | 171 | 0.797277 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,624 | ParsedMetaXml.h | cemu-project_Cemu/src/Cafe/TitleList/ParsedMetaXml.h | #pragma once
#include <pugixml.hpp>
#include "config/CemuConfig.h"
struct ParsedMetaXml
{
uint32 m_version;
std::string m_product_code;
std::string m_company_code;
std::string m_content_platform;
uint64 m_title_id;
CafeConsoleRegion m_region;
std::array<std::string, 12> m_long_name;
std::array<std::string, 1... | 4,405 | C++ | .h | 135 | 29.325926 | 133 | 0.690806 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,625 | AppType.h | cemu-project_Cemu/src/Cafe/TitleList/AppType.h | #pragma once
enum class APP_TYPE : uint32
{
GAME = 0x80000000,
GAME_UPDATE = 0x0800001B,
GAME_DLC = 0x0800000E,
// data titles
VERSION_DATA_TITLE = 0x10000015,
DRC_FIRMWARE = 0x10000013,
DRC_TEXTURE_ATLAS = 0x1000001A,
};
// allow direct comparison with uint32
inline bool operator==(APP_TYPE lhs, uint32 rhs)
{... | 459 | C++ | .h | 20 | 21.35 | 48 | 0.747706 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,626 | TitleId.h | cemu-project_Cemu/src/Cafe/TitleList/TitleId.h | #pragma once
using TitleId = uint64;
static_assert(sizeof(TitleId) == 8);
class TitleIdParser
{
public:
enum class TITLE_TYPE
{
/* XX */ UNKNOWN = 0xFF, // placeholder
/* 00 */ BASE_TITLE = 0x00, // eShop and disc titles
/* 02 */ BASE_TITLE_DEMO = 0x02,
/* 0E */ BASE_TITLE_UPDATE = 0x0E, // update for BASE... | 2,879 | C++ | .h | 112 | 22.830357 | 107 | 0.667394 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,627 | TitleInfo.h | cemu-project_Cemu/src/Cafe/TitleList/TitleInfo.h | #pragma once
#include "Cafe/Filesystem/fsc.h"
#include "config/CemuConfig.h" // for CafeConsoleRegion. Move to NCrypto?
#include "TitleId.h"
#include "AppType.h"
#include "ParsedMetaXml.h"
enum class CafeTitleFileType
{
UNKNOWN,
WUD,
WUX,
RPX,
ELF,
};
CafeTitleFileType DetermineCafeSystemFileType(fs::path fileP... | 7,970 | C++ | .h | 251 | 29.438247 | 228 | 0.706939 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,628 | SaveInfo.h | cemu-project_Cemu/src/Cafe/TitleList/SaveInfo.h | #pragma once
#include "TitleId.h"
#include "ParsedMetaXml.h"
class SaveInfo
{
public:
SaveInfo() {};
SaveInfo(TitleId titleId);
bool IsValid() const { return m_isValid; }
TitleId GetTitleId() const { return m_titleId; }
fs::path GetPath() const { return m_path; }
// meta data
bool ParseMetaData();
ParsedMe... | 628 | C++ | .h | 23 | 25.391304 | 64 | 0.764608 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
23,629 | GameInfo.h | cemu-project_Cemu/src/Cafe/TitleList/GameInfo.h | #pragma once
#include "config/CemuConfig.h"
#include "TitleInfo.h"
#include "config/ActiveSettings.h"
class GameInfo2
{
public:
~GameInfo2()
{
m_base.UnmountAll();
m_update.UnmountAll();
for (auto& it : m_aoc)
it.UnmountAll();
}
bool IsValid() const
{
return m_base.IsValid(); // at least the base mus... | 3,344 | C++ | .h | 126 | 23.865079 | 135 | 0.733896 | cemu-project/Cemu | 7,119 | 558 | 254 | MPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.