mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 19:38:09 +00:00
emulator: fix runtime
This commit is contained in:
parent
7fa146fedb
commit
27f9f986c5
4
emu.sh
4
emu.sh
@ -7,9 +7,9 @@ OPTLEVEL="${OPTLEVEL:-1}"
|
|||||||
MAIN="${MAIN:-main.py}"
|
MAIN="${MAIN:-main.py}"
|
||||||
BROWSER="${BROWSER:-chromium}"
|
BROWSER="${BROWSER:-chromium}"
|
||||||
if file $EXE | grep -q 80386 ; then
|
if file $EXE | grep -q 80386 ; then
|
||||||
HEAPSIZE="${HEAPSIZE:-163K}"
|
HEAPSIZE="${HEAPSIZE:-170K}"
|
||||||
else
|
else
|
||||||
HEAPSIZE="${HEAPSIZE:-326K}"
|
HEAPSIZE="${HEAPSIZE:-340K}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"
|
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user