Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/elf_loader/src/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,12 @@ static int ExecuteViaEmbeddedLoader(const char *partition_context, const char *l
}
}

SifExitIopHeap();
if (!is_hdd_backed_exec_path(partition_context)) {
SifExitIopHeap();
SifExitRpc();
SifExitCmd();
FlushCache(0);
}
FlushCache(0);
Comment on lines +380 to +385
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation of the code within the if block and the following FlushCache call is incorrect. It should follow the existing tab-based indentation style of the file to maintain readability.

	if (!is_hdd_backed_exec_path(partition_context)) {
		SifExitIopHeap();
		SifExitRpc();
		SifExitCmd();
	}
	FlushCache(0);

FlushCache(2);

ret = ExecPS2((void *)boot_header->entry, 0, final_argc, launch_argv);
Expand Down
Loading