Skip to content

Conversation

@ITotalJustice
Copy link

hi! i saw your issue at #2 and thought i'd help.

I've simplified the cmake quite a bit, and tried to keep it inline with upstream, should you ever want to upstream the switch port.

i removed some of the files that you added for the switch port, such as fpattern source and a couple of cmake files.

i also removed the stray nsInitialize() and fsInitialize(). fs is automatically init upon startup, and i can't see anywhere ns is used so i removed it. sdmc is also automatically mounted.

userAppInit() is called before main(), typically you'd add all service inits here. userAppExit() is called when main exits, you'd add all service de-inits here.

appletLockExit() blocks the game from closing (when using the home menu to close the application) until appletUnlockExit() is called. This allows for a clean exit and removes the risk of corrupting files, should the user try to close the game whilst a file is being written to.

to build:

cmake --preset switch
cmake --build --preset switch

the debug (dev) build doesn't compile due to missing symbols, i didn't try to fix them.


NOTE: i haven't actually tested any of this code - i don't own fallout 😄 please let me know if anything broke, or need further help 👍🏼

@ryandeering
Copy link
Owner

Hey! Just wanted to say I appreciate you taking a look!

I'll take a closer look and build myself + test as soon as I get the chance :)

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.

2 participants