Commit Graph

4733 Commits

Author SHA1 Message Date
Luke Usher 9b6fe04096 Fix Title_ID parsing/rendering to use the correct format.
This also updates the rendering of the Version Flag.

All retail Xbox Games use a title_id of this format:
XX-000

Where XX = Publisher code (MS, EA, etc) and 000 = Game Number by that
publisher.

This can be used to properly uniquely identify games, and even
cross-reference with the Redump database that uses the same Serial No.
format.

Additionally, this PR also fixes Version field rendering, to be in the
correct 1.XX format.

This is useful because the combination of Title_ID and Version No
uniquely identifies games!

Even in regional varients where the title_id doesn't change, the version
number does!

Some special XBEs (like Dashboard, updaters, XDK samples) use
non-printable characters in the title_id/serial number field, so we
fallback to Hex in this case
2018-06-14 09:44:35 +01:00
PatrickvL 4760872a03
Merge pull request #1279 from RadWolfie/various-fixes
Various fixes (Mainly multi-xbe and LLE flags status)
2018-06-12 09:45:09 +02:00
RadWolfie df6c7cfc44 Use existing define string for DSOUND. 2018-06-11 22:22:27 -05:00
RadWolfie 1ed96cf553 Fix 4039 titles with false positive not finding DSOUND library version. 2018-06-11 10:14:58 -05:00
RadWolfie 7bb26a9790 Revert get child hwnd. 2018-06-11 03:13:58 -05:00
RadWolfie 33b0df3112 Cleaner and optimized check if title has containing library.
It is a requirement to move library header before start scanning symbols. Plus only call status check once.
2018-06-11 02:43:22 -05:00
RadWolfie 2b8a7a82a8 Use Fallback wording instead of rollback. 2018-06-11 01:54:38 -05:00
RadWolfie 8e2543af4f Little cleanup for CrashMonitor 2018-06-11 00:11:34 -05:00
RadWolfie d0fd6d08d1 Identical method instead of using goto. 2018-06-11 00:04:45 -05:00
RadWolfie d3a131ea13 Use do while statement for user interaction. 2018-06-11 00:03:24 -05:00
RadWolfie 92788e9cd3 Don't continue failed wait counter. 2018-06-10 17:56:53 -05:00
RadWolfie cdbd1aab50 Add verification before start monitoring kernel process 2018-06-10 17:37:28 -05:00
RadWolfie 90df98e5e6 Request user interaction to either retry or cancel. 2018-06-10 17:16:10 -05:00
RadWolfie 63af4166e0 Fix newline, strange... 2018-06-10 17:15:16 -05:00
RadWolfie c9e2406394 Output log message of rollback to LLE flag. 2018-06-10 17:14:41 -05:00
RadWolfie b5b9e475e7 Undo newline for no reason.
🏃
2018-06-10 11:00:45 -05:00
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