Commit Graph

2761 Commits

Author SHA1 Message Date
Luke Usher b4c45cfccb Disable XOnline patches and partially implement NVNet emulation. (#703)
Network connection does not work yet but it satisfies titles enough to stop them crashing.
Tetris Worlds gets to (very broken) gameplay with this
All titles that use Xbox Live, or even System Link are likely to see some improvements.
2017-09-01 12:25:51 +01:00
PatrickvL 7bd59bb5b3 Threading fixes (#696)
* Turned g_bEmuException into a thread_local variable (this fixes issue #135)

* Added DirectSoundUseFullHRTF to XTL namespace

This is a requirement for functions to be patched!
(Spotted this by chance while looking at the exports of our Cxbx.exe
using CFF Explorer VIII)

* README updates

* Fixed opaque textures by updating D3DTSS_COLOROP default to D3DTOP_SELECTARG1 (instead of D3DTOP_DISABLE)

* EmuGenerateFS : Still initialize when TLS data copy isn't needed

* Introduced InitXboxThread for consistent Xbox thread initialization

* Rename EmuInitFS into PatchFSOpcodes

* Threading fixes

Keep EmuUpdateTickCount on Xbox core, EmuThreadDpcHandler requires Xbox
thread setup too, removed commented PCSTProxy thread creation.

* Renamed PatchFSOpcodes back to EmuInitFS by Luke's request

* Make EmuUpdateTickCount avoid Xbox1 core for lowest possible latency

Also explained why EmuThreadDpcHandler runs on the Xbox core

* Restore D3DTSS_COLOROP from D3DTOP_SELECTARG1 back to D3DTOP_MODULATE
2017-09-01 12:19:47 +01:00
Luke Usher ed2edd3373 Disable some XApi patches that are not actually required
Fixes the recent ZSNES.regression.
2017-09-01 12:18:28 +01:00
jarupxx 1b26bc3b88 Unpatched GetOverlappedResult 2017-09-01 12:18:13 +01:00
ergo720 52afb76239 Update EmuXapi.cpp 2017-08-31 22:05:51 +01:00
ergo720 0e0d41081a Update EmuXapi.cpp 2017-08-31 22:05:51 +01:00
ergo720 927f7673d3 Update EmuXapi.cpp 2017-08-31 22:05:51 +01:00
ergo720 d4a9b8523d Potential fix for issue #688 2017-08-31 22:05:51 +01:00
Darren Anderson 3b1b8ee384 Fixed OOVPA for timeSetEvent (XDK 5849). 2017-08-31 22:03:13 +01:00
literalmente-game 546e7f216c Update README.md
Re-fix typo
2017-08-31 08:10:33 +01:00
literalmente-game 22b2058208 Update README.md
Typo fix
2017-08-31 07:56:25 +02:00
Luke Usher 8afba701fd Fix a typo 2017-08-31 06:12:15 +01:00
Luke Usher fef9738f51 EmuX86: IO improvements + hacky implementation of Timer IO port 2017-08-31 06:12:15 +01:00
Luke Usher 34df6d2865 EmuKrnl: Implement (partial) interrupt support. 2017-08-31 06:12:15 +01:00
Luke Usher 05c2d9287e EmuKrnlRtl: Prevent RtlAssert from causing emulation to abort. 2017-08-31 06:12:15 +01:00
Luke Usher 4a20543afa EmuX86: Implement CMP 2017-08-31 06:12:15 +01:00
Luke Usher 047126a21e EmuX86: Implement IN Opcode
Note that this always returns 0 currently, because EmuX86_IOReadXX are not implemented yet!
2017-08-31 06:12:15 +01:00
Luke Usher 934945d048 Fix DPC bugs: Wrong calling convention was used 2017-08-31 06:12:15 +01:00
jarupxx e4be8e8765 All D3D REGISTER_OOVPA to reviewed
also registered missing OOVPA for each version.

In XDK 4034, 4134, 4432, 5028, 5233, Functions for which valid test cases are not found are provisional registered.
2017-08-30 22:46:04 +01:00
jarupxx 33182af147 All XGRAPHC REGISTER_OOVPA to reviewed
also registered missing OOVPA for each version.

Provisional registration in XDK 4432, 5028
- XFONT_OpenBitmapFontFromMemory 4432
- XGWriteSurfaceOrTextureToXPR 5028
- XGCompressRect 5028
2017-08-30 22:28:00 +01:00
jarupxx eddea78768 All Xapi REGISTER_OOVPA to reviewed
also registered missing OOVPA for each version.

Provisional registration in XDK 4034, 5028, 5233
- SignalObjectAndWait 4034
- XMountMURootA for 5028, 5233
- timeSetEvent for 5233
- timeKillEvent for 5028, 5233
2017-08-30 22:27:22 +01:00
jarupxx 00c833ed96 All XNet, XOnline REGISTER_OOVPA to reviewed
also registered missing OOVPA for each version.
2017-08-29 19:31:45 -05:00
jarupxx 19f0bbe7aa Registered NTSC-J demo version in JSRF Hack 2017-08-29 08:46:34 +01:00
Darren Anderson 13cda24388 Fixed indentation. 2017-08-27 18:44:02 +02:00
Darren Anderson 41df25f510 Fixed issue where copying objects in EmuShared caused an access violated exception when printing out the current configuration in the Kernel debug log. 2017-08-27 18:44:02 +02:00
PatrickvL 14b5c8b985 Added contributing details and a link to Developer notes. 2017-08-25 16:55:38 +02:00
PatrickvL c8c4f81e73 Merge pull request #676 from jackchentwkh/pvstest
add breaks per PVS suggestion.
2017-08-21 07:34:37 +02:00
jackchentwkh cbe2a0588b add breaks per PVS suggestion. 2017-08-21 10:38:55 +08:00
Luca D'Amico 177cfaebff added end of config log line 2017-08-19 22:56:48 +02:00
Luca D'Amico e2ce1a4e66 Adding myself to the contributors list 2017-08-19 22:56:48 +02:00
Luca D'Amico 48f6c1107a Log all configuration settings during start of emulation (FIX issue #668) 2017-08-19 22:56:48 +02:00
Luca D'Amico 223e20d152 Removed unused Error.cpp file and now empty Core directory (#672) 2017-08-17 20:19:40 +01:00
PatrickvL 0cda828abe Separated compatibility issues from emulation issues 2017-08-15 14:23:28 +02:00
PatrickvL bf5719e1c4 Merge pull request #598 from Luca1991/master
Removed unused OpenXDK files (from \Common\ and \Core\) + FPS Counter
2017-08-13 21:48:11 +02:00
Luca D'Amico ef3757703d Removed a global variable 2017-08-11 14:54:16 +02:00
Luca D'Amico 4a889c808d another small fix to the FPS Counter (for the 2nd time) 2017-08-11 14:39:14 +02:00
Luca D'Amico 718740ce69 just another very small fix to the FPS Counter 2017-08-11 14:34:35 +02:00
Luca D'Amico 7123a5d648 More FPS Counter fixes 2017-08-11 14:29:51 +02:00
Luca D'Amico 5e4560668b FPS/MSpF Counter Fixes 2017-08-10 17:38:59 +02:00
PatrickvL 921cff199c Merge pull request #616 from jarupxx/Remove_Lib_D3DX8
Remove scanning D3DX8 library HACK
2017-08-10 17:11:52 +02:00
Luca D'Amico fb91c0aecc updated from upstream 2017-08-10 12:37:53 +02:00
Luca D'Amico ff2876f440 Fixed some issues before fixing the FPS counter 2017-08-10 12:29:11 +02:00
Luca D'Amico ddbe7f2f9c FPS/MSF counters implemented - Fixed issue #574 2017-08-08 11:37:34 +02:00
PatrickvL dc9baf3fa3 Merge pull request #626 from ergo720/master
Fix for issue #620
2017-08-07 22:19:44 +02:00
ergo720 6a14cb25ca Spacing...
Just corrected some spacing...
2017-08-07 19:42:16 +00:00
ergo720 0e44e40762 Fix for issue #620 2017-08-07 21:26:57 +00:00
ergo720 1d9736e5af Merge remote-tracking branch 'upstream/master' 2017-08-07 12:50:41 +00:00
Ben 9d8ae41e1f Issue Template (#615)
* Create ISSUE_TEMPLATE.md

* Fix spelling

Pretty sure I've failed every spelling test in my life :P
2017-08-05 17:37:54 +01:00
PatrickvL 1ccdbaaa19 Merge pull request #618 from RadWolfie/Audio-Hot-Patch
Audio hot patch
2017-08-05 17:41:04 +02:00
RadWolfie c5088fd7a0 Fix CreateSoundBuffer Issue
So far only Phantasy Star Online Episode I & II has this issue. Given
nAvgBytesPerSec value was below the requirement. Workaround has been
apply to resolve it.
2017-08-05 09:41:11 -05:00