afef35c1c0
Implement RtlRandom (which despite its name is located in Xam, not xboxkrnl, which is why its not in xboxkrnl_rtl) Stub XamVoiceSubmitPacket Stubs for __CAP_Start_Profiling/End_Profiling/Enter_Function/Exit_Function add a note about io_status_block in NtDeviceIoControlFile, change the param's type move the X_IOCTL_ constants from NtDeviceIoControlFile's body into xbox.h add X_STATUS_INVALID_IMAGE_FORMAT to xbox.h Implement XexLoadImageHeaders Much more correct version of IoCreateDevice, properly initializes/allocates device extension data Stub version of IoDeleteDevice Open the quickstart guide in the browser the first time a user opens the emulator Add some persistent flags that are stored in the registry on windows, not in the config. These are just used to indicate whether one-time tasks have run, like showing the quickstart guide. On non-windows platforms a default value is returned that skips any of these tasks so they don't run every single time.
chris
2023-07-23 14:26:10 -04:00
ba936e8038
Don't have controller hotkeys enabled by default
Margen67
2023-07-21 13:13:40 -07:00
7c5b9372e7
[App] Misc App fixes
Adrian
2023-07-10 20:41:44 +01:00
a620397b35
Exclude wiki from appveyor
Margen67
2023-07-05 02:45:00 -07:00
dcb98683cf
Replace most magic numbers from previous commit with named constants, if the constants names are known. Instead of low 32 bits of ptr, use hash of file path for sector information.
chss95cs@gmail.com
2023-05-01 09:32:33 -04:00
b270c59d0c
Check for null string passed to Win32Thread::set_name
chss95cs@gmail.com
2023-04-30 13:22:49 -04:00
c86233cc80
Detect corrupted xiso images that have file entries that are out of range and show a fatal error.
chss95cs@gmail.com
2023-04-23 12:52:03 -04:00
2fa2f1a78c
Add more wrapper functions to ppc_context_t in kernel, want to switch… … over to referencing state through ppc_context as much as possible, it'll make implementing things like kernel processes much easier in the future
chss95cs@gmail.com
2023-04-23 10:39:52 -04:00
caddaa509a
[UI] Disable achievements notifications from default to prevent ingame spam
Gliniak
2023-04-23 10:55:49 +02:00
1f86dc0454
Check for and allow null critical sections, but log them. stub XeKeysGetConsoleType Removed the breakpoints in HandleCppException and RtlRaiseException until we have a real implementation of them. Some apps can continue fine afterwards. Stub version of HalGetCurrentAVPack Implement MmIsAddressValid Implement RtlGetStackLimits
chss95cs@gmail.com
2023-04-16 17:34:46 -04:00
27c4cef1b5
Added logger flags, for selectively disabling categories of logging (cpu, apu, kernel). Need to make more log messages make use of these flags. The "close window" keyboard hotkey (Guide-B) now toggles between loglevel -1 and the loglevel set in your config. Added LoggerBatch class, which accumulates strings into the threads scratch buffer. This is only intended to be used for very high frequency debug logging. if it exhausts the thread buffer, it just silently stops. Cleaned nearly 8 years of dust off of the pm4 packet disassembler code, now supports all packets that the command processor supports. Added extremely verbose logging for gpu register writes. This is not compiled in outside of debug builds, requires LogLevel::Debug and log_guest_driven_gpu_register_written_values = true. Added full logging of all PM4 packets in the cp. This is not compiled in outside of debug builds, requires LogLevel::Debug and disassemble_pm4. Piggybacked an implementation of guest callstack backtraces using the stackpoints from enable_host_guest_stack_synchronization. If enable_host_guest_stack_synchronization = false, no backtraces can be obtained. Added log_ringbuffer_kickoff_initiator_bts. when a thread updates the cp's read pointer, it dumps the backtrace of that thread Changed the names of the gpu registers CALLBACK_ADDRESS and CALLBACK_CONTEXT to the correct names. Added a note about CP_PROG_COUNTER Added CP_RB_WPTR to the gpu register table Added notes about CP_RB_CNTL and CP_RB_RPTR_ADDR. Both aren't necessary for HLE Changed name of UNKNOWN_0E00 gpu register to TC_CNTL_STATUS. Games only seem to write 1 to it (L2 invalidate)
chss95cs@gmail.com
2023-04-16 12:42:42 -04:00
ab21e1e0f0
Several changes for timestamp bundle: Fully defined the structure. Single copy of it + single timer across all modules, managing it is now the responsibility of KernelState.
chss95cs@gmail.com
2023-04-16 10:08:01 -04:00
12c9135843
Merge branch 'xenia-project:master' into canary_experimental
chrisps
2023-04-16 09:11:39 -04:00
e75e0425e0
forward branch for double-clear condition in reserved store
chss95cs@gmail.com
2023-04-15 16:22:37 -04:00
7fb4b4cd41
Attempt to emulate reserved load/store more closely. can't do anything for stores of the same value that are done via a non-reserved store to a reserved location
chss95cs@gmail.com
2023-04-15 16:06:07 -04:00
887fda55c2
[SPIR-V] Remove temp reserve for 4 or less elements
Triang3l
2023-04-13 22:43:44 +03:00
75d805245d
[DXBC] discard pixels from kill with ROV instead of returning
Triang3l
2023-04-09 20:13:22 +03:00
22dd2e52e6
Temporarily disable prefetchw check, odd report from user who definitely has prefetchw, but it is not being reported as present
chss95cs@gmail.com
2023-04-02 17:11:08 -04:00
356300d14c
Do not check if we should show the prefetchw error message if we already have an avx error message. mtmsrd writes the EE bit only now.
chss95cs@gmail.com
2023-04-02 14:26:01 -04:00
6ccdc4d0df
setup initial value of MSR on ppc context Fixed PrefetchW feature check Added prefetchw check to startup AVX check, there should be no CPUs that support AVX but not PrefetchW. Init VRSAVE to all ones. Removed unused disable_global_lock flag.
chss95cs@gmail.com
2023-04-01 14:48:56 -04:00
baa2ff78d8
[Vulkan] Add missing stencil reference unpack in RT transfer + formatting fix
Triang3l
2023-03-30 22:40:40 +03:00
c238d8af55
[Vulkan] Fix FragStencilRef store type
Triang3l
2023-03-30 22:28:56 +03:00
8678becda6
[XAM] StartupEx
Adrian
2023-03-12 17:20:06 +00:00
23bd18cfca
[GPU] Check if memory page is available while copying data
Gliniak
2023-03-11 16:20:01 +01:00
eb5da8e557
[UI] Changed default UI font to Tahoma. If it's not available use embedded font
Gliniak
2023-03-10 13:50:22 +01:00
9fa6e94772
[Achievements] Present notification in language selected by user
Gliniak
2023-03-08 13:24:55 +01:00
202ab76300
[Kernel] Changed default notification position
Gliniak
2023-03-08 10:59:08 +01:00
0ec65be5ff
[UI] Notification & Custom Font Support
Gliniak
2023-02-28 12:55:29 +01:00
069d33c03f
[XAM] Implemented Functions
Adrian
2023-03-01 14:43:24 +00:00