File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ SHELL = /usr/bin/env bash
4343
4444# path to decomp, defaults to the submodule's path
4545STGZ_DECOMP_DIR ? = resources/decomp
46+ STGZ_EMULATOR ? =
4647
4748# game region, only eur is supported atm
4849REGION := eur
@@ -228,6 +229,12 @@ overlay: $(BIN)
228229 $( V) $( PYTHON) tools/gen_libs.py -m libgz -e $( ELF)
229230 $( call print_no_args,Success! )
230231
232+ run: all
233+ ifeq ($( STGZ_EMULATOR) ,)
234+ $( error " Emulator path not set." )
235+ endif
236+ $( STGZ_EMULATOR) $( OUT_ROM)
237+
231238setup: extract
232239
233240venv:
@@ -239,7 +246,7 @@ venv:
239246 $( V) $( PYTHON) -m pip install -U -r tools/requirements.txt
240247 $( call print_no_args,Success! )
241248
242- .PHONY: all build clean distclean extract hooks init libs overlay setup venv
249+ .PHONY: all build clean distclean extract hooks init libs overlay run setup venv
243250
244251# ## misc project recipes ###
245252
You can’t perform that action at this time.
0 commit comments