Commit Graph

4867 Commits

Author SHA1 Message Date
RadWolfie 54ecfb0086 Move m_isEmulating and m_isReady into proper aligned structure 2018-06-10 10:41:29 -05:00
RadWolfie 983432554a Add note if gui process need to do something before kernel start do anything. 2018-06-10 10:31:00 -05:00
RadWolfie bde83e7278 Restore previous change
May not require to wait for kernel process anyway.
2018-06-10 10:30:09 -05:00
RadWolfie 7bd449c171 Prevent two titles emulating at same time.
This will help producing false postive report and inform user to stop current title emulating before start new emulation.
2018-06-10 10:24:15 -05:00
RadWolfie 71a542d790 Prepare support shared emulating state 2018-06-10 10:21:31 -05:00
RadWolfie b9827337f6 Remove ready state from startup
kernel proccess will send a message to gui process for sync purpose.
2018-06-10 10:20:37 -05:00
RadWolfie 71cd6a1db4 Fix multi-xbe launch bug
mutex from kernel process did not release even if perform hard crash.
2018-06-10 10:07:28 -05:00
RadWolfie 96d390405a Add note for WM_PARENTNOTIFY usage 2018-06-09 21:14:46 -05:00
RadWolfie 28a36b437f Start using GetIsReady and SetIsReady to perform wait process. 2018-06-09 21:08:16 -05:00
RadWolfie ae78a13a44 Prepare support for GetIsReady and SetIsReady in EmuShared class. 2018-06-09 21:04:55 -05:00
RadWolfie 98820626fa Fix GUI's LLE flags status 2018-06-09 17:03:46 -05:00
RadWolfie 939eb09ab4 Fix define ordering number
Since there are duplicate same values for different define. Doing this way will prevent future risk of overlapping each other.
2018-06-09 16:12:16 -05:00
RadWolfie d03151cb5c
Merge pull request #1272 from PatrickvL/code_analysis
Fixed a few code analysis warnings (mainly variable redeclarations)
2018-06-09 14:44:39 -05:00
patrickvl 227e785e6d Fixed a few code analysis warnings (mainly variable redeclarations) 2018-06-09 21:01:23 +02:00
Luke Usher f13baac8fa
Merge pull request #1271 from LukeUsher/add-test-case
Log when CreateVertexShader is called before CreateDevice
2018-06-09 19:26:37 +01:00
Luke Usher 5bbabac101 Log when CreateVertexShader is called before CreateDevice: Xbox supports this but Windows doesn't! 2018-06-09 19:23:53 +01:00
Luke Usher 0c511c7f46
Merge pull request #1270 from Cxbx-Reloaded/revert-1269-optimize-gethostresource
Revert "Pass iterator around to minimize map lookups:"
2018-06-09 11:04:29 +01:00
Luke Usher bb5730cc9c
Revert "Pass iterator around to minimize map lookups:" 2018-06-09 11:04:04 +01:00
PatrickvL 730f993bf6
Merge pull request #1269 from LukeUsher/optimize-gethostresource
Pass iterator around to minimize map lookups:
2018-06-09 12:01:43 +02:00
Luke Usher 0dc7244cc9 Remove debugging code (declspec(noinline)) 2018-06-09 08:43:37 +01:00
Luke Usher 37ebd08011 Pass iterator around to minimize map lookups: Slight performance boost in titles using a lot of resources 2018-06-09 08:37:49 +01:00
Luke Usher 93a4ef3690
Merge pull request #1268 from LukeUsher/hack-render-to-host
New Speedhack: Render Directly to Host BackBuffer
2018-06-09 08:04:04 +01:00
Luke Usher ef351ee31b Add new speedhack: Render Directly to Host BackBuffer 2018-06-09 08:01:01 +01:00
Luke Usher 6a0a025f00 Massively simplify Reset to Default. Now we don't need to keep updating it every time we add a new setting 2018-06-09 07:21:17 +01:00
Luke Usher b4ffbe6f89
Merge pull request #1264 from PatrickvL/VariousD3D
A few small D3D updates
2018-06-09 07:03:43 +01:00
Luke Usher 21e1c87970
Merge pull request #1265 from PatrickvL/DInputDevicePolling
DInput : Poll each device only once (instead of per object)
2018-06-09 06:50:15 +01:00
PatrickvL 02d60565a0
Merge pull request #1262 from RadWolfie/fix-compile-warnings-nv2a
Fix compile warnings nv2a
2018-06-08 20:48:26 +02:00
PatrickvL ec84623868 DInput : Poll each device only once (instead of per object) 2018-06-08 13:58:12 +02:00
PatrickvL 7397eafb12 D3D : SetRenderTarget refactoring - this might restore visuals for some titles 2018-06-08 11:22:19 +02:00
PatrickvL 31008c88f2 D3D : Split up Depth and Stencil flags 2018-06-08 11:05:15 +02:00
PatrickvL fd8779a43a D3D : Reset g_XboxBackBufferSurface in D3DResource_Release too 2018-06-08 11:02:54 +02:00
RadWolfie 249861e06a Revert then use type cast
Confirmed with dashboard is visible.
2018-06-08 02:24:26 -05:00
RadWolfie 4f959bb804 Include bracket in muldiv64 function 2018-06-08 01:59:00 -05:00
PatrickvL 119b760bed
Merge pull request #1259 from RadWolfie/fix-compile-warnings-general
Fix compile warnings general
2018-06-08 07:32:25 +02:00
RadWolfie c5e908efa1
Merge pull request #1260 from RadWolfie/XbSymbolDatabase-update
XbSymbolDatabase update
2018-06-07 22:04:00 -05:00
RadWolfie 9e64b16464 XbSymbolDatabase update 2018-06-07 22:02:40 -05:00
RadWolfie 2c72cfee6f Since API using dwVXBCSetStateResult is comment out, let's comment out as well. 2018-06-07 20:40:03 -05:00
RadWolfie 641d494d71 EmuKrnlKe missing parentheses in if statement
Fix `'&': check operator precedence for possible error; use parentheses to clarify precedence` warning
2018-06-07 20:28:45 -05:00
RadWolfie 7433895e10 Use size_t for compatibility with size() in EmuXapi
Fixed `'<': signed/unsigned mismatch` warning.
2018-06-07 20:26:15 -05:00
RadWolfie 265bb3a8e4 Check if it is already defined. 2018-06-07 20:22:36 -05:00
RadWolfie dff0ef183b Fix type cast for NV2A ptimer. 2018-06-07 20:15:39 -05:00
RadWolfie be049defa9 return empty string by default. 2018-06-07 20:11:20 -05:00
RadWolfie f1a42a7b1b Fix empty case warnings for NV2A various source codes 2018-06-07 19:58:27 -05:00
RadWolfie 03f672e58a int is a signed int by default, enforce to use unsigned int. 2018-06-07 19:47:14 -05:00
RadWolfie 7ef45a6bf9 Fix return with a cast
I think it is best to use guint64 for hashes.
2018-06-07 19:46:18 -05:00
RadWolfie dbc7c226df Bypass visual studio's possible bug 2018-06-07 19:45:00 -05:00
RadWolfie 87c1594432 clip's width and height are not float type. 2018-06-07 19:43:55 -05:00
RadWolfie 5a8adcd2b6 Fix empty case warnings for NV2A PFB source code 2018-06-07 19:30:40 -05:00
RadWolfie 6bd9bd2123 Fix empty case warnings for NV2A Debug source code
Since it only has default input without any case filled in. Warning should be ignored for time being until graphic dev team start filling more in.
2018-06-07 19:06:02 -05:00
RadWolfie 9cc2a7b397
Merge pull request #1258 from RadWolfie/emu-warning-stack-fix
EmuWarning stack fix + Rename _logPrefix
2018-06-07 18:38:27 -05:00