PNGs now use SnapPath.

This commit is contained in:
n-a-c-h
2004-01-13 08:00:33 +00:00
parent 3b40c32f2b
commit 092810b855

View File

@@ -1155,10 +1155,18 @@ SECTION .data
NEWSYM savepcx NEWSYM savepcx
%ifndef NO_PNG %ifndef NO_PNG
cmp byte[ScreenShotFormat],1 cmp byte[ScreenShotFormat],1
jne .notpng jne .notpng
call Grab_PNG_Data pushad
ret mov dl,[SRAMDrive] ; Need to get rid of this, no reason for it
mov ebx,SnapPath
call Change_Dir
call Grab_PNG_Data
mov dl,[SRAMDrive]
mov ebx,SRAMDir
call Change_Dir
popad
ret
.notpng .notpng
%endif %endif