Commit Graph

2770 Commits

Author SHA1 Message Date
PatrickvL f955721cbb Dump certificate information (title, region)
also dump library versions and remove useless ThreadID logging in
EmuMain messages
2017-09-05 18:25:05 -05:00
PatrickvL 1217ba36fe Made pCertificate a global variable 2017-09-05 18:25:05 -05:00
PatrickvL 0c4d516f23 Make F6 stop emulation for real
by detecting F6 presses in EmuMsgProc too.
Also small cleanup on my previous UI work.
2017-09-05 09:08:57 +01:00
PatrickvL 9ff03f2259 UI improvements
Fixed drag-and-drop
F5 now loads the most recently used Xbe if none is loaded yet
Extracted OpenMRU() into a separate function
Simplified OpenXbe()
Compare m_Xbe to nullptr instead of 0
Less usage of m_hwndChild
2017-09-04 19:59:08 +01:00
jarupxx 5e45213bfe Removes // (Offset,Value)-Pair # text 2017-09-04 13:42:14 +02:00
Luke Usher bbb497e2a4 DSOUND 5233 additions: This prevents a crash in XOnline Dash 2017-09-03 20:45:58 +01:00
Luke Usher ddc2e073be Return no connection on PhyGetLinkStatus.
This prevents network titles from hanging indefinitely when probing for a connection.
This function will be replaced with a real implementation later.
2017-09-03 20:45:58 +01:00
Luke Usher c325d454ba Created HLEDatabase for XactEng 5849 2017-09-03 20:45:04 +01:00
Luca D'Amico 393bd48018 Fix for issue #674 (Show loaded XBE logo in user interface) (#708)
* Some progress regarding issue #674

* More progress regarding issue #674

* More progress regarding issue #674

* Renamed ExportGameLogoBitmap and applied proposed fixes (thx PatrickvL)

* More and more progress regarding issue #674 (need review)

* Applied proposed fixes to Xbe.cpp and Xbe.h

* Many fixes regarding issue #674 (need review)

* Working ReadS3TCFormatIntoBitmap!

* Game logo is now rendered correctly! (need review and cleanup)

* fix and cleanup (issue  #674)
2017-09-02 22:34:53 +02:00
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