SaveState: Split Do() into a separate header.

This commit is contained in:
Unknown W. Brackets 2020-08-09 21:20:42 -07:00
parent dd79d33f14
commit 4b4e3432cd
105 changed files with 1630 additions and 1556 deletions

View file

@ -15,10 +15,12 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include <algorithm>
#include "ext/jpge/jpgd.h"
#include "Common/Common.h"
#include "Common/ChunkFile.h"
#include "Common/ChunkFileDo.h"
#include "Core/HLE/HLE.h"
#include "Core/HLE/FunctionWrappers.h"
#include "Core/HLE/sceJpeg.h"
@ -33,8 +35,6 @@
#include "ext/xxhash.h"
#endif
#include <algorithm>
static int mjpegWidth, mjpegHeight;
void __JpegInit() {
@ -47,8 +47,8 @@ void __JpegDoState(PointerWrap &p) {
if (!s)
return;
p.Do(mjpegWidth);
p.Do(mjpegHeight);
Do(p, mjpegWidth);
Do(p, mjpegHeight);
}
static int getWidthHeight(int width, int height) {