PNGs now use SnapPath.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user