-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added VSCode configs, added list of supported arcade games, better se…
…lection of machine, fixed pause on old consoles.
- Loading branch information
1 parent
77d4e59
commit 49c2f29
Showing
11 changed files
with
332 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Mac", | ||
"includePath": [ | ||
"/usr/local/include", | ||
"${workspaceFolder}", | ||
"${workspaceFolder}/include", | ||
"${workspaceFolder}/build", | ||
"/opt/devkitPro/libnds/include", | ||
"/opt/devkitPro/devkitARM/arm-none-eabi/include", | ||
"/opt/devkitPro/devkitARM/lib/gcc/arm-none-eabi/10.2.0/include" | ||
], | ||
"defines": [], | ||
"intelliSenseMode": "clang-x64", | ||
"browse": { | ||
"path": [ | ||
"/usr/local/include", | ||
"${workspaceFolder}", | ||
"${workspaceFolder}/include", | ||
"/opt/devkitPro/libnds/include", | ||
"/opt/devkitPro/devkitARM/arm-none-eabi/include", | ||
"/opt/devkitPro/devkitARM/lib/gcc/arm-none-eabi/10.2.0/include" | ||
], | ||
"limitSymbolsToIncludedHeaders": true, | ||
"databaseFilename": "" | ||
}, | ||
"macFrameworkPath": [ | ||
"/System/Library/Frameworks", | ||
"/Library/Frameworks" | ||
] | ||
}, | ||
{ | ||
"name": "Linux", | ||
"includePath": [ | ||
"/usr/include", | ||
"/usr/local/include", | ||
"${workspaceFolder}/include" | ||
], | ||
"defines": [], | ||
"intelliSenseMode": "clang-x64", | ||
"browse": { | ||
"path": [ | ||
"/usr/include", | ||
"/usr/local/include", | ||
"${workspaceFolder}/include" | ||
], | ||
"limitSymbolsToIncludedHeaders": true, | ||
"databaseFilename": "" | ||
} | ||
}, | ||
{ | ||
"name": "Win32", | ||
"includePath": [ | ||
"${workspaceFolder}", | ||
"${workspaceFolder}/include", | ||
"C:/devkitPro/devkitARM/arm-none-eabi/include", | ||
"C:/devkitPro/devkitARM/lib/gcc/arm-none-eabi/10.2.0/include" | ||
], | ||
"defines": [ | ||
"_DEBUG", | ||
"UNICODE", | ||
"_UNICODE", | ||
"ARM7", | ||
"WIN32" | ||
], | ||
"intelliSenseMode": "msvc-x64", | ||
"browse": { | ||
"path": [ | ||
"${workspaceFolder}", | ||
"${workspaceFolder}/include", | ||
"C:/devkitPro/devkitARM/arm-none-eabi/include", | ||
"C:/devkitPro/devkitARM/lib/gcc/arm-none-eabi/10.2.0/include" | ||
], | ||
"limitSymbolsToIncludedHeaders": true, | ||
"databaseFilename": "" | ||
}, | ||
"cStandard": "c11", | ||
"cppStandard": "c++17" | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "2.0.0", | ||
"configurations": [ | ||
{ | ||
"name": "(gdb) Launch", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"preLaunchTask": "gdb-debug", | ||
"postDebugTask": "stop emulation", | ||
"serverLaunchTimeout": 10000, | ||
"stopAtEntry": true, | ||
"program": "${workspaceFolder}/${workspaceFolderBasename}.elf", | ||
"MIMode": "gdb", | ||
"externalConsole": true, | ||
"cwd": "${workspaceFolder}", | ||
"targetArchitecture": "arm", | ||
"miDebuggerServerAddress": "localhost:2345", | ||
"windows": { | ||
"miDebuggerPath": "C:/devkitPro/devkitARM/bin/arm-none-eabi-gdb.exe", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"ignoreFailures": true, | ||
"text": "file ${workspaceFolder}/${workspaceFolderBasename}.elf -enable-pretty-printing" | ||
}] | ||
}, | ||
"osx":{ | ||
"miDebuggerPath": "/opt/devkitPro/devkitARM/bin/arm-none-eabi-gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"ignoreFailures": true, | ||
"text": "file ${workspaceFolder}/${workspaceFolderBasename}.elf -enable-pretty-printing" | ||
}] | ||
}, | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "stop emulation", | ||
"type": "shell", | ||
"windows": { | ||
"command": "taskkill /im mGBA.exe /F" | ||
}, | ||
"osx": { | ||
"command": "killall mGBA" | ||
} | ||
}, | ||
{ | ||
"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": "shell", | ||
"command": "make clean" | ||
}, | ||
{ | ||
"label": "gdb-debug", | ||
"type": "shell", | ||
"dependsOn": [ | ||
"make debug" | ||
], | ||
"isBackground": false, | ||
"windows": { | ||
"command": "C:/mGBA/mGBA.exe -g ${workspaceFolder}/${workspaceFolderBasename}.nds;sleep 5;echo debuggerReady" | ||
}, | ||
"osx": { | ||
"command": "/Applications/desmume.app/Contents/MacOS/desmume", | ||
"args": [ | ||
"-g", | ||
"${workspaceFolder}/${workspaceFolderBasename}.nds" | ||
] | ||
}, | ||
"presentation": { | ||
"clear": true, | ||
"reveal": "always", | ||
"panel": "new" | ||
}, | ||
"command": "debuggerReady", | ||
"problemMatcher": { | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": "^.*debuggerReady.*$", | ||
"endsPattern": "^.*debuggerReady.*$" | ||
} | ||
} | ||
}, | ||
{ | ||
"label": "run", | ||
"type": "shell", | ||
"isBackground": true, | ||
"command": "C:/NO$GBADebugger/NO$GBA.exe ${workspaceFolder}/${workspaceFolderBasename}.elf", | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.