Merge pull request #73 from Istador/pr-small-fixes

Small fixes
This commit is contained in:
CraftyBoss 2024-10-26 13:54:58 -07:00 committed by GitHub
commit 9655101978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 4 deletions

View file

@ -22,7 +22,7 @@ jobs:
steps: steps:
- -
name : Checkout name : Checkout
uses : actions/checkout@v3 uses : actions/checkout@v4
- -
name : Build artifacts name : Build artifacts
id : build id : build
@ -35,7 +35,7 @@ jobs:
id : set-output id : set-output
shell : bash shell : bash
run : | run : |
echo "::set-output name=filename-${{ matrix.emu }}::${{ steps.build.outputs.filename }}" echo "filename-${{ matrix.emu }}=${{ steps.build.outputs.filename }}" >> $GITHUB_OUTPUT
release: release:
needs: build needs: build

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/linkerscripts/symstemp.ld
starlight_patch_100/** starlight_patch_100/**
build100/** build100/**
romfs stuff/** romfs stuff/**

View file

@ -11,7 +11,6 @@
class GameModeManager { class GameModeManager {
SEAD_SINGLETON_DISPOSER(GameModeManager) SEAD_SINGLETON_DISPOSER(GameModeManager)
GameModeManager(); GameModeManager();
~GameModeManager();
public: public:
void setMode(GameMode mode); void setMode(GameMode mode);

View file

@ -439,6 +439,8 @@ bool SocketClient::tryReconnect() {
if (init(sock_ip, port).isSuccess()) { // call init again if (init(sock_ip, port).isSuccess()) { // call init again
Logger::log("Reconnect Successful.\n"); Logger::log("Reconnect Successful.\n");
return true; return true;
} else {
nn::os::SleepThread(nn::TimeSpan::FromSeconds(1));
} }
} }

View file

@ -91,7 +91,7 @@ StageSceneStateServerConfig::StageSceneStateServerConfig(
void StageSceneStateServerConfig::init() { void StageSceneStateServerConfig::init() {
initNerve(&nrvStageSceneStateServerConfigMainMenu, 0); initNerve(&nrvStageSceneStateServerConfigMainMenu, 0);
#ifdef EMU #if EMU
char ryujinx[0x10] = { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; char ryujinx[0x10] = { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
nn::account::Uid user; nn::account::Uid user;
nn::account::GetLastOpenedUser(&user); nn::account::GetLastOpenedUser(&user);