mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
ps2, minor fixes
This commit is contained in:
parent
f3ae9cb900
commit
a0abaf2ada
2 changed files with 16 additions and 12 deletions
|
@ -6,22 +6,26 @@ $(error need VER)
|
|||
endif
|
||||
endif
|
||||
|
||||
include ../../config.mak
|
||||
|
||||
../../tools/textfilter: ../../tools/textfilter.c
|
||||
make -C ../../tools/ textfilter
|
||||
|
||||
readme.txt: ../../tools/textfilter ../base_readme.txt ../../ChangeLog
|
||||
../../tools/textfilter ../base_readme.txt $@ PS2
|
||||
|
||||
# ?
|
||||
rel: ../../PicoDrive readme.txt ../game_def.cfg
|
||||
mkdir -p PicoDrive/skin/
|
||||
cp $^ PicoDrive/
|
||||
cp ../../skin/* PicoDrive/skin/
|
||||
zip -9 -r ../../PicoDrive_ps2_$(VER).zip PicoDrive
|
||||
rm -rf PicoDrive
|
||||
mkdir bin_to_cso_mp3
|
||||
cp ../../tools/bin_to_cso_mp3/* bin_to_cso_mp3/
|
||||
zip -9 -r ../../PicoDrive_ps2_$(VER).zip bin_to_cso_mp3
|
||||
rm -rf bin_to_cso_mp3
|
||||
PicoDrive: ../../PicoDrive
|
||||
$(STRIP) $^ -o $@
|
||||
|
||||
PicoDrive.elf: PicoDrive
|
||||
ps2-packer $^ $@
|
||||
|
||||
rel: PicoDrive.elf readme.txt ../game_def.cfg
|
||||
mkdir -p out/PicoDrive/skin/ out/bin_to_cso_mp3
|
||||
cp $^ out/PicoDrive/
|
||||
cp ../../skin/* out/PicoDrive/skin/
|
||||
#mkdir -p out/bin_to_cso_mp3
|
||||
#cp ../../tools/bin_to_cso_mp3/* out/bin_to_cso_mp3/
|
||||
cd out && zip -9 -r ../../../PicoDrive_ps2_$(VER).zip *
|
||||
rm -rf out
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ static void writeSound(int len)
|
|||
{
|
||||
int ret, l;
|
||||
|
||||
if (samples_made - samples_done < samples_block * (SOUND_BLOCK_COUNT-3)) {
|
||||
if (samples_made - samples_done <= samples_block * (SOUND_BLOCK_COUNT-3)) {
|
||||
samples_made += len / 2;
|
||||
PicoIn.sndOut += len / 2;
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue