Reorder PPCInterpreter memory layout to keep plugin compatibility

Commit b089ae5b32 changed the PPCInterpreter struct that external plugins rely on to hook Cemu through e.g. the exported "osLib_registerHLEFunction". This commit moves some unused values down so that it keeps the same memory layout as before the PPC recompiler rework.
This commit is contained in:
Crementif 2025-05-04 17:19:56 +02:00
parent fa7ae84314
commit d083fc0470

View file

@ -51,8 +51,6 @@ struct PPCInterpreter_t
uint8 xer_ca; // carry from xer
uint8 xer_so;
uint8 xer_ov;
uint8 LSQE;
uint8 PSE;
// thread remaining cycles
sint32 remainingCycles; // if this value goes below zero, the next thread is scheduled
sint32 skippedCycles; // number of skipped cycles
@ -95,6 +93,8 @@ struct PPCInterpreter_t
uint32 sr[16];
uint32 sdr1;
}sprExtended;
uint8 LSQE;
uint8 PSE;
// global CPU values
PPCInterpreterGlobal_t* global;
// interpreter control