Commit Graph

4819 Commits

Author SHA1 Message Date
Luke Usher c17f830df9
Merge pull request #1302 from gandalfthewhite19890404/patch-1
Change Unsupported D3DVERTEXBLENDFLAGS from Fatal to Test Case
2018-06-21 12:02:40 +01:00
gandalfthewhite19890404 72ab250cce
Update EmuD3D8.cpp
Fix brackets align
2018-06-21 13:44:57 +03:00
gandalfthewhite19890404 0923e1e490
Update EmuD3D8.cpp
Comments by Luke
1. Changes the error to a warning
2. makes sure to log a test case so we can find out WHY the game sends invalid data later
2018-06-21 13:29:57 +03:00
Luke Usher ba198202f2 Revert "Replace Uncap Framerate with Cap Framerate hack"
This reverts commit c1b99631fb.
2018-06-20 20:33:27 +01:00
Luke Usher 8cd9eff297
Merge pull request #1299 from LukeUsher/inline-buffer-fixes
Various Fixes
2018-06-20 19:55:32 +01:00
Luke Usher e16153a9bc
Merge pull request #1301 from jackchentwkh/lsw_input_fix
oope, those old IRQL code should be kept!
2018-06-20 16:09:02 +01:00
jackchentwkh 477db54385 oope, those old IRQL code should be kept! 2018-06-20 23:02:36 +08:00
Luke Usher 4276571bf7
Merge pull request #1300 from jackchentwkh/lsw_input_fix
fix no input issue of Lego Star War.
2018-06-20 15:41:16 +01:00
jackchentwkh 6a08052785 fix no input issue of Lego Star War.
it requires the XGetDeviceChanges to return changes all the time, but no removal, only insertions.
2018-06-20 22:19:17 +08:00
Luke Usher 0e594126b4 CLeanup 2018-06-20 13:54:12 +01:00
Luke Usher 840d822e28 Fix an issue where r1.a would be inserted even if t1 was not used 2018-06-20 13:51:45 +01:00
Luke Usher be33bf2466 Use a std::vector instead of a linked list: Easier to manage/maintain 2018-06-20 13:34:58 +01:00
Luke Usher e567d23a40 Avoid unnecessary division 2018-06-20 09:24:04 +01:00
Luke Usher d154d6c4c6 potential fix for reads from r1 before writes 2018-06-20 09:20:29 +01:00
Luke Usher c1b99631fb Replace Uncap Framerate with Cap Framerate hack
Why? The Xbox doesn't have a frame rate cap, as evidenced by XDK samples
like Dolphin and Benchmark, that run at high FPS on real hardware.

We only had a framerate cap by default to work-around a timing bug
relating to Rdtsc, which is mostly solved now!

The cap frame-rate hack will stay around as an OPTIONAL hack, for any
titles that are still problematic: however, it will never be default.
2018-06-20 08:27:41 +01:00
Luke Usher f560ca7275 Implement D3DDevice_SetRenderState_PSTextureModes 2018-06-20 08:10:59 +01:00
Luke Usher 65e63b3f25 Unpatch GetViewPort: This should always return the Xbox state anyway, which is set via a trampoline in SetViewPort 2018-06-20 07:09:34 +01:00
Luke Usher 6d4138ab5a Fix a ton of conversion issues in inline vertex buffers: Hoping it would improve Halo: It didn't 2018-06-19 22:39:45 +01:00
Luke Usher 14b1ddad79
Merge pull request #1297 from LukeUsher/pixel-shader-updates-via-renderstate
Allow PixelShaders to be updated in Real Time via SetRenderState calls
2018-06-19 19:18:55 +01:00
Luke Usher 4b489ed093 Oops, wrong define 2018-06-19 14:21:34 +01:00
Luke Usher 09d7a57fb1 Log reserved D3DRS_PSTEXTUREMODES slot. TODO: Find out how to implement this 2018-06-19 14:21:34 +01:00
Luke Usher f19c43af74 Attempt to print RenderState name when an unsupported RenderState is hit 2018-06-19 14:21:34 +01:00
Luke Usher 4b1eb4909d Allow PixelShaders to be updated in Real Time via SetRenderState calls 2018-06-19 14:21:34 +01:00
Luke Usher ad07eefd3e
Merge pull request #1298 from LukeUsher/fix-titleid-rendering
If the prefix of a title_id is non printable, render the entire serial as hex
2018-06-19 11:10:35 +01:00
Luke Usher c8975f628c If the prefix of a title_id is non printable, render the entire serial as hes 2018-06-19 10:44:23 +01:00
Luke Usher 099b33210c
Merge pull request #1296 from RadWolfie/resolve-compile-warnings
Resolve some compile warnings
2018-06-19 08:08:59 +01:00
RadWolfie 8afea9fe77 Fixed MSB8004: Intermediate Directory does not end with a trailing slash. 2018-06-19 00:46:43 -05:00
RadWolfie 64b537318c Workaround solution to remove warning from multimon header of GetVersion usage.
Once we do fully move to DX9, we can remove force undefine defined function.

Unless graphic team decide to preserve it forever as proof of concept.
2018-06-19 00:37:29 -05:00
RadWolfie 1623068193 Compile builds are using msvcrt, not libcmt.
See `C/C++ > Code Generation >Runtime Library` for all builds.
2018-06-19 00:11:50 -05:00
Luke Usher fc1252283a
Merge pull request #1295 from ggKismet/patch-1
Fix typo in Controller Dialog
2018-06-18 20:28:02 +01:00
ggKismet 48b65375f7
Update cxbx.rc , added a T removed an L. lol. 2018-06-18 12:21:38 -07:00
RadWolfie 7327793b28 Remove minimal rebuild option
Enabling minimal rebuild does not work with multi-processor compilation (/MP).
2018-06-18 14:21:04 -05:00
Luke Usher da06670aa7
Update README to better present AppVeyor links 2018-06-18 08:24:45 +01:00
Luke Usher 030c21922d
Update README.md 2018-06-18 08:14:30 +01:00
Luke Usher 658ac6c97e
Update README.md 2018-06-18 08:12:43 +01:00
RadWolfie 2512dd0683
Merge pull request #1291 from RadWolfie/debugger-fixes-from-ui
Debugger fixes from UI side
2018-06-17 00:21:52 -05:00
RadWolfie 4182e7aea0 Remove old code 2018-06-16 20:42:39 -05:00
RadWolfie b3cd718afe Manually replace spaces to tabs 2018-06-16 20:36:51 -05:00
RadWolfie 3b9939f55e Use shorter link to source. 2018-06-16 20:26:24 -05:00
RadWolfie b84b25cbbf Update to use inline CxbxExec function. 2018-06-16 20:23:01 -05:00
RadWolfie 05be1dd4bd Create inline function file for Windows
Plus linux filter folder for future linux support.
2018-06-16 20:18:22 -05:00
RadWolfie f0825321d4 Fixes of Cxbx's GUI mode to Debugger
The following fixes contains:
* Launch one Cxbx Debugger at a time. If one already exist, then it will close previous Cxbx Debugger and launch new debugger.
* Close Cxbx Debugger when Cxbx is closed.
  * Also close Cxbx Debugger when xbe is closed.
* Fixed another false positive for title is emulating when debugger is opened then close.
  * (Changed from no-risk to low-risk solution. Low-end computers may will have med-risk.)
    * This will only happen on start of emulating, during emulation has no risk for multi-xbe launches.
* Use CreateProcess instead of ShellExecutable function.
* Replaced: Using std string instead of fixed char array to prevent buffer overflow.
  * It will use more process

Known issue:
* Cxbx Debugger is not aware of multi-xbe launch.
2018-06-15 17:23:17 -05:00
RadWolfie 36ce78bb19 Proof of concept of multi-xbe launch still works 2018-06-15 17:15:49 -05:00
RadWolfie c99fb44c6a Prepare generic CxbxConvertArgToString function without fixed buffer array 2018-06-15 17:08:06 -05:00
Luke Usher a96034b78d
Merge pull request #1280 from GXTX/pr-data-loc
GUI & tweaks for user configurable storage location
2018-06-14 15:52:02 +01:00
RadWolfie ea50bf0149
Add break statement after ID_SETTINGS_CONFIG_EEPROM and some spacing between breaks and cases 2018-06-14 09:44:22 -05:00
Luke Usher 6ad743836c
Merge pull request #1289 from Cxbx-Reloaded/master
Build all branches
2018-06-14 14:15:11 +01:00
Luke Usher 7231bcb67d
Build all branches 2018-06-14 14:14:29 +01:00
Luke Usher 95c2a5ec74 Fix an issue where AppVeyor build script would not take tags into account 2018-06-14 14:08:20 +01:00
Luke Usher bc1b52186f
Merge pull request #1287 from LukeUsher/show-title-id-header
Show title_id/version in Cxbx-Reloaded header:
2018-06-14 13:47:23 +01:00