Future proof console check (closes #663) (#690)

This commit is contained in:
Matt Pharoah
2023-09-22 13:09:32 -04:00
committed by GitHub
parent 544fcaf038
commit c9533d18ff
3 changed files with 14 additions and 1 deletions

11
asm/emux.s Normal file
View File

@@ -0,0 +1,11 @@
// Detect if the emux emulator extension is supported
// https://hackmd.io/@rasky/r1k7na6Jn
.include "macros.inc"
.section .text, "ax"
.set noreorder
glabel emux_detect
or $v0, $0, $0
jr $ra
tne $v0, $v0, 0x0