#define CATCH_CONFIG_COLOUR_NONE #define CATCH_CONFIG_CONSOLE_WIDTH 50 // Console width for top screen (bottom screen only has 40 columns) #include #include <3ds.h> int main(int argc, char** argv) { gfxInit(GSP_RGBA8_OES, GSP_RGBA8_OES, false); consoleInit(GFX_TOP, NULL); std::vector fixed_argv; std::copy(argv, argv + argc, std::back_inserter(fixed_argv)); fixed_argv.push_back("--colour-mode"); fixed_argv.push_back("none"); Catch::Session session; session.applyCommandLine( fixed_argv.size(), fixed_argv.data() ); (void)session.run(); while (aptMainLoop()) { hidScanInput(); u32 kDown = hidKeysDown(); if (kDown & KEY_B) { break; } } gfxExit(); }