Skip to content

Nintendo Switch homebrew port - #1

Draft
RadiantDelux wants to merge 6 commits into
developfrom
switch-port
Draft

Nintendo Switch homebrew port#1
RadiantDelux wants to merge 6 commits into
developfrom
switch-port

Conversation

@RadiantDelux

Copy link
Copy Markdown
Owner

Work in progress port of the current OpenRCT2 codebase to Nintendo Switch homebrew using devkitPro/libnx and SDL2.

Initial goals:

  • reproducible devkitA64 CI build
  • Switch platform UI context
  • static cross-build with optional desktop services disabled
  • produce an NRO package
  • iterate on platform, input, audio and runtime compatibility

This PR is intentionally draft while the bring-up is still in progress.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please commit the suggested changes from clang-format.

{
return std::make_unique<SwitchContext>();
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
} // namespace OpenRCT2::Ui

Comment on lines +11 to +13
#include <memory>
#include <SDL.h>
#include <openrct2/ui/UiContext.h>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#include <memory>
#include <SDL.h>
#include <openrct2/ui/UiContext.h>
#include <SDL.h>
#include <memory>
#include <openrct2/ui/UiContext.h>


#ifdef __SWITCH__

#include "UiContext.h"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#include "UiContext.h"
#include "UiContext.h"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant