- Add support for non sorted dsrom.xml file..
This commit is contained in:
parent
c1fb24662c
commit
0445022bd8
@ -1,7 +1,7 @@
|
||||
# $RCSfile: ReleaseNotes.txt,v $
|
||||
# $Revision: 1.4 $
|
||||
# $Revision: 1.5 $
|
||||
# $Name: $
|
||||
# $Date: 2009/04/26 00:14:53 $
|
||||
# $Date: 2009/05/09 21:30:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
|
||||
@ -9,12 +9,13 @@
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
nds2rm V 1.1.0-1 - A. Gibert - 2009/04/26
|
||||
nds2rm V 1.1.0-1 - A. Gibert - 2009/05/09
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
- Change the RRFNFS: Region and Language list are separated by an '=' and not a ':' in order to be FAT friendly !
|
||||
- Add a work around in dsrom.lsg generator: remove the rom name... NinjaPass bug ?!
|
||||
- Fix a bug in fp reading (visible in rom listing).
|
||||
- Add a work around in dsrom.lst generator: remove the rom name... NinjaPass bug ?! Help Me !
|
||||
- Fix a bug in fp reading (visible in rom listing),
|
||||
- Add support for non sorted dsrom.xml file...
|
||||
|
||||
|
||||
|
||||
|
40
nds2rm
40
nds2rm
@ -5,9 +5,9 @@
|
||||
# (C) 2009 Arnaud G. Gibert
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
# $RCSfile: nds2rm,v $
|
||||
# $Revision: 1.18 $
|
||||
# $Revision: 1.19 $
|
||||
# $Name: $
|
||||
# $Date: 2009/04/26 00:08:50 $
|
||||
# $Date: 2009/05/09 21:30:53 $
|
||||
# $Author: agibert $
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
@ -373,27 +373,23 @@ function xml_load()
|
||||
|
||||
if [[ "${idx}" != "xxxx" ]]
|
||||
then
|
||||
|
||||
count_print ${idx}
|
||||
|
||||
dat_rn[${idx}]="${rn}"
|
||||
dat_id[${idx}]="${id}"
|
||||
dat_title[${idx}]="${title}"
|
||||
dat_region[${idx}]="${reg_tab[${location}]}"
|
||||
dat_lang[${idx}]="${lang}"
|
||||
dat_save_type[${idx}]="${save_type}"
|
||||
dat_crc[${idx}]="${crc}"
|
||||
|
||||
dat_fp[${idx}]="????"
|
||||
dat_status[${idx}]="?"
|
||||
dat_dup[${idx}]="0"
|
||||
|
||||
loaded_cnt=$((${loaded_cnt} + 1))
|
||||
|
||||
if [[ ${loaded_cnt} -ge ${max_idx} ]]
|
||||
if [[ ${idx} -le ${max_idx} ]]
|
||||
then
|
||||
echo "max rom id reached: skipping loading !" 1>&2
|
||||
break;
|
||||
count_print ${idx}
|
||||
|
||||
dat_rn[${idx}]="${rn}"
|
||||
dat_id[${idx}]="${id}"
|
||||
dat_title[${idx}]="${title}"
|
||||
dat_region[${idx}]="${reg_tab[${location}]}"
|
||||
dat_lang[${idx}]="${lang}"
|
||||
dat_save_type[${idx}]="${save_type}"
|
||||
dat_crc[${idx}]="${crc}"
|
||||
|
||||
dat_fp[${idx}]="????"
|
||||
dat_status[${idx}]="?"
|
||||
dat_dup[${idx}]="0"
|
||||
|
||||
loaded_cnt=$((${loaded_cnt} + 1))
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user