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:
SND\weimingzhi_cp 2010-05-10 10:11:24 +00:00
parent ac724dac47
commit 2855b10f25
3 changed files with 8 additions and 2 deletions

View File

@ -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,

View File

@ -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;

View File

@ -21,6 +21,7 @@
#include "r3000a.h"
#include "cheat.h"
#include "ppf.h"
PcsxConfig Config;
boolean NetOpened = FALSE;