pgl: add missing changes and fix bugs

This commit is contained in:
hexkyz committed 2026-09-17 00:30:00 +01:00
1 parent afff8cbf16
commit 7cc625946e
3 files changed
+5 -5

No files matched your search

@@ -137,7 +137,7 @@ namespace ams::pgl {
}
Result EnableApplicationCrashReport2(os::ProcessId process_id, bool enabled) {
R_RETURN(::pglEnableApplicationCrashReport2(process_id, enabled));
R_RETURN(::pglEnableApplicationCrashReport2(static_cast<u64>(process_id), enabled));
}
#else
Result Initialize() {
@@ -499,7 +499,7 @@ namespace ams::pgl::srv {
void EnableApplicationCrashReport2(os::ProcessId process_id, bool enabled) {
/* Find the data for the process. */
std::scoped_lock lk(g_process_data_mutex);
ProcessData *data = FindProcessData(*process_id);
ProcessData *data = FindProcessData(process_id);
/* It's okay if we aren't tracking the process. */
if (data != nullptr) {