Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
- name: Compile PSX MMCE build
run: |
make release COMMIT_HASH=${GITHUB_SHA::7} BINDIR=PSX_MMCE/ PSX=1 MMCE=1 ${{ env.DEBUG }} PRINTF=${{ github.event.inputs.name }}

- name: list
run: |
git ls-files -i --exclude-standard -c
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ XCDVD_READKEY ?= 0 # Enable the newer sceCdReadKey checks, which are only suppor
UDPTTY ?= 0 # printf over UDP
PPCTTY ?= 0 # printf over PowerPC UART
PRINTF ?= NONE
DISC_STOP_AT_BOOT ?= 0

HOMEBREW_IRX ?= 0 # if we need homebrew SIO2MAN, MCMAN, MCSERV & PADMAN embedded, else, builtin console drivers are used
FILEXIO_NEED ?= 0 # if we need filexio and imanx loaded for other features (HDD, mx4sio, etc)
Expand Down Expand Up @@ -77,6 +78,10 @@ ifneq ($(VERBOSE), 1)
.SILENT:
endif

ifeq ($(DISC_STOP_AT_BOOT), 1)
EE_CFLAGS += -DDISC_STOP_AT_BOOT
endif

ifeq ($(MX4SIO), 1)
HOMEBREW_IRX = 1
FILEXIO_NEED = 1
Expand Down
7 changes: 5 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ int main(int argc, char *argv[])
DPRINTF("disabling MODLOAD device blacklist/whitelist\n");
sbv_patch_disable_prefix_check(); /* disable the MODLOAD module black/white list, allowing executables to be freely loaded from any device. */

#ifdef DISC_STOP_AT_BOOT
sceCdStop();
sceCdSync(0);
#endif
#ifdef PPCTTY
//no error handling bc nothing to do in this case
SifExecModuleBuffer(ppctty_irx, size_ppctty_irx, 0, NULL, NULL);
SifExecModuleBuffer(ppctty_irx, size_ppctty_irx, 0, NULL, NULL);//no error handling bc nothing to do in this case
#endif
#ifdef UDPTTY
if (loadDEV9())
Expand Down