Skip to content

Instantly share code, notes, and snippets.

View TurtleP's full-sized avatar

Serena Postelnek TurtleP

View GitHub Profile
{
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "underline",
"window.zoomLevel": 2,
"editor.fontFamily": "'Cascadia Code', Consolas, 'Courier New', monospace",
"workbench.iconTheme": "material-icon-theme",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"git.openRepositoryInParentFolders": "never",
"terminal.integrated.cursorStyle": "underline",
void Renderer<Console::CTR>::BindFramebuffer(Texture<Console::ALL>* texture)
{
if (!IsActiveScreenValid())
return;
this->EnsureInFrame();
FlushVertices();
this->context.target = this->targets[love::GetActiveScreen()].GetTarget();
Rect viewport = this->targets[love::GetActiveScreen()].GetViewport();
@TurtleP
TurtleP / README.md
Last active August 5, 2024 16:17
Visual Studio Code: Nintendo Homebrew C/C++ Config

Configurations for Nintendo Homebrew Compilation

Warning Committing the .vscode files to your git repo should not be done, as configurations are not fully portable.

The file c_cpp_properties.json contains configurations for Nintendo 3DS, Switch, and Wii U. This helps with intellisense. Create .vscode/c_cpp_properties.json in your project directory and then copy and paste the content as applicable.

This file was changed since it was uploaded to my GitHub repository to use the "env" JSON key. This is so more profiles can be easily created with defaults for each console and then adding extras, such as a debugging profile. On top of that, it was moved to a gist because they are much easier to update.