Commit Graph

92 Commits

Author SHA1 Message Date
darkf f2bdc40ef1 Fix separator items in resource file, for Clang 2020-04-07 02:44:38 -07:00
Anthony Miles 0c6a13e975 Create VSHCACHE logging code for the shader cache 2020-02-08 19:50:26 +13:00
RadWolfie 7199f44cbb extend HLE DSOUND relative log modules 2020-01-08 18:30:26 -06:00
PatrickvL 9c81eda65e Make resource file language-neutral, so that Visual Studio won't complain when regional settings aren't compatible. (See https://stackoverflow.com/a/58011025/12170)
Also applied the advisory steps from our GPL license to our About dialog, and trimmed this advise from COPYING itself.
2019-11-14 13:26:20 +01:00
ergo720 f67eeeb00b Disable LLE GPU option in the gui 2019-10-27 16:59:57 +01:00
ergo720 f6e331f484 Add default bindings for the keyboard 2019-09-09 12:39:27 +02:00
ergo720 d8b0075c93 New input gui (#1713) 2019-09-05 16:10:09 -05:00
RadWolfie e646eada8d fix universal error message output 2019-07-20 01:47:46 -05:00
Luke Usher 059c587523 Remove 'Render to Host Backbuffer' hack 2019-07-16 16:53:04 +01:00
Luke Usher 1e7b6891a3 Higher Resolution Rendering Support 2019-07-10 11:03:38 +01:00
RadWolfie 82909b939f add "Disable mute on unfocus" option to audio settings 2019-04-12 16:06:58 -05:00
RadWolfie b19fc40ff1 rename Hardware Video to Exclusive Fullscreen 2019-04-12 15:25:28 -05:00
RadWolfie 9d58043d41 fix generated resource file to use correct file path
Thanks to ergo720 for bring it up. I may had not find the cause at all.
2019-04-12 15:01:53 -05:00
RadWolfie 5d973b2dec fix Visual Studio resource generated files 2019-04-12 13:44:07 -05:00
Luke Usher 8b2e758377 Respect Xbox presentation interval
This allows us to improve our frame-limiter, so that we can disable it
if a game does not require a fixed frame-rate, and enable it for titles
that do.

Result:
XDK Samples can now run at high frame-rates (100+ fps) without effecting actual
speed (just like on real hardware)

Dashboard can reach over 100fps, and still run at the correct speed

JSRF and other titles that tie game speed to frame-rate are limited to
60FPS.

Fixed broken VSYNC handling too: Disable VSYNC has been broken since the
D3D9 port, perhaps before then.
2019-04-08 08:11:12 +01:00
Luke Usher 21b51684f2 More tab->space 2019-03-26 15:49:38 +00:00
Luke Usher 6a4c7e8dc9 tab to spaces in Cxbx.rc 2019-03-26 08:04:36 +00:00
Luke Usher 20aa13b44e Rebuilding network support from NVNet Branch
Randomly generate Mac and Serial for new EEPROMs: Thanks dracc
Delay load pcap: Allows the emulator to run (without networking) when pcap isn't present
2019-03-25 19:20:34 +00:00
RadWolfie 4edfebb302 Fix executable directory path function 2019-01-17 21:42:39 -06:00
ergo720 0cb83f9cc8 Renamed Cxbx -> gui folder 2018-12-15 15:45:59 +01:00
RadWolfie 1e555bec3f Update UI and internal task to clear cache 2018-09-04 02:15:07 -05:00
RadWolfie f7069152c4 Fixed missing GUI log indication 2018-08-17 02:35:38 -05:00
ergo720 82f429f3c9 Fixed LoggedModules bug + refactored log gui + allow to print debug messages also on release builds 2018-08-14 13:50:58 +02:00
ergo720 469f7e9f43 Improvements 2018-08-13 20:50:54 +02:00
ergo720 26c61b5381 Added log window to GUI 2018-08-13 20:50:54 +02: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
ergo720 a42a114583 Disabled LLE USB 2018-07-31 21:44:10 +02:00
ergo720 669b1e8cd1 Added LLE USB flag 2018-07-17 01:09:36 +02: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 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 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
GXTX bff70dfa75 Enable checkmarks signaling where cxbx-reloaded data is being stored 2018-06-12 10:28:32 -04:00
GXTX 70d09224a4 Add submenu for quick location configuration 2018-06-11 18:29:08 -04:00
GXTX bc95707618 Add user configurable storage location 2018-06-11 13:33:00 -04:00
Luke Usher ef351ee31b Add new speedhack: Render Directly to Host BackBuffer 2018-06-09 08:01:01 +01:00
Luke Usher 29dbe8b019
Merge pull request #1231 from jackchentwkh/vsbc_typo_fix
fix typos of controller mapping dialog and virtual SB dialog.
2018-05-31 16:59:25 +01:00
Luke Usher e6bc88ffe4 Remove Unused LLE options to prevent user-confusion 2018-05-31 13:31:27 +01:00
jackchentwkh 2ad3f2bad6 fix typos of controller mapping dialog and virtual SB dialog.
correct control names accordingly.
2018-05-30 16:52:53 +08:00
RadWolfie fef067833e Preview change from Visual Studio directly
First update cause it relocate for some reason. (Might be cause of manual edit.)
2018-05-29 13:51:34 -05:00
jackchentwkh 6edf293699 Add controller port configuration GUI and support virtual SB controller with feedback status (#1196)
* Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent.
Add newly findings for device table related info.

* Revert g_Controller ZeroMemory() calls.
now the XINPUT_STATE is correctly refering to host type, no need to specify the name space.

* Add X_CONTROLLER_HOST_BRIDGE structure type.
Prepare for configurabale host input, and virtual xbox controller.

* Fix DeviceInfo initialization when device table is not found.
always set state to enable rumble.

* experimenting virtual SteelBatalion controller.
using console as controller output.
using XInput and direct input combined keys

* first attem to emulat SteelBatalion controller works.

* add dialog file to solution

* Restore missing dialog files and functions

* Minor fix

* fix dialog control grouping
now registry works.

* refine some controller related constants

* Using Dialog for showing
SBC controller feedback
add possibility of using same dialog for virtual controller input.

* using EmuUpdateTickCount() as modeless dialog message handler.
sort of working.
revert the dlg message handling from wnd.cpp

* Finally the dialog for virtual SB controller feedback status works!
modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog.
lots of code change and clean up.

* fix debug build,  use same character set setting for all configurations.

* restore C++ optimiztion setting in master

* remove unitended included ribbon resources

* removed necessary official document mentioning

* Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore

* Move Host Port assignment related code to src/common/win32

* fix merge confliction

* oops, fix merge conflictions again.

* Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future.

* remove unintended binary files

* fix debug build, again.
revert unindteded changes to submodule

* rever unintended submodule change

* Relocate project to build/Win32 folder

Co-Authored-By: anita999 <anita999@ms12.hinet.net>

* Restore sln file base on master

* Include project dependency to build

* Final fixup for sln file

* Restore original new line code

* Update Wnd.cpp

* Remove old include

* Include CxbxVSBC.dll into AppVeyor

This should be the last fixup for pull request.

* Fix merge-conflict

* Fix files encode format to UTF-8

* treat .rc file as text instead of binary

* Revert "treat .rc file as text instead of binary"

This reverts commit 034039d723.
2018-05-29 13:33:01 +01:00
RadWolfie c37492b27e Fix rc file to UTF-8 encode format 2018-05-29 01:01:26 -05:00
Voxel9 18a48546fe Remove "LED" text and replace with LLE flags text 2018-05-28 11:24:57 +01:00
ergo720 bc2a551ee5 Align serial number text in eeprom menu 2018-05-27 14:54:00 +02:00
Luke Usher e54e7fbfcf Make new RDTSC patch the default, the old method is optional 2018-05-03 21:23:09 +01:00
patrickvl ccd82a8e0f HLE : Configurable viewport scaling (as a hack) 2018-05-02 19:10:03 +02:00
ergo720 55d0d36d3e Merge remote-tracking branch 'upstream/master' into eeprom_viewer 2018-04-26 11:06:09 +02:00
ergo720 88739baba9 Finished eeprom menu 2018-04-25 23:54:59 +02:00
ergo720 baabd55dc3 More eeprom menu work 2018-04-21 19:18:35 +02:00
Margen67 7552e92060 Remove legacy audio hack 2018-04-20 03:29:12 -07:00