From: Spacy <sp...@us...> - 2006-08-25 13:09:09
|
Update of /cvsroot/vba/VisualBoyAdvance/src/sdl In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv11079/src/sdl Modified Files: TestEmu.cpp Log Message: Applied patch 1362211 [crash when exiting, wrong calloc size] Index: TestEmu.cpp =================================================================== RCS file: /cvsroot/vba/VisualBoyAdvance/src/sdl/TestEmu.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TestEmu.cpp 6 Jun 2006 21:04:20 -0000 1.7 --- TestEmu.cpp 25 Aug 2006 13:09:04 -0000 1.8 *************** *** 257,261 **** vram = (u8 *)calloc(1, 0x20000); oam = (u8 *)calloc(1, 0x400); ! pix = (u8 *)calloc(1, 4 * 240 * 160); ioMem = (u8 *)calloc(1, 0x400); --- 257,261 ---- vram = (u8 *)calloc(1, 0x20000); oam = (u8 *)calloc(1, 0x400); ! pix = (u8 *)calloc(1, 4 * 241 * 162); ioMem = (u8 *)calloc(1, 0x400); |