mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 14:22:48 +02:00
Fix building SameBoot with the lastest RGBDS master, fixes #606
This commit is contained in:
@@ -126,7 +126,7 @@ Start:
|
||||
xor a
|
||||
.waitLoop
|
||||
ldh [rIF], a
|
||||
halt
|
||||
db $76 ; halt, compatible with rgbds 0.5-0.8
|
||||
nop
|
||||
dec e
|
||||
jr nz, .waitLoop
|
||||
|
2
Makefile
2
Makefile
@@ -629,7 +629,7 @@ $(BIN)/BootROMs/sgb2_boot: BootROMs/sgb_boot.asm
|
||||
|
||||
$(BIN)/BootROMs/%.bin: BootROMs/%.asm $(OBJ)/BootROMs/SameBoyLogo.pb12
|
||||
-@$(MKDIR) -p $(dir $@)
|
||||
$(RGBASM) -H -i $(OBJ)/BootROMs/ -i BootROMs/ -o $@.tmp $<
|
||||
$(RGBASM) -i $(OBJ)/BootROMs/ -i BootROMs/ -o $@.tmp $<
|
||||
$(RGBLINK) -o $@.tmp2 $@.tmp
|
||||
dd if=$@.tmp2 of=$@ count=1 bs=$(if $(findstring cgb,$@)$(findstring agb,$@),2304,256) 2> $(NULL)
|
||||
@rm $@.tmp $@.tmp2
|
||||
|
Reference in New Issue
Block a user