ergo720
ab67c61e6d
DeallocatePool
2018-04-28 22:05:07 +02:00
ergo720
e14b775b7e
AllocatePool
2018-04-28 22:05:06 +02:00
ergo720
125bc23d4f
Pool manager initialization
2018-04-28 22:05:06 +02:00
RadWolfie
2482b59a14
Fix VS 2015 errors
2018-04-28 10:31:49 -05:00
jarupxx
cb661c2906
D3D : Fix LTCG optimized SetTextureState functions
...
- D3DDevice_SetTextureState_TexCoordIndex_4
- D3DDevice_SetTextureState_BumpEnv_8
2018-04-27 21:57:51 +09:00
jarupxx
62a4460de7
D3D : LTCG optimized Direct3D_CreateDevice works like standard functions
2018-04-27 18:13:19 +09:00
jarupxx
5ca0f2a0cc
Merge remote-tracking branch 'upstream/master' into WIP_LTCG_Patch
2018-04-27 08:01:38 +09:00
jarupxx
fc74b31c85
OOVPA : Regression Fixes
2018-04-27 06:57:56 +09:00
patrickvl
e33243d466
D3D : Present overlay only when last present was more than 1 frame ago
2018-04-26 23:48:28 +02:00
Luke Usher
46887a60dc
Merge pull request #1089 from ergo720/eeprom_viewer
...
Eeprom viewer
2018-04-26 19:12:09 +01:00
PatrickvL
6740ba2776
D3D : Restructured EMUPATCH(D3DDevice_GetBackBuffer2) and disable the last use of EmuNewD3DSurface()
2018-04-26 18:44:49 +02:00
jarupxx
f32dd779cb
Set LOG_TEST_CASE to untested LTCG specific functions
2018-04-26 20:43:08 +09:00
jarupxx
7dc38ed0e1
Add patch for LTCG optimized functions
...
- Direct3D_CreateDevice_4
- Direct3D_CreateDevice_16
- D3DDevice_EndVisibilityTest_0 (UNTESTED)
- D3DDevice_LoadVertexShader_4
- D3DDevice_SelectVertexShader_0
- D3DDevice_SelectVertexShader_4 (UNTESTED)
- D3DDevice_GetViewportOffsetAndScale_0 (Broken)
- D3DDevice_SetStreamSource_4
- D3DDevice_SetPalette_4
- D3DDevice_SetFlickerFilter_0
- D3DDevice_DeleteVertexShader_0 (UNTESTED)
2018-04-26 20:13:54 +09:00
jarupxx
2764c3e463
Partly fix patch for LTCG optimized functions
...
- D3DDevice_SetTexture_4
- D3DDevice_SetPixelShader_0
TODO: XB_trampoline plus Log function is not working due lost parameter.
2018-04-26 20:13:54 +09:00
jarupxx
6929899a48
Change EmuD3DDeferred error to a warning
2018-04-26 20:13:54 +09:00
jarupxx
a2a326aac9
OOVPA : Improve more signatures
...
Lock3DSurface_16, 2048 is correct Lock2DSurface_16
D3DDevice_PersistDisplay_0 uses the general calling convention
2018-04-26 20:13:46 +09:00
jarupxx
afd256f784
OOVPA : Add Lock offset value
2018-04-26 19:39:55 +09:00
ergo720
55d0d36d3e
Merge remote-tracking branch 'upstream/master' into eeprom_viewer
2018-04-26 11:06:09 +02:00
ergo720
58c1065483
Fix NTSC bug
2018-04-26 10:17:22 +02:00
ergo720
c5bebdd3f2
Oops
2018-04-26 01:34:52 +02:00
ergo720
ccb76c4398
Small updates
2018-04-26 01:04:23 +02:00
ergo720
88739baba9
Finished eeprom menu
2018-04-25 23:54:59 +02:00
patrickvl
0e6c2f7b84
D3D : Added missing Release() calls on a few host resources. Put host resource pointers in local, not global variables. Renamed a few host resource variables.
2018-04-25 17:18:25 +02:00
PatrickvL
5dae9573a9
D3D : Simplified EMUPATCH(D3DDevice_SetRenderTarget) and renamed g_pCached(RenderTarget|DepthStencil|YuvSurface) to g_pXbox*
2018-04-24 18:31:43 +02:00
PatrickvL
208b227d22
D3D : Extra comments and alignment fixes
2018-04-24 18:27:01 +02:00
PatrickvL
fd6b56b4a5
D3D : In EmuCreateDeviceProxy, don't call GetRenderTarget (as the result isn't used) and avoid a dangling reference by Release()'ing the result of GetDepthStencilSurface()
2018-04-24 18:17:20 +02:00
PatrickvL
1ca37de8ab
D3D : Clear g_EmuCDPD before initializing it in EmuD3DInit()
2018-04-24 18:15:44 +02:00
patrickvl
407cccba78
D3D : In our CreateDevice, trigger EmuCreateDeviceProxy with Xbox PresentationParameters
2018-04-23 23:57:22 +02:00
Luke Usher
640d5570f1
Rebase on latest master
2018-04-23 10:57:55 +01:00
jarupxx
d4bed0c3c4
OOVPA : Fix g_Stream symbol detection for LTCG
2018-04-23 18:51:11 +09:00
Luke Usher
a24cb08566
Replace EmuX86/Distorm interpreter with Unicorn
2018-04-23 09:51:04 +01:00
ergo720
42873e36f0
Clean memory.bin during boot and quick reboots
2018-04-22 16:44:54 +02:00
ergo720
7a0ced29d1
Default initialize the pointer m_SignatureHeader
2018-04-22 10:35:09 +02:00
ergo720
6dccc816d5
Fix nxdk crash when the signature is all zeros
2018-04-21 23:01:46 +02:00
ergo720
baabd55dc3
More eeprom menu work
2018-04-21 19:18:35 +02:00
Margen67
7552e92060
Remove legacy audio hack
2018-04-20 03:29:12 -07:00
ergo720
4ecfc4d5d4
Started to write eeprom menu
2018-04-19 19:56:20 +02:00
PatrickvL
fda56b8516
D3D9 : Further porting in PixelShader.cpp
2018-04-19 15:19:17 +02:00
PatrickvL
db2e0e6aa2
D3D9 : Replace D3DRS_ZBIAS with D3DRS_DEPTHBIAS (including the required transformation of the argument)
2018-04-19 14:57:13 +02:00
PatrickvL
75ac78cf8b
D3D9 : Replace calls to SetVertexShaderConstant with SetVertexShaderConstantF where needed
2018-04-19 14:50:04 +02:00
PatrickvL
bb3c454dce
D3D9 : Replace calls to SetVertexShader with SetFVF where needed
2018-04-19 14:44:52 +02:00
PatrickvL
9f10c2fe02
D3D9 : Update calls to SetTextureStageState with SetSamplerState where needed
2018-04-19 14:11:53 +02:00
PatrickvL
9069739771
D3D9 : Use optimal Pool argument for CreateOffscreenPlainSurface
2018-04-19 10:12:37 +02:00
PatrickvL
e70059882b
Use optimal Usage and Pool arguments when creating index buffers
2018-04-19 10:11:32 +02:00
PatrickvL
eecd960021
D3D9 texture-format updates (peeking at Dxbx!)
2018-04-19 09:45:18 +02:00
PatrickvL
ffceb1600a
Merge pull request #1076 from ergo720/signature
...
Xbe signature validation
2018-04-19 09:25:40 +02:00
PatrickvL
b9dbc56d4c
Apply A_SHA_DIGEST_LEN where possible
2018-04-19 09:01:27 +02:00
PatrickvL
4a5d9264f0
Merge pull request #1077 from x1nixmzeng/ce-support
...
Debugger: Memory patching
2018-04-19 07:12:51 +02:00
x1nixmzeng
875e4fcd2f
Updated debugger goals
2018-04-19 00:45:49 +01:00
x1nixmzeng
7d26eb6af2
Update status when debugging state changes
2018-04-19 00:33:41 +01:00
x1nixmzeng
95e0c7f88b
Disable multi-select on data editor
2018-04-19 00:27:11 +01:00
x1nixmzeng
d4c31f44bd
Cleanup of numerical handling
2018-04-19 00:23:26 +01:00
x1nixmzeng
293da03bf8
Added remaining data type reads
2018-04-18 23:53:13 +01:00
x1nixmzeng
f8f814c500
Update thread context on breakpoint
...
Dumps disassembly at the known address rather than the next instruciton
too
2018-04-18 22:56:43 +01:00
x1nixmzeng
9fb3873042
Fixed lock after closing debugger on breakpoint
2018-04-18 22:37:19 +01:00
ergo720
e8c1c7670a
Use real RSA public key
2018-04-18 19:30:47 +02:00
ergo720
a6c060d54c
Ported back from xqemu's xbedump gigimport improvements
2018-04-18 19:09:11 +02:00
ergo720
0b69f4e558
Forward declare LoadXboxKeys
2018-04-18 15:17:46 +02:00
x1nixmzeng
0259feb0a9
Break correctly on breakpoint exceptions
...
Suspend was previously called which would trace at the wrong location
2018-04-18 00:52:01 +01:00
x1nixmzeng
e0e2c434d2
Cleanup of data and assembly patches
...
Now encapsulates patched memory differently to Cheat Engine which
doesn't actually support auto-assembly like I assumed
2018-04-18 00:25:45 +01:00
ergo720
0e250a9d8a
Small updates + use HDkey provided by the user if possible
2018-04-18 00:08:55 +02:00
jarupxx
2342dae79a
OOVPA : Add for LTCG D3DDevice_SetIndices
2018-04-17 18:34:35 +09:00
Luke Usher
50b6f333de
Merge pull request #1071 from PatrickvL/prepare_d3d9_port
...
Prepare d3d9 port
2018-04-17 08:05:51 +01:00
ergo720
50b8a0e42b
Fixed RSA implementation
2018-04-17 00:26:29 +02:00
PatrickvL
b22d681559
More D3D9 conversion:
...
* add additional arguments to functions that need them
* use newly available types where possible
* enable D3D9 porting preparations inherited from Dxbx
2018-04-16 14:03:17 +02:00
x1nixmzeng
5012078a35
Added variable watch from memory view
2018-04-15 22:54:22 +01:00
ergo720
ecbab4fdec
SHA1 implementation (SHA1 works, but RSA still doesn't)
2018-04-14 23:20:14 +02:00
Luke Usher
31c328ab3e
Fix an off-by-one patch error
2018-04-14 17:34:23 +01:00
Luke Usher
fe8b2764f3
Remove left-over debug line
2018-04-14 17:33:56 +01:00
Luke Usher
b6c1f5b714
HACK: Alternate method of handling Performance Counter
2018-04-14 17:30:47 +01:00
patrickvl
39789fe54f
More porting work
2018-04-14 17:49:50 +02:00
PatrickvL
7490221b14
Groundwork for a potential port to Direct3D 9
2018-04-14 15:30:34 +02:00
x1nixmzeng
00020a1d1a
Automatically load local CT files
...
Also fixed the debug title event, adding it to the titlebar
2018-04-14 00:39:18 +01:00
x1nixmzeng
a99c919367
Additional support for common datatypes
2018-04-14 00:15:59 +01:00
x1nixmzeng
51ef652f94
Support for disabling breakpoint groups
2018-04-13 23:56:36 +01:00
x1nixmzeng
3b16f2672d
Support display preferences
2018-04-13 23:40:55 +01:00
x1nixmzeng
0308b5cea3
Support for memory editing single bytes
...
Very rough, but useful for skipping debug interrupts
2018-04-13 23:23:56 +01:00
x1nixmzeng
8856bbc76f
Cleaner CT version check
2018-04-13 22:35:41 +01:00
x1nixmzeng
90758466b7
Updated to icon resource
2018-04-13 22:35:17 +01:00
ergo720
96dc895916
Dump in the logs xbe signature info
2018-04-13 23:18:45 +02:00
x1nixmzeng
182d22854d
Breakpoint logging
2018-04-13 21:48:59 +01:00
x1nixmzeng
2d01a4815b
Minor additions to CT parser
...
Supports some known older versions too
2018-04-13 21:48:16 +01:00
Luke Usher
389ec4fb80
Merge pull request #1060 from PatrickvL/PS_fix_constant_modifier
...
Pixel shader fix
2018-04-13 19:59:44 +01:00
x1nixmzeng
abff5b0781
Added basic cheat loader UI
2018-04-13 18:40:38 +01:00
ergo720
99770ffea6
Finished xbe header and section hash verification
2018-04-13 19:19:12 +02:00
x1nixmzeng
c6968ebb8a
Added parser for CT files
...
Early support for Cheat Engine memory tweaks
2018-04-13 18:16:13 +01:00
ergo720
ac8b798c66
Finished RSA decryption
2018-04-13 16:40:11 +02:00
PatrickvL
a77967cd92
Pixel shader : Avoid modifiers on constant registers, by moving these to a temporary register (and apply the modifier when reading that)
2018-04-13 16:20:08 +02:00
ergo720
0b972c7989
Added support to read rsa key provided by the user
2018-04-12 22:19:45 +02:00
patrickvl
9fd4194adf
Log test cases
2018-04-12 20:41:06 +02:00
PatrickvL
8ed749dc08
Fixes to get Burnout in-game with this code
2018-04-12 18:17:01 +02:00
PatrickvL
94d955c817
Post-rebase fixes
2018-04-12 15:32:39 +02:00
PatrickvL
0b25a736a9
Refactored CreateHostResource
2018-04-12 15:13:06 +02:00
jarupxx
6c977ec426
Add patch for LTCG optimized functions
...
- D3DDevice_SetVertexShaderConstant_8
- D3DDevice_SetPixelShader_0
- D3DDevice_SetTextureState_BorderColor_4
2018-04-12 20:31:01 +09:00
patrickvl
49c670a6cb
I was wrong - destination pitch is not a problem, it's just that one unswizzle call must still use source pitches, because it's an intermediate step
2018-04-11 23:51:31 +02:00
PatrickvL
8b16287c73
More notes
2018-04-11 23:51:29 +02:00
PatrickvL
6a4ece315a
Unswizzling turns out to require SOURCE pitches (not destination pitches), or otherwise buffer-overflows cause crashes (not to speak : incorrect results).
...
This does bring to light another special case : when source and destination pitches differ - this isn't handled yet, but at least it now gets logged!
2018-04-11 23:51:29 +02:00
PatrickvL
318f11c4d5
Prevent crash on call to ConvertD3DTextureToARGBBuffer
2018-04-11 23:51:28 +02:00
PatrickvL
a488ab0a8a
Tuned CxbxGetPixelContainerMeasures, ConvertD3DTextureToARGBBuffer, ConvertD3DTextureToARGB, CreateHostResource
2018-04-11 23:51:28 +02:00
PatrickvL
654dc1bfc9
Added missing depth argument to ConvertD3DTextureToARGBBuffer call, and
...
reordered unswizzle arguments
2018-04-11 23:51:28 +02:00