mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 14:52:52 +02:00
Use rgblink -x
instead of dd
This saves a few build steps and intermediate files
This commit is contained in:
@@ -1238,6 +1238,7 @@ BootEnd:
|
|||||||
IF BootEnd > $900
|
IF BootEnd > $900
|
||||||
FAIL "BootROM overflowed: {BootEnd}"
|
FAIL "BootROM overflowed: {BootEnd}"
|
||||||
ENDC
|
ENDC
|
||||||
|
ds $100 + $800 - @ ; Ensure that the ROM is padded up to standard size.
|
||||||
|
|
||||||
SECTION "HRAM", HRAM[$FF80]
|
SECTION "HRAM", HRAM[$FF80]
|
||||||
TitleChecksum:
|
TitleChecksum:
|
||||||
|
5
Makefile
5
Makefile
@@ -638,9 +638,8 @@ $(BIN)/BootROMs/sgb2_boot: BootROMs/sgb_boot.asm
|
|||||||
$(BIN)/BootROMs/%.bin: BootROMs/%.asm $(OBJ)/BootROMs/SameBoyLogo.pb12
|
$(BIN)/BootROMs/%.bin: BootROMs/%.asm $(OBJ)/BootROMs/SameBoyLogo.pb12
|
||||||
-@$(MKDIR) -p $(dir $@)
|
-@$(MKDIR) -p $(dir $@)
|
||||||
$(RGBASM) -i $(OBJ)/BootROMs/ -i BootROMs/ -o $@.tmp $<
|
$(RGBASM) -i $(OBJ)/BootROMs/ -i BootROMs/ -o $@.tmp $<
|
||||||
$(RGBLINK) -o $@.tmp2 $@.tmp
|
$(RGBLINK) -x -o $@ $@.tmp
|
||||||
dd if=$@.tmp2 of=$@ count=1 bs=$(if $(findstring cgb,$@)$(findstring agb,$@),2304,256) 2> $(NULL)
|
@rm $@.tmp
|
||||||
@rm $@.tmp $@.tmp2
|
|
||||||
|
|
||||||
# Libretro Core (uses its own build system)
|
# Libretro Core (uses its own build system)
|
||||||
libretro:
|
libretro:
|
||||||
|
Reference in New Issue
Block a user