From 47e3521050876085931370e8fb6a65f7092d65e5 Mon Sep 17 00:00:00 2001 From: Pika Date: Wed, 1 May 2019 18:10:04 -0400 Subject: [PATCH] bruh --- stratosphere/ams_mitm/source/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/ams_mitm/source/utils.cpp b/stratosphere/ams_mitm/source/utils.cpp index 5e91fa3cd..aa7761b29 100644 --- a/stratosphere/ams_mitm/source/utils.cpp +++ b/stratosphere/ams_mitm/source/utils.cpp @@ -708,7 +708,7 @@ void Utils::CreateBlankProdinfoIfNeeded() { u8 data[data_size]; - memcpy(&data, p ? g_cal0_backup[data_offset] : g_cal0_storage_backup[data_offset], data_size); + memcpy(&data, p ? &g_cal0_backup[data_offset] : &g_cal0_storage_backup[data_offset], data_size); u8 hash[0x20];