Commit Graph

5337 Commits

Author SHA1 Message Date
RadWolfie 1f0c6bda5f Fix load default settings on first run.
Confirmed tested on my computer with default value.
2018-08-08 16:00:16 -05:00
RadWolfie 4182df723f Fix to support other compilers by include experimental path 2018-08-08 15:29:35 -05:00
RadWolfie 0a5789228a convert 2 dupliate methods into a function
Plus use std::string instead of char array for prevent buffer overflow.
2018-08-08 15:28:53 -05:00
RadWolfie 91168833f1 Enforce use string terminate after strncpy call. 2018-08-08 14:32:11 -05:00
Luke Usher dd32032426 oops 2018-08-08 16:19:55 +01:00
Luke Usher 424417f665 Fix an issue where Recent XBE didn't work in Debug builds 2018-08-08 15:52:12 +01:00
Luke Usher 03002ca8fa Better dcl generation: Dolphin works again, BumpDemo improved, CompressedVerticies now renders 2018-08-08 15:44:00 +01:00
Luke Usher 26fe73e273 Fix Cartoon sample 2018-08-08 13:49:49 +01:00
Luke Usher 8891db87d7 DolphinClassic works, but scales instead of swims. Dolphin has missing dolphin but no longer crashes 2018-08-08 13:42:21 +01:00
Luke Usher b5fcc7a543 Fix compilation issue in Dolphin, still crashes. 2018-08-08 13:33:56 +01:00
Luke Usher 4412fef9bb
Initial D3D9 port (#1375) 2018-08-08 09:08:50 +01:00
RadWolfie 07a05f0e52 Use settings ini file method (#1370)
* Import SimpleIni module

* Rename XBController to DInputController

Since it's only about configure DirectInput support.

* Append to previous 2 commits

* Initialize Settings class

* Append to previous commit

* Properly use EmuXTL header instead of EmuShared

* Move audio variables into setting class

* Move video variables into Settings class

* Append to previous commit

* Move hack variables into Settings class

* Append previous commit

* Append to third previous commit

* Move xbox controller port map to Settings class

* Append to second previous commit

* Move DirectInput Controller map to Settings class

* Remove old XInput member variable

* Append to second previous commit

* Tiny Fixup

* Remove Load/Save from EmuShared class

* Move both GUI and emulate/core to Settings class

* Oops, append to DirectInput controller's commit(s)

* Fix spaces to tab plus remove useless extra spaces

* Code format fixes

* Fix EmuShared's Set____ function to include const type.

Then "set" functions are supportive for both const and non-const variables.

* Add Sync and GetDataLocation functions to Settings class

* Move include filesystem into root header file.

* Introduce Verify function in Settings class

* Fix old bug for console remains open

* Making some adjustments...

* Append

* Another fix for any output prints crash.

* Add Delete function to Settings class

Plus keep save's file path if has given one.

* Fix LLE_USB to set into Settings class' member variable.

* No longer rely on GUI's end to reset LLE flags for multi-xbe titles.

* Simulate what GUI will do except in standalone kernel mode support.

* Move m_StorageLocation into Settings class as central.

Plus optimization for GetDataLocation function.

* Update sentence...

* Remove m_XbePath from EmuShared class.

Since kernel process is launching by on its own without rely on GUI process.

* Update copyright

* Fix DirectInput config not responding message

* Implement new feature: Bypass running as admin warning message

* Rename Emulate Settings to Core Settings

Plus move AllowAdminPrivilage option to core.

* Add reserve space for Settings' structure to integrate into EmuShared

* Ensure all reserves are set to 0 by default.

* Append to "Rename Emulate Settings to Core Settings" commit

* Fix rebase loss.

* Fix kernel mode process's window screen

* Correction: use bool for allowAdminPrivilege and add a save data

* Few fixes for allowAdminPrivilege

* Implement support to prevent tamper shared memory between GUI processes.

NOTE: Kernel process will be using same shared memory since guiProcessID will remain as 0.

* Various improvement

* Use std library functions
* Use single column spaces for align support on different tab size
* Include failsafe if custom and file path string values are bad format

Apparently ARRAYSIZE isn't define on other compilers.

* Last ARRAYSIZE replacement plus buffer overflow protection

* Replace WinAPI to std library's filesystem

* Revert support for 2+ emulation process at same time.

Emulation's graphic screen has corruption between both windows. Not even a wrapper to D3D9 will fix it.
2018-08-07 08:30:07 +01:00
PatrickvL bdd929ef04
Merge pull request #1374 from ergo720/kernel_crypto
Kernel function XcDESKeyParity implementation
2018-08-05 16:12:47 +02:00
ergo720 110090ff08 Implemented XcDESKeyParity 2018-08-05 14:37:13 +02:00
PatrickvL f0399b9ba5
Merge pull request #1373 from ergo720/kernel_crypto
XcUpdateCrypto implementation + refactored kernel crypto functions
2018-08-04 21:04:46 +02:00
ergo720 a7daa7f00c Correct previous commit 2018-08-04 15:46:17 +02:00
ergo720 5ccdb35632 Refactored kernel crypto functions + implemented XcUpdateCrypto (doesn't work yet) 2018-08-03 23:50:09 +02:00
PatrickvL c3ff56597a
Merge pull request #1372 from ergo720/unicode_char_fix
Fix unicode characters printed in the dashboard title
2018-08-03 19:09:04 +02:00
ergo720 ca080c9bc4 Amend last comment 2018-08-03 19:06:40 +02:00
ergo720 f89fedee95 added comment 2018-08-03 19:05:27 +02:00
ergo720 b44804ee71 Fix unicode characters printed in the dashboard title 2018-08-03 18:25:30 +02:00
PatrickvL ffd62a3162
Merge pull request #1371 from ergo720/dash_crash_fix
Fix a crash in the dashboard
2018-08-03 16:42:49 +02:00
ergo720 28bfaccd1d Fix a crash in the dashboard 2018-08-03 16:25:39 +02:00
PatrickvL f169506586
Merge pull request #1369 from ergo720/Contributors
Fix for issue #1342
2018-08-02 21:09:28 +02:00
ergo720 463b288335 Remove unneeded check 2018-08-02 18:47:15 +02:00
ergo720 59f8bb1b67 Make the fix a standalone function 2018-08-02 18:17:17 +02:00
ergo720 99ccc1d221 Fix for issue #1342 2018-08-02 17:54:53 +02:00
PatrickvL 17c99a6146
Merge pull request #1368 from ergo720/hle_flag_fix
Remove HLE flag for GPU
2018-08-02 16:35:51 +02:00
ergo720 155c76cc49 Remove HLE flag for GPU 2018-08-02 16:04:06 +02:00
Luke Usher 3ab3da563f
Merge pull request #1334 from PatrickvL/LLE_framebuffer_draw
LLE overlay drawing
2018-08-02 08:26:57 +01:00
Luke Usher f7d94360e7
Disable new FrameBuffer Drawing (Use Blit instead)
This makes this PR able to be merged, and retains the LLE overlay fixes from this PR.
2018-08-02 08:18:17 +01:00
ergo720 51c9c96ab0
Merge pull request #1366 from ergo720/mm_quick_fix
Fix g_XbeType != true
2018-08-01 20:38:53 +02:00
ergo720 fb93add62e Fix g_XbeType != true 2018-08-01 20:24:53 +02:00
Luke Usher f16ec37f6c
Merge pull request #1365 from ergo720/OHCI_LLE
LLE USB - disabled
2018-08-01 11:10:59 +01:00
ergo720 bf78bb7fd6 Small improvements 2018-08-01 11:45:04 +02:00
ergo720 9cdc318d18 Merge remote-tracking branch 'upstream/develop' into OHCI_LLE 2018-08-01 00:48:48 +02:00
ergo720 169806b2ed Added some comments 2018-08-01 00:36:05 +02:00
ergo720 a42a114583 Disabled LLE USB 2018-07-31 21:44:10 +02:00
Luke Usher d43cd270db
Merge pull request #1357 from gandalfthewhite19890404/dev_vs2015_fix
VS 2015 Compile fix
2018-07-31 13:05:35 +01:00
gandalfthewhite19890404 88ee402cd3
Update VertexShader.cpp
Visual Studio 2015 compile fix 2
2018-07-31 14:33:00 +03:00
gandalfthewhite19890404 2db659b990
Update PushBuffer.cpp
Visual Studio 2015 compile fix 1
2018-07-31 14:32:08 +03:00
ergo720 d06c4d62ca Dropped support for USB1 device 2018-07-30 15:35:12 +02:00
ergo720 3d18703c86 Bug fixes, still no input (kernel problem?) 2018-07-29 14:43:51 +02:00
Luke Usher 524746b068 Merge branch 'develop' of https://github.com/cxbx-reloaded/cxbx-reloaded into develop 2018-07-28 19:43:10 +01:00
Luke Usher 96a91944b8 Quick Fix: RtlLeaveCriticalSectionAndRegion no longer fails kernel test suite 2018-07-28 19:42:57 +01:00
Luke Usher e313367b2b
Merge pull request #1355 from LukeUsher/better-locking-for-fs
Prevent side-effects of the lock/unlock action for FS
2018-07-27 22:15:34 +01:00
Luke Usher 0fc5270702 Prevent side-effects of the lock/unlock action for FS 2018-07-27 22:14:09 +01:00
Luke Usher a2fd9a75a5
Merge pull request #1351 from LukeUsher/vertex-shader-tweaks
Fix an issue with Vertex Shaders containing EXP instruction
2018-07-26 11:17:42 +01:00
patrickvl adfa2dfa52 LLE : For any texture with multiple levels (or faces), use the given TextureShape's.color_format. Otherwise, when a first step selects another resulting_format, all following steps would incorrectly interpret the input using that format. 2018-07-25 17:54:09 +02:00
PatrickvL 76b983bd17 LLE : Comment typo 2018-07-25 17:54:09 +02:00