mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-24 00:39:15 +01:00
ios_mcp: improve logging of rpx loading
This commit is contained in:
parent
88aa04a8d8
commit
26d7d87699
@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/wiiu-env/devkitppc:20240423
|
||||
FROM ghcr.io/wiiu-env/devkitppc:20240505
|
||||
|
||||
COPY --from=ghcr.io/wiiu-env/libmocha:20231127 /artifacts $DEVKITPRO
|
||||
|
||||
|
@ -177,11 +177,11 @@ MCP_LoadCustomFile(LoadTargetDevice target, char *path, uint32_t filesize, uint3
|
||||
strncat(filepath, path, (sizeof(filepath) - 1) - strlen(filepath));
|
||||
}
|
||||
|
||||
DEBUG_FUNCTION_LINE("Load custom path \"%s\"\n", filepath);
|
||||
DEBUG_FUNCTION_LINE("Trying to load .rpx from custom path \"%s\"\n", filepath);
|
||||
|
||||
int bytesRead = 0;
|
||||
int result = MCP_DoLoadFile(filepath, NULL, buffer_out, buffer_len, pos + fileoffset, &bytesRead, 0);
|
||||
// DEBUG_FUNCTION_LINE("MCP_DoLoadFile returned %d, bytesRead = %d pos %u\n", result, bytesRead, pos + fileoffset);
|
||||
DEBUG_FUNCTION_LINE("MCP_DoLoadFile returned %d, bytesRead = %d pos %u\n", result, bytesRead, pos + fileoffset);
|
||||
|
||||
if (result >= 0) {
|
||||
if (bytesRead <= 0) {
|
||||
@ -366,7 +366,7 @@ int DoReplacementByStruct(ipcmessage *msg, MCPLoadFileRequest *request, const RP
|
||||
return -1;
|
||||
}
|
||||
|
||||
DEBUG_FUNCTION_LINE("Load custom file %s\n", _rpxpath);
|
||||
// DEBUG_FUNCTION_LINE("Load custom file %s\n", _rpxpath);
|
||||
return MCP_LoadCustomFile(target,
|
||||
_rpxpath,
|
||||
curReplacement->fileSize,
|
||||
|
Loading…
Reference in New Issue
Block a user