Config files and save states are now stored in ~/.zsnes

This commit is contained in:
teuf
2001-04-22 17:49:49 +00:00
parent 23742cd694
commit 26dc931297
5 changed files with 116 additions and 2 deletions

View File

@@ -1369,8 +1369,8 @@ SECTION .data
SECTION .text
NEWSYM obtaindir
%ifndef __LINUX__
NEWSYM obtaindir
cmp byte[cfgloadsdir],1
je .nosdriveb
mov ebx,SRAMDir
@@ -1383,8 +1383,9 @@ NEWSYM obtaindir
mov edx,LoadDrive
call Get_Dir
.noldriveb
%endif
ret
%endif
NEWSYM preparedir
;Function 47h - Get current directory
@@ -1435,6 +1436,7 @@ NEWSYM preparedir
%endif
ret
SECTION .data
.sramerrorm db 'Invalid SRAM Directory in ZSNES.CFG!',13,10,13,10
db 'Press any key to continue.',0