Triang3l
e720e0a540
[Code] Remove game names from code comments (most of at least)
2021-09-05 21:27:40 +03:00
Triang3l
6ce5330f5f
[UI] Loop thread to main thread WindowedAppContext
2021-08-28 19:38:24 +03:00
Triang3l
f540c188bf
[Lint] Revert incorrect clang-format changes
2021-08-26 21:18:18 +03:00
Triang3l
7edfdc2672
Merge branch 'master' into linux_windowing
2021-08-26 22:58:14 +03:00
gibbed
a3535be416
[CPU] Suppress C4065 warning in SyscallHandler.
2021-06-29 02:41:29 -05:00
gibbed
0cf4cab59b
[CPU] Add syscall handler.
2021-06-28 20:32:52 -05:00
gibbed
6c0d03fad3
[CPU] Reduce complexity of Value::Round.
2021-06-28 20:32:52 -05:00
Joel Linn
d87bf995e1
Satisfy linter
...
Apply changes suggested by clang-format-12
2021-06-27 16:33:35 -05:00
emoose
c889a8af3f
[CPU] Load alt-title-ids XEX header into XexModule::opt_alternate_title_ids_
2021-06-25 23:48:25 -05:00
emoose
e3c14419f6
[CPU/XEX] Use correct size for XEXP-patched header buffer
2021-06-06 04:50:21 -05:00
Joel Linn
ceb382f8ec
Update Catch2 test framework
...
- Use their main() method to fix command line options. Fix CLion testing
- Change to correct tag syntax.
2021-06-02 22:28:43 -05:00
Joel Linn
fa7f292432
[CPU] ResolveFunction() Fix declaration mismatch
2021-06-02 22:28:43 -05:00
Joel Linn
5284075cf9
[CPU] Misc GCC build fixes
2021-06-02 22:28:43 -05:00
Joel Linn
86722be9ca
[Base] Make Arena alignment aware
...
- Add align parameter
- Templated Alloc() implicitly aligns type correctly
- Rewind may leak padding that was added due to alignment
2021-06-02 22:28:43 -05:00
Joel Linn
a86d7173e1
Refactor FourCC magic uses
...
- Use new fourcc_t type
- Improves compiler compatibility by removing multi chars
2021-06-02 22:28:43 -05:00
Triang3l
ff23b1d9f9
[x64] LoadConstantXmm: Don't load -0 as +0 + cleanup
2021-05-16 14:26:57 +03:00
gibbed
38c3db1afb
[CPU/Kernel] Transparently byteswap xex2_version.
2021-05-01 17:29:05 -05:00
emoose
bb7c5b8266
[CPU/XEX] Move SecurityInfo conversion code to ReadSecurityInfo & call that during ApplyPatch
2021-01-31 23:18:54 -06:00
Triang3l
e348d6361e
[PPC] Disable frsqrte tests in a way not breaking the rest
2020-12-12 14:00:29 +03:00
Triang3l
5c47a3a588
[x64] vcfux single rounding for 0x80000000+
2020-12-11 21:20:13 +03:00
Triang3l
d0b849aad7
[PPC] vcfsx/vcfux: Only mul if needed
2020-12-10 21:34:37 +03:00
Triang3l
cb93ddf873
[PPC] vcfsx/vcfux optimization/simplification
2020-12-10 21:29:33 +03:00
Triang3l
db1d6b1fef
[PPC] Fix test suite name being ignored
2020-12-10 21:27:26 +03:00
gibbed
1513dd235b
[Kernel] Code reentrance for guest fibers.
...
[Kernel] Code reentrance using exceptions for guest fibers.
2020-12-05 14:17:33 -06:00
gibbed
326220309b
[x64] Handle constant in LOG2_F32/F64/V128.
2020-11-27 05:34:08 -06:00
Triang3l
a73592c2ef
[Memory/CPU] UWP: Support separate code execution and write memory, FromApp functions + other Windows memory fixes
2020-11-24 22:18:50 +03:00
Triang3l
86ae42919d
[Memory] Close shared memory FD and properly handle its invalid value
2020-11-22 14:17:37 +03:00
Sandy Carter
49e194009b
[memory linux] Properly unlink shared memory
...
shm_unlink(name) is the proper way to close a shared memory in linux.
Prior to this, xenia was creating and not cleaning up shared memory handle
which would accumulate in /dev/shm. shm_unlink is the proper way of doing
this.
Add filename to CloseFileMappingHandle signature.
Add simple test to open and close.
2020-11-22 13:54:00 +03:00
Sandy Carter
2c7009ca80
[memory] Move "Local\\" prefix to win impl
...
CreateFileMappingHandle now takes shared memory name without a prefix.
The doc of shm_open recommends not using slashes and prefixing with "/".
The prefixing has been moved to the os implementation layer.
Invocations of CreateFileMappingHandle were all using "Local\\" so these
prefixes were removed.
2020-11-22 13:54:00 +03:00
Joel Linn
06214c544a
[CPU] std::sort compare: satisfy comp(a,a)==false
2020-11-14 13:30:06 -06:00
Triang3l
9428af52e4
[CPU] break_on_unimplemented_instructions cvar
2020-08-09 22:01:54 +03:00
gibbed
814728ebbe
[x64] Space r/xmm regs in thunk emitter.
2020-04-13 12:57:14 -05:00
Silent
f775fe8c83
[CPU] Fix off-by-one in max ordinals check
2020-04-12 21:53:46 -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
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
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
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
Margen67
b3d1c5982a
[CPU] Typo fix
2020-03-07 19:39:56 -06:00
gibbed
aa28430786
[x64] NAN up vmsum3fp128/vmsum4fp128.
...
It seems vmsum3fp128/vmsum4fp128 need to output a NAN on overflow.
Do so. Probably inefficiently.
2020-02-24 18:13:07 -06:00
gibbed
a6e6f0f7bf
Lint cleanup.
2020-02-22 13:29:07 -06:00
Joel Linn
64539621b4
Replace binary_function by plain function.
...
- Deprecated in C++11
- Removed in C++17
2020-02-20 06:44:09 -06:00
Triang3l
8ec813de82
[Memory, D3D12] Various refactoring from data provider development
2020-02-15 21:35:24 +03:00
gibbed
cc47704a6b
[CPU] Use reserved form of sc for imports.
2020-02-11 06:45:57 -06:00
gibbed
e2346ee539
[PPC] Support basic form of sc.
2020-02-11 06:45:57 -06:00
Rados??aw Gli??ski
404aa82147
[CPU] Implemented instructions: rldclx, rldcrx
2020-02-09 16:48:50 -06:00
Gliniak
0d866aa173
[CPU] Increased maximum function count
2020-02-09 15:47:29 -06:00
Prism Tutaj
1cce25d5e7
[CPU] Change thunk layout and fix Linux thunk misalignment
2020-02-05 09:49:29 -06:00
Joel Linn
922f1f220a
[CPU] Implement mftb instruction natively.
...
When the cvars clock_no_scaling and clock_source_raw are set, tick counts will be directly calculated in the emitted code.
2019-12-01 17:11:58 -06:00