Commit Graph

  • 352bae30cb Removing win32 code from X64CodeCache. Fixes #349. Ben Vanik 2015-07-19 10:33:00 -07:00
  • edfa3f3fc0 Replacing the tick count timer with xplat abstraction (also better rate). Fixes #346. Ben Vanik 2015-07-19 10:11:54 -07:00
  • 9bcc4e046c Fixing bootstrap from non-VS command prompts. Ben Vanik 2015-07-19 09:44:44 -07:00
  • 3403bc1144 Making use of premake clear in the readme. Ben Vanik 2015-07-19 07:52:11 -07:00
  • 91d7acf59e Fixing some particularly bad /W4. Ben Vanik 2015-07-18 23:04:21 -07:00
  • 4128727f6b Cleaning up some /W4 errors. Ben Vanik 2015-07-18 16:40:22 -07:00
  • e0eb85bbbc Switching to premake. Probably with disasterous consequences. Ben Vanik 2015-07-18 16:00:01 -07:00
  • 6c5d230f67 Merge pull request #353 from DrChat/ob_threads Ben Vanik 2015-07-18 13:27:25 -07:00
  • ddf3813584 Merge pull request #354 from DrChat/crypt_sha Ben Vanik 2015-07-18 12:59:02 -07:00
  • b92cddc182 Implement SHA-1 in xboxkrnl (correctness not verified though) Stubs for some weird crypto functions Dr. Chat 2015-07-18 14:50:30 -05:00
  • 2df28910d7 TinySHA1 library Dr. Chat 2015-07-18 14:49:06 -05:00
  • 55f5b95670 These are implemented (and formatting) Dr. Chat 2015-07-17 19:58:56 -05:00
  • c60d30a311 Add a few more xam exports Dr. Chat 2015-07-17 19:57:35 -05:00
  • c3189a6837 ObLookupThreadByThreadId / ObOpenObjectByPointer Dr. Chat 2015-07-17 19:56:54 -05:00
  • 1ea5a4b7b4 XThread initialize the dispatch header Dr. Chat 2015-07-17 19:55:09 -05:00
  • e54477d0e4 XObject::StashNative Dr. Chat 2015-07-17 19:52:29 -05:00
  • 7595df4876 We don't need to be the calling thread to set a thread name. Dr. Chat 2015-07-17 19:50:04 -05:00
  • fd893f730b Shuffling files around. Ben Vanik 2015-07-17 01:15:12 -07:00
  • 756d414386 Prep for split libraries. Ben Vanik 2015-07-16 22:26:34 -07:00
  • 2462c2249d Merge pull request #351 from Sinoxan/master Ben Vanik 2015-07-16 11:13:15 -07:00
  • 0cdff21582 Removing unnecessary unsigned checks. Sinoxan 2015-07-16 19:01:11 +01:00
  • ecd4af10c9 Fixing some clang warnings/errors. Ben Vanik 2015-07-15 23:26:58 -07:00
  • 74d2df2004 libxenia-base can now compile with clang. Ben Vanik 2015-07-15 23:02:04 -07:00
  • f520d3a2a4 Run with latest clang-format. Ben Vanik 2015-07-15 22:44:30 -07:00
  • c3415e6332 Adding TLS abstraction. Ben Vanik 2015-07-15 22:20:33 -07:00
  • 48d5d76882 Cleaning up RtlTimeToTimeFields/TimeFieldsToTime. Needs a non-win32 impl. Ben Vanik 2015-07-15 22:10:24 -07:00
  • 8154d1dad6 Moving xe::Memory and code cache to abstracted APIs. Ben Vanik 2015-07-15 22:10:05 -07:00
  • fefaa31cd8 Switching a few types to their platform-agnostic versions. Ben Vanik 2015-07-15 22:09:19 -07:00
  • 91ae97e558 Fixing lock type in VFS. Ben Vanik 2015-07-15 22:07:46 -07:00
  • 6cf29b969d Abstraction for VirtualAlloc/VirtualFree. Ben Vanik 2015-07-15 19:05:08 -07:00
  • 58c3a1ba79 VirtualProtect platform abstraction. Ben Vanik 2015-07-15 18:20:05 -07:00
  • 99104a25a8 Fixing thread exit. Ben Vanik 2015-07-15 18:01:17 -07:00
  • 42400d06a9 Making stateless file IO platform-agnostic. Ben Vanik 2015-07-15 18:01:09 -07:00
  • 376307cfa2 Bumping elemental-forms. Ben Vanik 2015-07-15 17:24:58 -07:00
  • a6012b73f4 Switching audio system to platform-agnostic primitives. Ben Vanik 2015-07-14 23:13:56 -07:00
  • 345fe60da0 Switching over kernel objects to the platform-agnostic APIs. Possibly some regressions here. Ben Vanik 2015-07-14 22:44:45 -07:00
  • bd058feb39 Wait primitives. Ben Vanik 2015-07-14 20:22:15 -07:00
  • bd490d5833 Threading primitives, in prep for removing Win32 from kernel/ and others. Ben Vanik 2015-07-13 22:49:29 -07:00
  • d89bad7380 Removing uses of Sleep/SwitchToThread/etc. Ben Vanik 2015-07-13 21:54:24 -07:00
  • 40621a90bd Switching to standard mutex for now (but keeping xe::mutex). Ben Vanik 2015-07-13 21:49:32 -07:00
  • 72ad899e9e Starting to remove windows.h includes from things. Ben Vanik 2015-07-13 20:49:29 -07:00
  • 31dab70a3a Adding some docs on CPU optimizations/potential work. Ben Vanik 2015-07-13 18:20:38 -07:00
  • c6ebcd508d Double check ARB_bindless_texture. May help #342. Ben Vanik 2015-07-13 16:34:00 -07:00
  • 15c17459be Massive refactoring of xenia::ui and GL swap behavior. This seems to dramatically improve most games (especially with --vsync=false), though it may cause swap issues with others. New code should be easier to port, and enables elemental-forms to be drawn for any emulator UI. Ben Vanik 2015-07-12 22:03:47 -07:00
  • e69c7b00a8 Recursive submodule init. Ben Vanik 2015-07-12 11:10:39 -07:00
  • 77894ac03a Skeleton debugger UI (playing with things). Ben Vanik 2015-07-11 13:48:09 -07:00
  • ad2b8147c3 Merge pull request #335 from DrChat/net_events Ben Vanik 2015-07-11 20:22:41 -07:00
  • 5332290573 NetDll_WSAWaitForMultipleEvents NetDll_WSAResetEvent Dr. Chat 2015-07-11 18:18:35 -05:00
  • 8499da972c Convert a couple of kernel threading APIs to new style Dr. Chat 2015-07-11 18:17:52 -05:00
  • f0060f8335 Allow direct typecasting of Result shim util class Dr. Chat 2015-07-11 18:14:33 -05:00
  • 601310c8bb Merge pull request #334 from DrChat/xma_fixes Ben Vanik 2015-07-10 21:53:43 -07:00
  • 90a9a71e55 Lint. Dr. Chat 2015-07-10 23:32:05 -05:00
  • da5868945e We aren't supposed to do this. Dr. Chat 2015-07-10 23:26:01 -05:00
  • ee1696e571 Fix some inconsistencies in the XMA API (and rewrite a lot of functions to the new style) Dr. Chat 2015-07-10 23:16:42 -05:00
  • f6eb23d86f Don't select buffer 1 if it's NULL/unavailable Dr. Chat 2015-07-10 23:15:15 -05:00
  • 9c965755c6 Simplified renderer interface. Ben Vanik 2015-07-10 20:35:57 -07:00
  • 6b52f2682e Fixing elemental input and using embedded resources. Ben Vanik 2015-07-07 22:16:18 -07:00
  • b09ab1f886 Merge pull request #328 from DrChat/xam_loader Ben Vanik 2015-07-07 07:46:56 -07:00
  • 5da29d88e2 Removing old lib. Ben Vanik 2015-07-07 07:44:51 -07:00
  • 95e2ea11eb Cleaning up paths a bit. Need to de-globalize. Ben Vanik 2015-07-06 23:03:24 -07:00
  • 8c0614b202 AMD people: have at it. I ain't gonna guarantee it'll work, though. Ben Vanik 2015-07-06 18:43:50 -07:00
  • 253a685dde Switching to my turbo badger fork. Ben Vanik 2015-07-06 18:12:17 -07:00
  • f2ce11d268 Latest TB. Ben Vanik 2015-07-04 18:58:40 -07:00
  • f9977a25af Use std::vector to hold the xex header instead of new/delete Dr. Chat 2015-07-06 19:45:10 -05:00
  • b2241e3fef Avoid calling OnUnload twice. Dr. Chat 2015-07-06 19:19:32 -05:00
  • 0388d17a72 Formatting Dr. Chat 2015-07-06 10:41:41 -05:00
  • 88465de41e FscGetCacheElementCount stub Dr. Chat 2015-07-06 10:41:14 -05:00
  • 93f24d2047 XexModule keep track of whether it's loaded into memory or not Dr. Chat 2015-07-06 10:40:35 -05:00
  • 6ddd0b4700 Rewrite InterlockedPopEntrySList Dr. Chat 2015-07-05 21:32:26 -05:00
  • 870aa092bb KernelState::GetKernelModule Dr. Chat 2015-07-05 17:27:25 -05:00
  • 8adbc2cd0c Return 0 for success Dr. Chat 2015-07-05 17:14:42 -05:00
  • fd136c1f9f Swap to default initializers. Dr. Chat 2015-07-05 17:05:58 -05:00
  • 4e6b036b3c Formatting. Dr. Chat 2015-07-05 16:28:11 -05:00
  • 82986c6eec Use TerminateTitle rather than relying on XamLoader* being called from the main thread. Dr. Chat 2015-07-05 16:22:45 -05:00
  • ff72a25260 Remove dump on module launch (already dumped on load!) Dr. Chat 2015-07-05 15:54:30 -05:00
  • 39d6e9a20f Implement XamLoaderLaunchTitle and other loader functions. Dr. Chat 2015-07-05 15:44:46 -05:00
  • d6686fc345 Load default.xex as a regular module and call TerminateTitle when the main thread exits. Dr. Chat 2015-07-05 15:44:02 -05:00
  • 57e89e72b1 Use the actual thread handle as a wait handle, add bool XThread::running Dr. Chat 2015-07-05 15:43:09 -05:00
  • 5ccea06e7f KernelState::TerminateTitle Dr. Chat 2015-07-05 15:42:30 -05:00
  • 567bb525f8 Fix incorrectly getting the exe address Dr. Chat 2015-07-05 15:41:47 -05:00
  • 778acac929 XThread Terminate Dr. Chat 2015-07-05 14:44:43 -05:00
  • 7f53b1d630 Allow unloading of user modules Dr. Chat 2015-07-05 14:03:00 -05:00
  • 8210ada448 XModule OnUnload Dr. Chat 2015-07-05 13:47:53 -05:00
  • 4fdebd530f XThread bool guest thread Dr. Chat 2015-07-05 13:37:10 -05:00
  • 6bb5b002e0 Gracefully handle debugger accept thread already running Dr. Chat 2015-07-05 13:31:51 -05:00
  • fbfdfc8914 Don't call DllMain on non-DLLs Gracefully handle the kernel dispatch thread already running Dr. Chat 2015-07-05 13:31:13 -05:00
  • 8d4582a7a4 Fix a couple of API bugs dealing with modules Dr. Chat 2015-07-05 13:27:48 -05:00
  • fcdd15d157 Merge pull request #325 from raven02/patch-3 Ben Vanik 2015-07-04 14:31:52 -07:00
  • f90cc63d4b alu: use XEEXTZ16 for uimm16 raven02 2015-07-05 04:52:53 +08:00
  • db258b7dde Merge pull request #324 from DrChat/xex2_patch Ben Vanik 2015-07-03 20:17:00 -07:00
  • b57a71e284 Typecast xe::be before sending it into printf Dr. Chat 2015-07-03 22:02:58 -05:00
  • 762b78d12f Merge pull request #323 from DrChat/natvis_fix Ben Vanik 2015-07-03 19:54:08 -07:00
  • 59861f8d0d Fix the natvis file name Dr. Chat 2015-07-03 21:52:45 -05:00
  • 4097fe420e Merge pull request #322 from DrChat/xex2_patch Ben Vanik 2015-07-03 19:38:36 -07:00
  • 9186d011f0 Bring back some important debug dumps Dr. Chat 2015-07-03 21:25:06 -05:00
  • 1788ee1589 Linting. Dr. Chat 2015-07-03 19:57:18 -05:00
  • 03ffb20a43 Warn when importing an unimplemented kernel function Dr. Chat 2015-07-03 19:44:11 -05:00
  • 8cb8098a6b Dump import libraries Dr. Chat 2015-07-03 19:43:43 -05:00
  • ed3db90666 Dump a few more headers (incl. execution header) Dr. Chat 2015-07-03 19:16:36 -05:00
  • b852ce75df Write a dummy value into unresolved import variables. Dr. Chat 2015-07-03 19:00:07 -05:00