added missing include, silenced msvc warning
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47761 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
ac724dac47
commit
2855b10f25
|
@ -1,3 +1,8 @@
|
|||
May 10, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
|
||||
|
||||
* libpcsxcore/psxcommon.c: Include ppf.h.
|
||||
* libpcsxcore/misc.c: Silenced MSVC warning.
|
||||
|
||||
May 10, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
|
||||
|
||||
* libpcsxcore/plugins.c: Use functions instead of using global variables,
|
||||
|
|
|
@ -468,8 +468,8 @@ int SaveState(const char *file) {
|
|||
f = gzopen(file, "wb");
|
||||
if (f == NULL) return -1;
|
||||
|
||||
gzwrite(f, (const void *)PcsxHeader, 32);
|
||||
gzwrite(f, (const void *)&SaveVersion, sizeof(SaveVersion));
|
||||
gzwrite(f, (void *)PcsxHeader, 32);
|
||||
gzwrite(f, (void *)&SaveVersion, sizeof(SaveVersion));
|
||||
|
||||
pMem = (unsigned char *)malloc(128 * 96 * 3);
|
||||
if (pMem == NULL) return -1;
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "r3000a.h"
|
||||
|
||||
#include "cheat.h"
|
||||
#include "ppf.h"
|
||||
|
||||
PcsxConfig Config;
|
||||
boolean NetOpened = FALSE;
|
||||
|
|
Loading…
Reference in New Issue