Commit Graph

165 Commits

Author SHA1 Message Date
illusion 1b197e0349 Merge remote-tracking branch 'upstream/master' into canary-old-update 2020-03-24 00:50:48 +11:00
Triang3l cde092ece1 [D3D12] Persistent shader and PSO storage 2020-03-21 19:22:19 +03:00
illusion d9a4f5bdb8 Merge remote-tracking branch 'upstream/master' into canary-old-update 2020-03-14 22:50:54 +11:00
illusion 943ca109ae Revert "[App] Improve content_root cvar handling, set content_root after reading config"
This reverts commit ab063d6850.
2020-03-14 22:50:46 +11:00
Triang3l b1d3fd2ad3 [App/Config] Add storage_root cvar and make content_root inside it by default, move game configs from content 2020-03-13 09:42:29 +03:00
emoose ab063d6850 [App] Improve content_root cvar handling, set content_root after reading config
Old code also had a chance of leaving config_folder empty, if content_root was set before reading config (eg. was set on command line), which didn't seem like it was intended?
Now config_folder should always be set up to one of the default folders.
The content_root value from config was also being ignored, since we set up content_root before reading config, now we'll set it up again if content_root is set.
2020-02-25 12:35:49 +07:00
illusion 219a4db3ba Merge remote-tracking branch 'upstream/master' into canary-old-update 2020-02-25 11:53:14 +07:00
Rick Gibbed 4ca0d0a656
[App] Remove inadvertent constexpr. 2020-02-22 13:50:17 -06:00
gibbed a6e6f0f7bf Lint cleanup. 2020-02-22 13:29:07 -06:00
illusion98 b619e482da Merge remote-tracking branch 'upstream/master' into canary-old-update 2020-02-11 05:50:15 -05:00
Joel Linn 160f218210 [APU/Linux] Implement cross platform audio using SDL2 library. 2020-02-10 14:01:47 -06:00
Joel Linn 64f3925c7d [HID/Linux] Implement cross platform controller input using SDL2 library. 2020-02-10 13:41:19 -06:00
Joel Linn 498b73612f Link against SDL2.
- Use MSVC delayed loading on Windows.
- Rely on system libraries for Linux.
- Add libsdl2-dev to Travis.
2020-02-10 13:41:19 -06:00
Prism Tutaj fc37f3e93a [App] Fix discord cvar 2020-02-09 16:21:51 -06:00
Silent d3a73022fd [UI] Remove MAX_PATH limit from WM_DROPFILES
Also required const-ifying a file drop message.
2020-02-09 14:02:22 -06:00
illusion98 c3f3bd8701 [UI] Add F2 Hotkey to open current git commit in browser 2020-02-05 09:46:30 -06:00
illusion98 b8549002a6 Merge remote-tracking branch 'JoelLinn/feature-hid-sdl' into canary-old-update 2020-02-04 06:32:30 -05:00
illusion98 a7f6fd6ef6 Add F2 Hotkey to open current commit ID URL 2020-02-04 06:31:58 -05:00
illusion98 910a21f424 Merge remote-tracking branch 'JoelLinn/feature-apu-sdl' into canary-old-update (PR 1498) 2020-02-01 03:36:32 -05:00
illusion98 1d1c54ca6e Replace main xenia redirects with canary 2020-01-21 04:29:53 -05:00
emoose 183ff64551 [App] Move NullDevice mounting code back into emulator.cc
Fixes Xenia not being able to locate unpacked XEXs..
Ideally this should be inside xenia_main.cc though, need to figure out some way to get it working there.
2020-01-20 19:30:29 -05:00
emoose 55f98d3770 [VFS] Clear out cache partition when game writes FATX header
Writing FATX header likely means the game is trying to format it, so we'll help it along by deleting the contents too.
HostPathDevice actually loads in all the file entries when its first inited though, so we also have to re-init the HostPathDevice for the cache partition too :/
2020-01-20 19:30:29 -05:00
Margen67 a5515274f3 Rename exe to xenia-canary, simplify CI steps, remove SSE2
SSE2 was only for troubleshooting Fable II, and didn't do anything anyway.
2020-01-19 20:11:05 +11:00
emoose 4fe2fe6bd0 [App] Add cache: -> \Cache0 symlink
I think this should be safe to do, seems games will only make use of either cache:, or cache0: & cache1:, not both kinds, so shouldn't be any risk of conflict.
cache: might only be used in older SDK cache code, at least so far I've only seen it used in the older Halo 3 Beta build.
2020-01-15 15:45:00 +11:00
illusion98 71817de10e Add commit number 2020-01-12 16:37:53 +11:00
emoose 28be8c80c3 [HID] Allow winkey driver to use the first unused user index
This removes the user_index == 0 requirement from the InputSystem code, and updates WinKeyInputDriver to use the first non-connected user index if it can.

Eg. if you had 2 XInput controllers plugged in, those two will take up user index 0 and 1, and keyboard will take user index 2.
If all four indexes are taken up already, the WinKey driver will be disabled.

(This is done by passing already-setup drivers to each drivers Setup function: since WinKey is the last to be setup, this'll let it query the XInput driver and find which user_index it should handle)
2020-01-11 20:44:12 +11:00
Cancerous 7fefb79339 [Kernel] - swapdisc fixes for gtav 2019-12-28 23:21:54 -05:00
Joel Linn 9bb78d41e7 [HID/Linux] Implement cross platform controller input using SDL2 library. 2019-12-07 17:07:02 +01:00
illusion98 c4c9f104d8 Merge remote-tracking branch 'upstream/master' into canary-old-1 2019-12-02 09:40:45 -05:00
Margen67 09e1028154 Remove (hopefully) last OpenGL leftovers & crunch
Crunch is unused.
2019-11-08 09:10:51 -08:00
Joel Linn 7fe4bbe7f3 [APU/Linux] Implement cross platform audio using SDL2 library. 2019-10-28 22:35:25 +01:00
Prism Tutaj 4b89a060d4 Fix discord cvar 2019-09-09 08:13:03 -05:00
Cancerous 8200b36af7 Merge branch 'master' of https://github.com/ObsidianNA/xenia into canary
Recent Files Menu Bar #1396
2019-09-04 23:20:02 -04:00
Cancerous 07c9533c12 Merge branch 'swapdiscv2' of https://github.com/randprint/xenia into canary
[Kernel] XamSwapDisc and supporting functions

 swapdiscv2 (#1458)
2019-09-04 21:52:01 -04:00
Cancerous 7825877040 FPS Counter at the end of the display chain #1362
from IceTDrinker
https://github.com/xenia-project/xenia/pull/1362
2019-09-04 07:54:55 -04:00
illusion98 7c52c211e1 Merge remote-tracking branch 'randprint/window-dimensions' into canary 2019-09-04 06:20:01 -05:00
Cancerous 551eb749eb [Kernel] XamSwapDisc and supporting functions 2019-08-30 15:52:17 -04:00
illusion98 31f81662c4 [Discord] Change ID and new description 2019-08-29 06:42:53 -05:00
Cancerous c385981d04 [UI] Add window dimension cvars 2019-08-28 16:14:48 -04:00
illusion98 b7bdfdd046 [Discord] Add Time Elasped and Description Text
Display Time Elapsed when idle or playing a game
Display description when hovering over the icon
2019-08-27 10:30:50 -05:00
illusion98 d1877b260e Change window title
xenia -> xenia-canary
2019-08-26 04:32:41 -05:00
gibbed 3e6c2bb47c Fix up handling of positional options in cvar handling.
- Fix up handling of positional options in cvar handling so that executables
  other than app can handle them properly.
- Fix command-line arguments for xenia-vfs-dump.
2019-08-24 07:41:55 -05:00
Triang3l 2334e475de [Vulkan v2] Physical device, [D3D12] Small cleanup 2019-08-08 00:08:20 +03:00
gibbed a1c9d57afc [App] Make target into a transient cvar. 2019-08-04 02:18:03 -05:00
gibbed b2f62b1982 Clean up cvars (rename, recategorize). 2019-08-03 23:46:03 -05:00
gibbed 0ac83f99dc [App] Add winkey input driver last. 2019-08-03 20:47:39 -05:00
gibbed f2dac86b3f [App] Use make_unique when creating a derived type instance. 2019-08-03 20:46:03 -05:00
gibbed 02ea74becd [App] Only create input nop driver when explicitly requested. 2019-08-03 20:07:19 -05:00
gibbed e5eb59df71 [App] Remove unnecessary type aliasing (which also broke Travis). 2019-08-03 18:10:49 -05:00
gibbed f5cddbbf3f [App] Simplify and improve factory template.
[App] Rework audio and input system creation.
2019-08-03 17:36:50 -05:00