Commit graph

4506 commits

Author SHA1 Message Date
Brett Lawson
84a2179d85 Improved tracing state tracking. 2015-09-09 12:39:06 -03:00
Brett Lawson
8c4af5e827 Started implementing tracing support to debugger. 2015-09-09 12:39:06 -03:00
James Benton
f8b73c9c62 Stub KPADGetMplsWorkSize, KPADSetMplsWorkArea 2015-09-05 17:37:13 +01:00
James Benton
279d36f415 Stub GX2Get{Vertex,Pixel}Shader{GPRS,StackEntries} 2015-09-05 17:22:31 +01:00
James Benton
3dcb6e3c47 Fix FSReadDir recursion for skipping . and .. 2015-09-05 17:22:10 +01:00
James Benton
8449498bf2 Remove accidental commited debug code. 2015-09-05 17:21:54 +01:00
James Benton
b149da1fda Add SYSGetSystemApplicationTitleId stub.
TODO: Find the real value to return.
2015-09-05 17:09:41 +01:00
James Benton
617418f1cc Ignore empty strings when splitting. 2015-09-05 17:09:40 +01:00
James Benton
f78d394868 Skip . and .. entries in read directory. 2015-09-05 17:09:40 +01:00
James Benton
d02734c5a7 Fix signed/unsigned compare warning. 2015-09-05 17:09:39 +01:00
James Benton
8efe68a1ca Rewrite of filesystem. 2015-09-05 17:09:20 +01:00
Brett Lawson
7f2caeffd3 Minor change to memory handling. 2015-09-03 22:56:07 -04:00
Brett Lawson
385dfefc0f Refactored field decoding to use a common field description file. 2015-09-03 22:32:43 -04:00
Brett Lawson
667ca68d12 Added stack and entrypoint data to DebugNet thread state. 2015-09-03 21:58:20 -04:00
Brett Lawson
dc992f713e Fix an issue where PPC code was writing past the end of the stack. 2015-09-03 19:00:14 -04:00
Brett Lawson
649b84cb0b Fix minor issue with alias disassembling. 2015-09-03 18:59:52 -04:00
Brett Lawson
63765c28b9 Added support for instruction aliases. 2015-09-03 17:41:10 -04:00
Brett Lawson
77627370e3 Improved symbol naming for debugger. 2015-09-03 17:40:51 -04:00
Brett Lawson
4427443b07 Added significantly more debugging support. 2015-09-03 00:01:48 -04:00
Brett Lawson
d6f7d838d5 Fix some minor issues with the debugging engine. 2015-09-01 20:52:47 -04:00
Brett Lawson
3a597eb2e0 Even more debugging stuff, and fix breakpoint nullptr bug. 2015-09-01 20:02:45 -04:00
Brett Lawson
238d1be899 Fix signed/unsigned conversion warning. 2015-09-01 20:02:20 -04:00
Brett Lawson
b19b88c205 Added significantly more debugging stuff. 2015-09-02 11:24:37 -03:00
James Benton
18e45d71c6 Implement SAVEGetSharedDataTitlePath. 2015-09-01 23:56:37 +01:00
Yannik Marchand
236453712a Fix folders not found bug
For some reason, the file pointer is null if the folder doesn't exist, but it is not null if the folder exists, but the file doesn't. The previous fix for NSMBU made the functions crash if the folder doesn't exist.
2015-08-31 17:07:06 +02:00
Yannik Marchand
2e7f5152fb Fix file bug with good() 2015-08-30 09:57:12 +02:00
Brett Lawson
2653d8bcf7 Added more debugger shenanigans.
Debug management now occurs on a seperate thread from
the cores, even in the case of a hit breakpoints.
2015-08-27 21:53:35 -04:00
Brett Lawson
0b76f7c7a1 Added the beginnings of debugger support. 2015-08-27 20:45:20 -04:00
Brett Lawson
e9a656cd66 Fix bug where NULL symbols in symtab cause a crash. 2015-08-26 22:50:39 -04:00
Brett Lawson
3727eff0ec Resolve GSH constness shenanigans. 2015-08-26 21:34:46 -04:00
Brett Lawson
b77375b19b Added starting implementation of nn_temp. 2015-08-26 21:17:10 -04:00
Brett Lawson
20545ab6a2 Fixed bug with psq_st, psq_stu, psq_l, psq_lu.
Thanks to @Kinnay for finding this.
2015-08-26 21:17:01 -04:00
Brett Lawson
f3b62d7749 Give reversed apparent sizings to _iobuf. 2015-08-26 19:59:36 -04:00
Brett Lawson
2043d738bc Fix incorrect use of host instead of GHS constant. 2015-08-26 19:56:31 -04:00
Brett Lawson
4a82ef3e16 Added more GHS function implementations. 2015-08-26 19:53:46 -04:00
Brett Lawson
4e666b53c3 Added section tracking and printing to Loader. 2015-08-26 19:43:22 -04:00
Brett Lawson
e809101d77 Fix bug in be_wfunc_ptr proxy. 2015-08-26 19:42:48 -04:00
Brett Lawson
0ff707b929 Significant refactoring of loader code.
Added some better tracer stuff, be_wfunc_ptr proxy, and
some other things...
2015-08-26 16:04:48 -03:00
Brett Lawson
c254e27040 Added be_data to allow allocations in PPC code. 2015-08-26 16:04:48 -03:00
James Benton
ffcb2ca94b Move d3d12 libs to a pragma for conditional compilation. 2015-08-25 18:41:25 +01:00
James Benton
e8c56e1a74 Update the disassemble cals in gx2dx12_shaders.cpp 2015-08-25 18:30:53 +01:00
James Benton
12bad825d6 Move NOMINMAX to project settings. 2015-08-25 18:30:37 +01:00
James Benton
889d9e1b87 More work on hlsl generation. 2015-08-20 00:10:33 +01:00
James Benton
990088ff2a Start work on HLSL generation. 2015-08-18 23:48:26 +01:00
James Benton
79f34773d4 Further work on shader decompiler.
Can now break it down into AST-like blocks of code.
2015-08-17 01:22:31 +01:00
Brett Lawson
b611dcf047 Added some things related to SHT_RPL_EXPORTS 2015-08-14 13:09:34 -03:00
James Benton
65a0438900 Start the shader decompiler. 2015-08-14 00:32:10 +01:00
Brett Lawson
5fa8aa4a41 Added shader printing for fetch shader data. 2015-08-13 01:01:54 -04:00
Brett Lawson
23cfda2b23 Added some shader disassemblering. 2015-08-13 13:16:10 -03:00
James Benton
bbe271542d Add EXPORT instructions to latte disassembler. 2015-08-13 01:09:57 +01:00