mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-24 17:16:57 +01:00
Increased tape speed
This commit is contained in:
parent
fd93e04b9b
commit
1f29d54b62
@ -39,7 +39,7 @@ INCLUDES :=
|
|||||||
# options for code generation
|
# options for code generation
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
CFLAGS = -g -O2 -Wall $(INCLUDE) -Wno-pointer-sign -DBYTE_ORDER=LITTLE_ENDIAN -DMINGW
|
CFLAGS = -g -O2 -Wall $(INCLUDE) -Wno-pointer-sign -Wno-unused-but-set-variable -DBYTE_ORDER=LITTLE_ENDIAN -DMINGW
|
||||||
CXXFLAGS = $(CFLAGS)
|
CXXFLAGS = $(CFLAGS)
|
||||||
|
|
||||||
LDFLAGS = -g -Wl,-Map,$(notdir $@).map
|
LDFLAGS = -g -Wl,-Map,$(notdir $@).map
|
||||||
@ -132,7 +132,7 @@ dist: $(BUILD)
|
|||||||
mkdir -p $@/fbzx-wii/configurations
|
mkdir -p $@/fbzx-wii/configurations
|
||||||
mkdir -p $@/fbzx-wii/poke
|
mkdir -p $@/fbzx-wii/poke
|
||||||
mkdir -p $@/fbzx-wii/doc
|
mkdir -p $@/fbzx-wii/doc
|
||||||
cp fbzx.exe $@/fbzx-wii/fbzx.exe
|
cp fbzx-wii.exe $@/fbzx-wii/fbzx-wii.exe
|
||||||
cp meta.xml $@/fbzx-wii/meta.xml
|
cp meta.xml $@/fbzx-wii/meta.xml
|
||||||
cp spectrum-roms/* $@/fbzx-wii/spectrum-roms
|
cp spectrum-roms/* $@/fbzx-wii/spectrum-roms
|
||||||
cp dll/* $@/fbzx-wii
|
cp dll/* $@/fbzx-wii
|
||||||
|
@ -57,8 +57,8 @@ inline void tape_read(FILE *fichero, int tstados) {
|
|||||||
//Auto ultra fast mode
|
//Auto ultra fast mode
|
||||||
if ((ordenador.turbo_state != 1)&&(ordenador.turbo==1))
|
if ((ordenador.turbo_state != 1)&&(ordenador.turbo==1))
|
||||||
{
|
{
|
||||||
if (ordenador.tape_file_type==TAP_TAP) update_frequency(12000000);
|
if (ordenador.tape_file_type==TAP_TAP) update_frequency(13000000);
|
||||||
else update_frequency(10500000);
|
else update_frequency(11000000);
|
||||||
jump_frames=7;
|
jump_frames=7;
|
||||||
ordenador.precision_old=ordenador.precision;
|
ordenador.precision_old=ordenador.precision;
|
||||||
ordenador.precision =0;
|
ordenador.precision =0;
|
||||||
@ -1264,7 +1264,7 @@ void fastload_block_tzx (FILE * fichero) {
|
|||||||
//Anticipate auto ultra fast mode
|
//Anticipate auto ultra fast mode
|
||||||
if ((ordenador.turbo_state!= 1)&&(ordenador.turbo==1))
|
if ((ordenador.turbo_state!= 1)&&(ordenador.turbo==1))
|
||||||
{
|
{
|
||||||
update_frequency(10500000);
|
update_frequency(11000000);
|
||||||
jump_frames=7;
|
jump_frames=7;
|
||||||
ordenador.turbo_state=4;
|
ordenador.turbo_state=4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user