PatrickvL
866f986136
Merge pull request #28 from RadWolfie/fix-pr-1341
...
Restore Cxbx's emu exception (SEH) while keep LLE exception handler (VEH)
2018-07-13 06:08:10 +02:00
RadWolfie
2000346cf7
Remove duplicate comment which is not used here.
2018-07-12 21:12:03 -05:00
RadWolfie
1fc6b87aa3
Misc update
...
* Fixed old comment
* Added comment for reason override later exception
2018-07-12 11:19:35 -05:00
RadWolfie
41119ad6a2
Move duplicate generic exception method into one function
2018-07-12 11:06:54 -05:00
RadWolfie
97cf31961b
Restore Cxbx's emu exception (SEH) while keep lle exception handler (VEH)
2018-07-12 10:52:08 -05:00
patrickvl
a9d1f60b04
HLE : Move IsXboxCodeAddress check into it's own function, and call it first in IsXboxCodeAddress (instead of later, in EmuX86_DecodeException).
...
Also, optimize IsRdtscInstruction() and it's emulation, by calling directly into CxbxRdTsc(). Additionally, use unsigned ULARGE_INTEGER and ULONGLONG variables.
2018-07-11 17:34:00 +02:00
PatrickvL
f8c023d2e1
HLE : Simplify and re-order exception handling
2018-07-10 17:06:11 +02:00
PatrickvL
cc6a1b6de5
HLE : Use AddVectoredExceptionHandler instead of SEH (Structured Exception Handling) to get control over exception handling with the least amount of overhead (by making sure our handler is executed first).
2018-07-10 15:44:17 +02:00
PatrickvL
ffff3783c2
HLE : Made EmuException() hot path as short as possible, and handle privileged instructions via EmuX86_EmuX86_DecodeException() too
2018-07-10 15:42:28 +02:00
PatrickvL
f0917d8033
HLE : Speed up IsRdtscInstruction() by first checking for our RDTSC patch
2018-07-10 15:37:34 +02: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