mirror of https://github.com/mgba-emu/mgba.git
3DS: Add one-liner for uploading a CIA
This commit is contained in:
parent
6f1a3918b9
commit
fd7d05baee
|
@ -111,6 +111,9 @@ add_custom_target(${BINARY_NAME}.cia ALL
|
|||
add_custom_target(run ${3DSLINK} ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.3dsx
|
||||
DEPENDS ${BINARY_NAME}.3dsx)
|
||||
|
||||
add_custom_target(install-cia stat -f '0 00000001 %016Xz' '${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.cia' | xxd -r | cat -- - '${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.cia' | nc $ENV{N3DS_IP} 5000
|
||||
DEPENDS ${BINARY_NAME}.cia)
|
||||
|
||||
if(BUILD_PERF)
|
||||
add_custom_target(${BINARY_NAME}-perf.3dsx ALL
|
||||
${3DSXTOOL} ../${BINARY_NAME}-perf ${BINARY_NAME}-perf.3dsx --smdh=${BINARY_NAME}.smdh
|
||||
|
|
Loading…
Reference in New Issue