Skip to content

Linux support (Page Fault handling, build fixes)#3

Open
PlatinumMaster wants to merge 3 commits into
Brawlback-Team:rollbackfrom
PlatinumMaster:rollback
Open

Linux support (Page Fault handling, build fixes)#3
PlatinumMaster wants to merge 3 commits into
Brawlback-Team:rollbackfrom
PlatinumMaster:rollback

Conversation

@PlatinumMaster

Copy link
Copy Markdown

There were some issues which prevented the emulator from building on Linux, so I corrected those in order to get it built on Linux. This supersedes #2 which aimed to fix the same problem (which I found out after fixing the issues already), but now with the latest GekkoNet/EXI code.

@PlatinumMaster
PlatinumMaster marked this pull request as draft June 6, 2026 14:48
@PlatinumMaster
PlatinumMaster marked this pull request as ready for review June 6, 2026 16:06
@WhiteTPoison
WhiteTPoison force-pushed the rollback branch 2 times, most recently from 22ea663 to b672d30 Compare June 11, 2026 17:07
@PlatinumMaster PlatinumMaster changed the title Fix Linux CMake build Linux support (Page Fault handling, build fixes) Jun 17, 2026
#endif
// Brawlback
// We hijack faults first to see if they are expected
if (Core::System::GetInstance().GetMemory().HandleFault(bad_address)) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can put this in the below if statement like so (!...GetMemory().HandleFault() && !...GetPPC().HandleFault()) but just a code cleanliness thing, please test to make sure it works

@PlatinumMaster PlatinumMaster Jun 19, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I can combine the calls, unless there's a specific reason to keep them separate. I'll give this a proper look next week when I'm back.

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