Commit Graph

5673 Commits

Author SHA1 Message Date
gibbed
60681eeb23 [Base] Add xe::utf8::count. 2020-04-13 12:57:14 -05:00
gibbed
e03368c37e [XAM] Fix args of XamUser*ProfileSettings(Ex).
- Update arguments of XamUserReadProfileSettings/
  XamUserReadProfileSettingsEx.
- Fix arguments of XamUserWriteProfileSettings.
2020-04-13 12:57:14 -05:00
gibbed
3c8493dea2 [XAM] Clean up user index handling & stub.
- Clean up user index handling in XamUserGetXUID,
  XamUserGetSigninState, XamUserReadProfileSettings,
  XamUserWriteProfileSettings, XamUserCheckPrivilege,
  XamUserContentRestrictionGetFlags, XamUserAreUsersFriends.
  A user index of 0xFF does not mean anything special and is outright
  invalid.
- Move XamUserReadProfileSettings code to new
  xeXamUserReadProfileSettingsEx.
- Implement XamUserReadProfileSettings/XamUserReadProfileSettingsEx
  which now call xeXamUserReadProfileSettingsEx.
- Reorganized xeXamUserReadProfileSettingsEx so that the needed buffer
  size is checked before user index is validated, so that calls to
  determine necessary buffer size return correctly instead of an error
  about invalid user index.
- Stub XamUserIsOnlineEnabled.
2020-04-13 12:57:14 -05:00
gibbed
134067d25e [XMA] Add default case in av_log_callback. 2020-04-13 12:57:14 -05:00
gibbed
ce955e5aaa [XMA] Reorganize ReadRegister/WriteRegister a bit in XmaDecoder. 2020-04-13 12:57:14 -05:00
gibbed
e99916b352 [Kernel] Clean up XAM registration function declarations. 2020-04-13 12:57:14 -05:00
Gliniak
a87c3785ee Template for 0xFE message: 0x21012
FYI: This message don't have length
2020-04-13 10:39:29 -05:00
Rados??aw Gli??ski
64dbd9936e "Template" for 0xFE message: 0x22005 2020-04-13 10:39:29 -05:00
Silent
f775fe8c83 [CPU] Fix off-by-one in max ordinals check 2020-04-12 21:53:46 -05:00
Silent
9205a6b062 [Kernel] Fixup GetProcAddressByOrdinal
Now properly takes a global lock when populating guest_trampoline_map_
as opposed to taking and immediately releasing it
Also removes a redundant find() from guest_trampoline_map_
so map is not searched twice if the function has already been generated.
2020-04-12 21:53:46 -05:00
Triang3l
5795d25afe [D3D12] Remove runtime check of cvars::d3d12_edram_rov 2020-04-12 20:48:35 +03:00
Triang3l
0f0ed0eb21 [DXBC] RDEF enums, ISGN/PCSG/OSGN structs and enums 2020-04-11 20:25:37 +03:00
gibbed
112c66df69 [UI] Fix window file drop handling. 2020-04-10 08:33:53 -05:00
gibbed
e0f3458026 [Kernel] Maybe stub DmGetXbeInfo better. 2020-04-09 17:54:40 -05:00
gibbed
fe016cc60c [Kernel] Fix vswprintf debug log. 2020-04-09 17:54:22 -05:00
gibbed
15866274a8 [Kernel] Stub a few more XBDM functions. 2020-04-09 16:59:37 -05:00
gibbed
54da6773ab [Core] Fix reg alignment in crash dump output. 2020-04-09 16:49:24 -05:00
Triang3l
f365ab5e6d [D3D12] Fix wrong comment about adaptive tessellation 2020-04-09 22:26:47 +03:00
gibbed
0d010a2e3d [VFS] Fix data fragment path for multi-file STFS. 2020-04-09 11:33:08 -05:00
gibbed
ed04d96e67 Avoid using '#' format spec for X hex numbers.
Avoid using '#' format spec for X (uppercase) hex numbers, as it
results in output like "0XABCDEF" instead of "0xABCDEF".
2020-04-09 11:25:08 -05:00
gibbed
01f7ad7ddf [Core] Fix guest crash handler crash/output.
- [Core] Fix guest crash handler crash due to bad format string.
- [Core] Fix guest crash handler outputting signed values for
  vectors.
2020-04-09 11:06:48 -05:00
Sandy Carter
e605eef781 filesystem: remove unused includes of header 2020-04-09 09:44:48 -05:00
Sandy Carter
fc5153bca1 filesystem: use std for DeleteFile
Remove custom platform implementation of `DeleteFile` and replace single
use with `std::filesystem::remove` after a negative
`std::filesystem::is_directory` check.
2020-04-09 09:44:48 -05:00
Sandy Carter
df65de231f filesystem: use std for DeleteFolder
Remove custom platform implementation of `DeleteFolder` and replace two
uses with `std::filesystem::remove_all` which removes a file or
directory with all its contents.
2020-04-09 09:44:48 -05:00
Sandy Carter
69bcf59c79 filesystem: use std for CreateFolder
Remove custom platform implementation of `CreateFolder` and replace uses
with `std::filesystem::create_directories` which creates paths
recursively.
2020-04-09 09:44:48 -05:00
Sandy Carter
c8e64da4eb filesystem: use std for PathExists
Remove custom platform implementation of `PathExists` and replace uses
with `std::filesystem::exists`.
2020-04-09 09:44:48 -05:00
Sandy Carter
a9fa38c88b filesystem: use std for IsFolder
Remove custom platform implementation of IsFolder and replace
single use with `std::filesystem::is_directory`.
2020-04-09 09:44:48 -05:00
Joel Linn
05a62673f7 [SDL2] Redirect log messages into our system. 2020-04-08 21:55:56 -05:00
Joel Linn
11d79c6c1c [SDL2] Remove delayed loading code. 2020-04-08 21:55:56 -05:00
Joel Linn
804384c19c [SDL2] On Win, build and link statically.
Keep using system lib dynamically on Unix.
2020-04-08 21:55:56 -05:00
Joel Linn
9828e085b0 Fix building premake on Windows.
Broken before when vswhere emitted unicode characters.
2020-04-08 16:17:06 -05:00
Joel Linn
72f19a60a9 [Docs] Update building instructions for Linux. 2020-04-08 16:17:06 -05:00
Joel Linn
c8ab1e9f36 Replace deprecated gmake with gmake2 action.
https://github.com/premake/premake-core/issues/1099
2020-04-08 16:17:06 -05:00
Joel Linn
df1ee6268f Linux development environment.
- Fix CodeLite project generation.
- Implement `xb devenv` for CodeLite.
2020-04-08 16:17:06 -05:00
Triang3l
acb3778819 [D3D12] Adaptive quad tessellation, remove d3d12_tessellation_adaptive cvar 2020-04-09 00:00:11 +03:00
gibbed
c51cba080b Fix some bad string formats. 2020-04-08 13:05:37 -05:00
gibbed
b37579fad2 [Base] Fix path parsing from commandline. 2020-04-08 12:31:00 -05:00
gibbed
637a8464a7 Update premake. 2020-04-08 09:02:56 -05:00
Triang3l
7e27427c4a [D3D12] SV_Position is not necessary in VS if it's in DS/GS 2020-04-08 12:54:35 +03:00
Triang3l
7cf3a75ab1 [D3D12] Fix and enable triangle adaptive tessellation 2020-04-08 00:26:49 +03:00
gibbed
8123978c49 [PPC] Disable frsqrte tests. 2020-04-07 16:09:41 -05:00
gibbed
56e5d6f11c Fix precision of test register in frsqrte test. 2020-04-07 16:09:41 -05:00
gibbed
2393381cff Make 'xb test' also run xenia-base-tests. 2020-04-07 16:09:41 -05:00
gibbed
f0eb272acc Add UTF8 tests. 2020-04-07 16:09:41 -05:00
gibbed
37e576e648 [PPC] Prettier printing for failed memory checks.
[PPC] Prettier printing for failed memory checks in tests.
2020-04-07 16:09:41 -05:00
gibbed
a48bb71c2f Overhaul logging. 2020-04-07 16:09:41 -05:00
gibbed
de3c91ab2c Add disruptorplus submodule. 2020-04-07 16:09:41 -05:00
gibbed
bbb3445b53 Mark C4839/C4840 as severe warnings.
Mark C4839 and C4840 as severe warnings:

- C4839: non-standard use of class 'type' as an argument to a variadic function
- C4840: non-portable use of class 'type' as an argument to a variadic function
2020-04-07 16:09:41 -05:00
gibbed
5bf0b34445 C++17ification.
C++17ification!

- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
  std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00
gibbed
114cea6fb7 Add fmt submodule. 2020-04-07 16:09:41 -05:00