Skip to content

Conversation

bwrsandman
Copy link
Contributor

These are filesystem and string changes to the emulator to work better on Linux. The changes help getting Xenia up and running but they need to be combined with the other Linux PRs to see the full working benefit. See #1430.

Changes

Previous state

  • Xenia was failing to log as it was creating a directory called xenia.log and was unable to open a file there.
  • The open file dialog was broken.

State after fix coupled with other Linux fixes

  • The xenia app boots up and you can select a ROM from filesystem.
  • Xenia will load the ROM and logs data about it. It also logs guest-to-host calls.

@bwrsandman bwrsandman mentioned this pull request Aug 14, 2019
17 tasks
@x1nixmzeng
Copy link
Contributor

This looks good; in future it may be worth defining the expected path seperator used by the xbox somewhere useful

The tests you've added could perhaps be expanded to test resolving canonicalized paths correctly

@sl1pkn07
Copy link

sl1pkn07 commented Mar 2, 2020

seems need rebase

greetings

@bwrsandman
Copy link
Contributor Author

Removed the use of templates to unify wstrings and strings as was mentioned by one of the maintainers in an earlier PR.

@bwrsandman bwrsandman force-pushed the linux_filesystem branch 2 times, most recently from e6fb0e5 to 03145ba Compare April 8, 2020 21:17
@bwrsandman bwrsandman force-pushed the linux_filesystem branch 3 times, most recently from 34098b0 to bfa387d Compare April 9, 2020 15:01
Copy link
Member

@JoelLinn JoelLinn left a comment

Choose a reason for hiding this comment

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

There is some things duplicated from other PRs so I didn't comment on those, assuming they will be discussed/fixed and merged first.

@bwrsandman bwrsandman force-pushed the linux_filesystem branch 5 times, most recently from f76b800 to 0d31ef7 Compare November 22, 2020 16:51
bwrsandman and others added 4 commits May 17, 2021 11:15
va_list are not guarenteed to maintain their values after being used.
With clang on Linux, args is undefined after fetching length and will print
"(null)".
Copy args into another va_list before getting length to prevent this.
Add tests.
Print build version and date in the same way as the windows main
Skip recursive "." and ".." paths.
Join paths instead of concatenating them.
Assert stat return code.
Remove unused platform_linux reference.
Replace C-style header uses.
Replace C-style NULL with nullptr.
Replace stdlib assert with xenia assert.
Fix spelling
Fill in name, path and total_size.
Correct convertUnixtimeToWinFiletime which was using deprecated stat
function without nanoseconds. It now includes nanoseconds.
Add unit test for file and folder info.
@JoelLinn
Copy link
Member

@bwrsandman You can remove the last clock commit from this PR, it's in master now

@Triang3l
Copy link
Member

Triang3l commented Jun 19, 2021

@bwrsandman You can remove the last clock commit from this PR, it's in master now

Done! :)

@mirh
Copy link

mirh commented Oct 16, 2021

Needs another rebase after 6ce5330

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

Successfully merging this pull request may close these issues.

8 participants