fixed casting to pointer, Im not 100% sure it's currect so please give it a look

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@497 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-09-12 09:37:19 +00:00
parent e5a126e231
commit ea75d5adce
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void SaveStateCallback(u64 userdata, int cyclesLate)
u8 *ptr = 0;
PointerWrap p(&ptr, PointerWrap::MODE_MEASURE);
DoState(p);
int sz = (int)(u64)ptr;
u64 sz = (u64)ptr;
u8 *buffer = new u8[sz];
ptr = buffer;
p.SetMode(PointerWrap::MODE_WRITE);