Commit Graph

820 Commits

Author SHA1 Message Date
gibbed 0db3577a84 Added QueryDirectory to Entry. 2014-01-18 23:40:22 -08:00
gibbed 6386fe50c2 QueryDirectory for DiscImageEntry. Untested. 2014-01-18 23:40:01 -08:00
gibbed 5fa82364ba Better handling for bad library import string table indices. 2014-01-18 23:24:50 -08:00
Ben Vanik c11711681f Actually fixing STFS. 2014-01-18 23:20:32 -08:00
Ben Vanik 0581d8eb07 Fixing STFS reading. 2014-01-18 22:49:26 -08:00
Ben Vanik 6b633e4e28 STFS loading... xex's load, but files seem broken. Ugh. 2014-01-18 22:23:26 -08:00
gibbed 69320ed94b xam_net cleanup. 2014-01-18 10:39:19 -08:00
gibbed 29fa0709ec XamContentCreateEnumerator stub. 2014-01-18 10:35:17 -08:00
gibbed d029ce978e Fixed NtWaitForSingleObjectEx. Third time's the charm? 2014-01-18 08:18:25 -08:00
gibbed e2b2d0562e Fixed NtWaitForSingleObjectEx. Again. 2014-01-18 08:00:16 -08:00
gibbed 1b57d2ee85 NtWaitForMultipleObjectsEx. 2014-01-18 07:57:51 -08:00
gibbed 6c5a6919ee Fixed NtWaitForSingleObjectEx. 2014-01-18 07:57:15 -08:00
gibbed d9984a15c5 Macros for 8-bit GPR/MEM access. 2014-01-18 07:55:24 -08:00
gibbed 137230bbef Fixed copy-pasted comment. 2014-01-18 06:08:35 -08:00
gibbed 7cb71c6b9f do { 2014-01-18 06:07:15 -08:00
gibbed 40178cb22d Minor changes to APU. 2014-01-18 06:06:34 -08:00
gibbed 619b9758a0 NtQueryDirectoryFile and necessary backing. Not fully functional yet. 2014-01-18 05:59:22 -08:00
Ben Vanik c257ad0122 Work on D3D11 for various state settings. This code sucks. Needs a rewrite. 2014-01-18 01:50:31 -08:00
Ben Vanik a7db0f0410 Fixing component access on vfetch. 2014-01-18 01:38:11 -08:00
Ben Vanik 7bdd973935 Proper vertex format input type in shaders. 2014-01-18 01:08:45 -08:00
Ben Vanik 946397cc8c Fixing warnings. 2014-01-18 00:13:03 -08:00
Ben Vanik 99c72f24f2 Better vertex buffer construction, supporting packed data. 2014-01-18 00:12:57 -08:00
gibbed ba9d343c51 RtlUnicodeToMultiByteN. 2014-01-17 21:13:09 -08:00
gibbed 3b151b21ad NtOpenFile. Duplicated mostly from NtCreateFile's implementation. Probably wrong. 2014-01-17 19:45:56 -08:00
gibbed 5cdae4cee4 Fixed cast for %p. 2014-01-17 19:18:35 -08:00
gibbed 4fa3efd2b6 Corrected implementation of %s for _vswprintf. 2014-01-17 19:15:58 -08:00
gibbed 373d8a3eb8 Corrected implementation of %n. 2014-01-17 19:10:33 -08:00
gibbed a6e1095cbc Fixed some formatting and a cast. 2014-01-17 18:57:56 -08:00
gibbed dbaa47a851 Whoops. Memory leak. 2014-01-17 18:48:47 -08:00
gibbed 441013770d Return value of _vsnprintf and _vswprintf should not be counting the null terminator. 2014-01-17 18:48:02 -08:00
gibbed cd8c081ee6 _vswprintf. Also moved _vsnprintf and _vswprintf to its own file. 2014-01-17 18:46:56 -08:00
Ben Vanik af4e107905 Experimenting with instrument API. Not quite right. 2014-01-16 23:27:11 -08:00
Ben Vanik 7641a5bfed Logging nice fatal errors when dying, w/ a msgbox when not in a console. 2014-01-16 22:16:06 -08:00
Ben Vanik 4741e3581a Support redirecting stdout/stderr to the launching console. 2014-01-16 21:43:25 -08:00
Ben Vanik ffcd687ef6 Played with making xenia-run a Win32 app, but then logging stops working... 2014-01-15 21:58:09 -08:00
Ben Vanik 2a7f3de1c3 Moving shutdown logic to Emulator. 2014-01-15 07:31:21 -08:00
Ben Vanik 991e7d8ad3 Refactoring window stuff. Still needs some work. 2014-01-14 22:40:02 -08:00
Ben Vanik e7d61f4b1f Removing use of runloop from audio system. 2014-01-14 19:52:32 -08:00
Ben Vanik 9a09c2072e Fixing badness in release mode. 2014-01-14 18:28:40 -08:00
Ben Vanik a02f5c3e7a Fixing alloy analysis warnings. 2014-01-14 01:11:42 -08:00
Ben Vanik 50587974b5 Not sure why I thought I could do this. 2014-01-14 00:39:31 -08:00
Ben Vanik 81226db1b4 Fixing broken instruction decoding. 2014-01-13 23:24:28 -08:00
Ben Vanik 857ce4a2e2 Crazy working permute by Rick. 2014-01-13 22:37:07 -08:00
Ben Vanik dcc0e55a90 Fixing the unpacks. 2014-01-13 22:37:07 -08:00
Ben Vanik f82eccdc7c Hacking in vupkhsh/etc. The instruction tables need a rewrite. Yuck. 2014-01-13 22:37:06 -08:00
Ben Vanik faa75c9407 Making debug info toggles a flag to allow finer control. 2014-01-13 21:12:10 -08:00
Ben Vanik dfaa0e2d08 Disabling mangled name extraction. 2014-01-13 20:51:35 -08:00
Ben Vanik d73aa419d1 Better returns for XAudio. 2014-01-13 20:50:56 -08:00
gibbed e1bb5bc860 Oops. 2014-01-13 02:49:30 -08:00
gibbed c1b71ce1db Merge branch 'master' of https://github.com/benvanik/xenia
Conflicts:
	src/xenia/apu/xaudio2/xaudio2_audio_system.cc
2014-01-13 02:46:50 -08:00
gibbed f47ebb5010 More XAudio2 junk. 2014-01-13 02:45:18 -08:00
Ben Vanik 6f09c12bc2 Creating mastering voice with the right params. 2014-01-13 01:06:30 -08:00
gibbed 24e857cc03 Small fix to waveformat. 2014-01-13 01:00:06 -08:00
Ben Vanik dccdc00735 Tweaking audio params. 2014-01-13 00:45:09 -08:00
Ben Vanik 133cbedad8 Replacing exit with assert, as exits are hard to find. 2014-01-13 00:33:40 -08:00
gibbed d30f4b25b9 Oops. 2014-01-13 00:25:10 -08:00
gibbed 74d26b2814 Still wrong, but... 2014-01-13 00:23:29 -08:00
Ben Vanik f6ca6cced8 Audio engine now blocking when buffers are full. 2014-01-13 00:20:53 -08:00
Ben Vanik 20ad328e4a Removing AudioDriver. 2014-01-13 00:05:08 -08:00
Ben Vanik ae5b87ea2a Enable xaudio error logging. 2014-01-13 00:01:51 -08:00
Ben Vanik 4f552da6c4 Inefficient, but pumping audio. 2014-01-12 23:52:55 -08:00
Ben Vanik ab9d384813 Passing samples. 2014-01-12 23:43:58 -08:00
gibbed edb1633fc9 XAudio2 APU stub. 2014-01-12 23:23:55 -08:00
gibbed 4e9d3a00e4 Fixed constant values not being cloned correctly. 2014-01-12 22:06:10 -08:00
gibbed dde2b1ff41 I totally did not violate coding conventions in the last commit. 2014-01-12 20:27:12 -08:00
gibbed 65d5d1d559 Added tracking of source address for an easier time while debugging. 2014-01-12 20:22:43 -08:00
Ben Vanik c704c04dc3 Merge pull request #67 from wszechpolak/master
Adding stubs of NetDll functions
2014-01-12 20:10:46 -08:00
Ben Vanik 2ed1dd452c Removing unused externs. 2014-01-12 20:08:50 -08:00
Wszechpolak 8dfb2b1efb Adding stubs of NetDll functions 2014-01-13 05:04:01 +01:00
Ben Vanik 984d63a3d4 Removing redundant math. 2014-01-12 19:30:52 -08:00
Ben Vanik 5c755f09f0 Fixing addresses, perhaps. 2014-01-12 19:21:40 -08:00
Ben Vanik 413aa06605 vupkh|lsh 2014-01-12 18:04:24 -08:00
Ben Vanik 4cbee4620a Fixing branch CTR compare. Maybe. 2014-01-12 17:19:37 -08:00
Ben Vanik d224dd94c1 Fixing log_heap printing a bit, though damn this stuff is nasty. 2014-01-12 15:43:54 -08:00
Ben Vanik f6866098c5 Probably correct vupkh|lsb. 2014-01-12 15:41:18 -08:00
Ben Vanik eb5d7e0f31 Comments. 2014-01-12 14:43:59 -08:00
Ben Vanik 6129e1eb7a Simplifying macros to fix VS' broken preprocessor. 2014-01-12 14:06:00 -08:00
Ben Vanik 123444078f Fixing warning. 2014-01-12 13:52:50 -08:00
Ben Vanik c7c83ea900 Fixing --log_heap 2014-01-12 11:09:52 -08:00
Ben Vanik e2a218ad2a Removing bad assert. 2014-01-12 10:48:27 -08:00
Ben Vanik adc98914b8 XAudioGetVoiceCategoryVolumeChangeMask 2014-01-12 03:35:49 -08:00
Ben Vanik ecbd2c7e89 Pushing audio samples through. 2014-01-12 02:39:47 -08:00
Ben Vanik dbf1aa182e Fixing WaitForMultipleObjects 2014-01-12 02:34:22 -08:00
Ben Vanik 127595b48a Issuing audio driver callbacks from their own thread. 2014-01-12 02:07:17 -08:00
Ben Vanik 4688d5e600 Starting work on audio. 2014-01-12 01:27:41 -08:00
gibbed 6c62b2796a RtlMultiByteToUnicodeN. 2014-01-12 00:22:43 -08:00
Ben Vanik bd74c544c6 XMsgInProcessCall stubbed for a few xmp messages games check on startup. 2014-01-11 23:41:57 -08:00
Ben Vanik 61e873cd31 Starting work on APCs, though nothing is hitting them yet. 2014-01-11 22:12:05 -08:00
Ben Vanik c50fbafbd9 Start of DPCs. Queuing them, but not yet dispatching. 2014-01-11 21:40:23 -08:00
Ben Vanik 27d4938cc2 KeAcquireSpinLockAtRaisedIrql/etc. 2014-01-11 21:38:56 -08:00
Ben Vanik dc496e8102 Unifying kernel modules and user modules to XModule. XexLoadImage/etc. 2014-01-11 17:24:34 -08:00
Ben Vanik 27a8e09b51 Depth stencil state. 2014-01-10 01:25:50 -08:00
Ben Vanik 8085678f5a PACK/UNPACK. 2014-01-10 00:28:52 -08:00
Ben Vanik 3fbebcfa08 VectorAdd and saturation checks. 2014-01-09 21:57:07 -08:00
Ben Vanik 2980a30f30 vctsxs, vctuxs. 2014-01-09 21:20:03 -08:00
Ben Vanik 478781e0dc Various rounding instructions. 2014-01-09 20:44:23 -08:00
Ben Vanik 35ef6df1fc sradx, vcfsx, vcfux. 2014-01-09 20:28:26 -08:00
Ben Vanik 0cb4a2e415 Fixing input. 2014-01-09 20:06:30 -08:00
Ben Vanik eef08db16d Returning fake user status. 2014-01-08 23:00:26 -08:00
Ben Vanik 5644f0fd40 KeQueryBasePriorityThread and implementing Set. 2014-01-08 22:22:34 -08:00