This commit is contained in:
2022-09-26 23:22:38 +02:00
parent 83382c4e31
commit d9b7544a04
39 changed files with 3197 additions and 9 deletions

91
.vscode/tasks.json vendored
View File

@@ -34,6 +34,97 @@
"showReuseMessage": true,
"clear": false
}
},
{
"label": "make debug",
"type": "process",
"command": "make",
"args": [
"DEBUG=1"
],
"problemMatcher": []
},
{
"label": "make release",
"type": "process",
"command": "make",
"args": [
"DEBUG=0"
],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "clean",
"type": "process",
"command": "make",
"args": [
"clean"
],
"problemMatcher": []
},
{
"label": "run",
"type": "shell",
"isBackground": true,
"command": "desmume-cli",
"args": [
"${workspaceFolder}/${workspaceFolderBasename}.nds"
],
"presentation": {
"clear": true,
"reveal": "always"
},
"problemMatcher": []
},
{
"label": "gdb-debug",
"type": "shell",
"dependsOn": [
"make debug"
],
"isBackground": true,
"command": "desmume-cli",
"args": [
"${workspaceFolder}/${workspaceFolderBasename}.nds",
"--arm9gdb",
"20000"
],
"presentation": {
"clear": true,
"reveal": "always"
},
"problemMatcher": [
{
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": ".",
}
}
]
},
{
"label": "stop-emulation",
"type": "shell",
"command": "pkill",
"args": [
"--signal",
"9",
"desmume-cli"
],
"problemMatcher": []
}
]
}