From 8ac977e2e4c0a4b5f146ffc5e3234439eedafd80 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 22 May 2020 12:37:42 +0000 Subject: [PATCH] use relative path git-svn-id: svn://kolibrios.org@7966 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/soko/trunk/SOKO.ASM | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/programs/games/soko/trunk/SOKO.ASM b/programs/games/soko/trunk/SOKO.ASM index ea15ee26d8..10718b90f2 100644 --- a/programs/games/soko/trunk/SOKO.ASM +++ b/programs/games/soko/trunk/SOKO.ASM @@ -33,8 +33,6 @@ include 'macros.inc' ; decrease code size (optional) include 'CELLTYPE.INC' ; object identifiers ;include 'debug.inc' -CUR_DIR equ '/sys/games/' ; change it to appropriate path - SKIN_SIZE = 11520 ; size of skin file (16x240) ; field dimensions @@ -93,7 +91,7 @@ START: mov [inp_pos],0 load_std: mov esi,stdlev - mov edi,path_end + mov edi,file_name mov ecx,stdlev_len-stdlev rep movsb mov ecx,10 @@ -293,7 +291,7 @@ still: mov esi,fn_input mov byte[esi+ecx],0 inc ecx - mov edi,path_end + mov edi,file_name rep movsb jmp reset_fi no_load: @@ -1115,8 +1113,7 @@ file_info: dd 0, 0 ; file offset dd 0x20000 ; number of bytes to read cnf_level dd strip ; data buffer -file_name db CUR_DIR ; Filename -path_end db 'SKIN.' +file_name db 'SKIN.' file_num db 'RAW',0 rb 256-($-file_name)