mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-01 04:00:32 +00:00
192f5875b9
== DETAILS The old code was crashing; I did a minimalized branch and the crash went away, so I'm bringing that over here. Meaning I'll have to redo some of the other work I'd put in, but oh well. (now watch it start crashing again) == TESTING Can confirm it builds. Wii U is busy ATM so I can't test.
15 lines
276 B
Bash
Executable File
15 lines
276 B
Bash
Executable File
#!/bin/sh
|
|
|
|
interrupt_count=0
|
|
|
|
trap 'if [ $interrupt_count -eq 5 ]; then exit 0; else interrupt_count=$(($interrupt_count + 1)); fi' INT
|
|
|
|
echo ===== START: `date` =====
|
|
while true; do
|
|
netcat -p 4405 -l
|
|
if [ $? -ne 0 ]; then
|
|
break
|
|
fi
|
|
done
|
|
echo ===== END: `date` =====
|