Not Ipconfig if not smb_enable and uaerc changes

This commit is contained in:
fabio.olimpieri 2011-11-05 10:36:20 +00:00
parent 54567d0f66
commit 00cae640b6
2 changed files with 20 additions and 6 deletions

View File

@ -1100,12 +1100,14 @@ int main (int argc, char **argv)
printf("SD FAT subsytem initialized\n\n"); printf("SD FAT subsytem initialized\n\n");
usbismount = InitUSB(); usbismount = InitUSB();
networkisinit = InitNetwork();
default_prefs (&currprefs, 0); default_prefs (&currprefs, 0);
cfgfile_load (&currprefs, SMBFILENAME, 0); cfgfile_load (&currprefs, SMBFILENAME, 0);
printf("\n"); printf("\n");
if (currprefs.smb_enable) networkisinit = InitNetwork();
if (networkisinit && currprefs.smb_enable) ConnectShare(); if (networkisinit && currprefs.smb_enable) ConnectShare();
sleep(3); sleep(3);

View File

@ -3,17 +3,29 @@ kickstart_rom_file=/uae/roms/kick.rom
kickstart_key_file=$(FILE_PATH)/rom.key kickstart_key_file=$(FILE_PATH)/rom.key
floppy0=/uae/floppies/ floppy0=/uae/floppies/
# Alters CPU speed (values are; real, max. CPU to Chipset; 1 through 20) #Examples of hardfile
# Current setting of 4 = 20% CHIPSET and 80% CPU #hardfile2=rw,DH0:/uae/harddisks/hardfile.hdf,32,1,2,512,0,
cpu_speed=4
#You can also use hardfile from a real usb harddisk
#hardfile2=rw,DH0:usb:/harddisks/hardfile.hdf,32,1,2,512,0,
#Examples of virtual filesystem
#filesystem2=rw,DH0:harddir:/uae/harddir,-127
# Alters CPU speed (values are: real, max, 1 through 20)
# i.e. setting of 4 = 20% CHIPSET and 80% CPU
cpu_speed=max
# CPU Type (values are; 68000, 68020, 68020/68881 and 68040) # CPU Type (values are; 68000, 68020, 68020/68881 and 68040)
cpu_type=68000 cpu_type=68000
#No need to explain
cpu_24bit_addressing=false
#Immediate blits helps with speed #Immediate blits helps with speed
immediate_blits=true immediate_blits=true
collision_level=playfields collision_level=playfields
cpu_24bit_addressing=false
# Emulation precision # Emulation precision
cpu_compatible=true cpu_compatible=true