View Single Post
Old July 18th, 2006   #17 (permalink)
Spacy
GBA emulator developer
 
Spacy's Avatar
 
Join Date: Mar 2005
Location: Germany
Posts: 392
I just made a little fix to that. If a screenshot file already exists, VBA now just uses the next free slot. This could be implemented better, but that would need more changes to the source.

This fix will be present in the next binary release.




You just need to add the following code to line 1109 in file MainWnd.cpp (current CVS version):
PHP Code:
  // check if file exists
  
DWORD dwAttr GetFileAttributesbuffer );
  if( 
dwAttr != INVALID_FILE_ATTRIBUTES ) {
      
// screenshot file already exists
      
screenCapture(++captureNumber);
      
// this will recursively use the first non-existent screenshot number
      
return;
  } 

Last edited by Spacy; July 21st, 2006 at 11:40..
Spacy is offline   Reply With Quote