Commit Graph

2649 Commits

Author SHA1 Message Date
Ben Vanik 601310c8bb Merge pull request #334 from DrChat/xma_fixes
XMA Fixes
2015-07-10 21:53:43 -07:00
Dr. Chat 90a9a71e55 Lint. 2015-07-10 23:32:05 -05:00
Dr. Chat da5868945e We aren't supposed to do this. 2015-07-10 23:26:01 -05:00
Dr. Chat ee1696e571 Fix some inconsistencies in the XMA API (and rewrite a lot of functions to the new style) 2015-07-10 23:16:42 -05:00
Dr. Chat f6eb23d86f Don't select buffer 1 if it's NULL/unavailable 2015-07-10 23:15:15 -05:00
Ben Vanik 9c965755c6 Simplified renderer interface. 2015-07-10 20:35:57 -07:00
Ben Vanik 6b52f2682e Fixing elemental input and using embedded resources. 2015-07-07 22:16:46 -07:00
Ben Vanik b09ab1f886 Merge pull request #328 from DrChat/xam_loader
Implement XamLoaderLaunchTitle/XamLoaderTerminateTitle
2015-07-07 07:46:56 -07:00
Ben Vanik 5da29d88e2 Removing old lib. 2015-07-07 07:44:51 -07:00
Ben Vanik 95e2ea11eb Cleaning up paths a bit. Need to de-globalize. 2015-07-06 23:03:24 -07:00
Ben Vanik 8c0614b202 AMD people: have at it. I ain't gonna guarantee it'll work, though. 2015-07-06 18:43:50 -07:00
Ben Vanik 253a685dde Switching to my turbo badger fork. 2015-07-06 18:12:56 -07:00
Ben Vanik f2ce11d268 Latest TB. 2015-07-06 18:12:56 -07:00
Dr. Chat f9977a25af Use std::vector to hold the xex header instead of new/delete 2015-07-06 19:45:10 -05:00
Dr. Chat b2241e3fef Avoid calling OnUnload twice. 2015-07-06 19:19:32 -05:00
Dr. Chat 0388d17a72 Formatting 2015-07-06 10:57:32 -05:00
Dr. Chat 88465de41e FscGetCacheElementCount stub 2015-07-06 10:41:14 -05:00
Dr. Chat 93f24d2047 XexModule keep track of whether it's loaded into memory or not 2015-07-06 10:40:35 -05:00
Dr. Chat 6ddd0b4700 Rewrite InterlockedPopEntrySList 2015-07-05 21:33:29 -05:00
Dr. Chat 870aa092bb KernelState::GetKernelModule 2015-07-05 17:27:25 -05:00
Dr. Chat 8adbc2cd0c Return 0 for success 2015-07-05 17:14:42 -05:00
Dr. Chat fd136c1f9f Swap to default initializers. 2015-07-05 17:05:58 -05:00
Dr. Chat 4e6b036b3c Formatting. 2015-07-05 16:28:11 -05:00
Dr. Chat 82986c6eec Use TerminateTitle rather than relying on XamLoader* being called from the main thread. 2015-07-05 16:22:45 -05:00
Dr. Chat ff72a25260 Remove dump on module launch (already dumped on load!) 2015-07-05 15:54:30 -05:00
Dr. Chat 39d6e9a20f Implement XamLoaderLaunchTitle and other loader functions. 2015-07-05 15:44:46 -05:00
Dr. Chat d6686fc345 Load default.xex as a regular module and call TerminateTitle when the main thread exits. 2015-07-05 15:44:02 -05:00
Dr. Chat 57e89e72b1 Use the actual thread handle as a wait handle, add bool XThread::running 2015-07-05 15:43:09 -05:00
Dr. Chat 5ccea06e7f KernelState::TerminateTitle 2015-07-05 15:42:30 -05:00
Dr. Chat 567bb525f8 Fix incorrectly getting the exe address 2015-07-05 15:41:47 -05:00
Dr. Chat 778acac929 XThread Terminate 2015-07-05 14:44:43 -05:00
Dr. Chat 7f53b1d630 Allow unloading of user modules 2015-07-05 14:03:00 -05:00
Dr. Chat 8210ada448 XModule OnUnload 2015-07-05 13:47:53 -05:00
Dr. Chat 4fdebd530f XThread bool guest thread 2015-07-05 13:37:10 -05:00
Dr. Chat 6bb5b002e0 Gracefully handle debugger accept thread already running 2015-07-05 13:31:51 -05:00
Dr. Chat fbfdfc8914 Don't call DllMain on non-DLLs
Gracefully handle the kernel dispatch thread already running
2015-07-05 13:31:13 -05:00
Dr. Chat 8d4582a7a4 Fix a couple of API bugs dealing with modules 2015-07-05 13:27:48 -05:00
Ben Vanik fcdd15d157 Merge pull request #325 from raven02/patch-3
alu: use XEEXTZ16 for uimm16
2015-07-04 14:31:52 -07:00
raven02 f90cc63d4b alu: use XEEXTZ16 for uimm16 2015-07-05 04:52:53 +08:00
Ben Vanik db258b7dde Merge pull request #324 from DrChat/xex2_patch
Typecast xe::be before sending it into printf
2015-07-03 20:17:00 -07:00
Dr. Chat b57a71e284 Typecast xe::be before sending it into printf 2015-07-03 22:02:58 -05:00
Ben Vanik 762b78d12f Merge pull request #323 from DrChat/natvis_fix
Fix the natvis file name
2015-07-03 19:54:08 -07:00
Dr. Chat 59861f8d0d Fix the natvis file name 2015-07-03 21:52:45 -05:00
Ben Vanik 4097fe420e Merge pull request #322 from DrChat/xex2_patch
XEX2 Code Refactoring
2015-07-03 19:38:36 -07:00
Dr. Chat 9186d011f0 Bring back some important debug dumps 2015-07-03 21:28:02 -05:00
Dr. Chat 1788ee1589 Linting. 2015-07-03 20:11:08 -05:00
Dr. Chat 03ffb20a43 Warn when importing an unimplemented kernel function 2015-07-03 19:44:11 -05:00
Dr. Chat 8cb8098a6b Dump import libraries 2015-07-03 19:43:43 -05:00
Dr. Chat ed3db90666 Dump a few more headers (incl. execution header) 2015-07-03 19:16:36 -05:00
Dr. Chat b852ce75df Write a dummy value into unresolved import variables. 2015-07-03 19:00:07 -05:00