From a58fde68e6cb6a28efbb28c2b0b6deecac52f089 Mon Sep 17 00:00:00 2001 From: Ziemas Date: Tue, 7 Sep 2021 11:46:33 +0200 Subject: [PATCH] C++-ify freezeData definition --- pcsx2/SaveState.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/SaveState.h b/pcsx2/SaveState.h index fef1c48140..118f76ad0d 100644 --- a/pcsx2/SaveState.h +++ b/pcsx2/SaveState.h @@ -39,11 +39,11 @@ static const u32 g_SaveVersion = (0x9A23 << 16) | 0x0000; // struct was system dependant as the size of int differs between systems, thus // subsystems making use of freezeData, like GSDump and save states aren't // necessarily portable; we might want to investigate this in the future -- govanify -typedef struct +struct freezeData { int size; u8 *data; -} freezeData; +}; // this function is meant to be used in the place of GSfreeze, and provides a safe layer // between the GS saving function and the MTGS's needs. :)