James Benton
68ecc81cdc
Change rpx path to a std::string.
...
Fixes memory corruption for unlucky people.
2015-08-13 17:09:28 +01:00
James Benton
5e4ec15e2f
Make the log fileoutput always flush.
2015-08-13 17:09:27 +01:00
Brett Lawson
905ccee469
Ensure setup command list executes before first frame starts.
2015-08-12 22:39:35 -04:00
Brett Lawson
883a8ed57b
Fix rendertarget assignment warnings.
2015-08-12 22:34:15 -04:00
Brett Lawson
77eddd1c94
Fix DX12 warning.
2015-08-12 22:26:46 -04:00
Brett Lawson
b820837e8b
Fixed bug where first HostLookupTable entry is always lost.
2015-08-12 22:20:37 -04:00
Brett Lawson
dab346a2c8
Added GX2ContextState HW "State Mirroring".
2015-08-12 22:17:14 -04:00
Brett Lawson
979c421e9f
Added support for render target assignment and depth buffer creation.
2015-08-12 21:21:41 -04:00
Brett Lawson
34f2d3d42d
Added GX2 viewport and scissor-rect control.
2015-08-12 21:04:19 -04:00
Brett Lawson
cc1f3b8fd0
More GX2 drawing related shenanigans.
2015-08-12 21:13:02 -03:00
Brett Lawson
2863221914
Retargetted application to Windows 10 SDK and DirectX 12.
2015-08-11 22:15:00 -04:00
Yannik Marchand
754a907719
Ori and oris shouldn't update the cr
2015-08-08 00:00:32 +02:00
James Benton
5d51cbd371
Add number of srcs to ALU ops.
2015-08-05 23:56:19 +01:00
James Benton
1e6acf64f2
Start shader disassembler.
2015-08-05 23:26:20 +01:00
Brett Lawson
0cca5bf670
Improve GX2 implementation basics.
2015-08-04 00:05:31 -04:00
Brett Lawson
ed08088f47
Added glbinding library to simplify OpenGL usage.
2015-08-04 00:05:24 -04:00
Brett Lawson
30e63f008d
Began work on implementing GX2 stuff.
2015-08-03 21:18:07 -04:00
James Benton
9aee619f1c
Set GX2SetStencilMask types to uint8_t.
2015-08-03 00:50:11 +01:00
James Benton
64dd4cb667
Stub ProcUIRegisterCallback, ProcUISetMEM1Storage.
2015-08-03 00:49:01 +01:00
James Benton
cda24be63f
Litter the code with TODO.
...
I like to be able to search for TODO statements
to remind me what needs to be done ;).
2015-08-03 00:48:42 +01:00
James Benton
8da3541ec8
Stub OSEnableHomeButtonMenu, OSBlockThreadsOnExit
2015-08-03 00:47:34 +01:00
James Benton
52aaccb5ec
Stub GX2SetPixelUniformReg, GX2SetShaderModeEx
2015-08-03 00:13:33 +01:00
James Benton
bbd9cafb09
Stub GX2InitSampler
2015-08-03 00:13:24 +01:00
James Benton
1503a582f5
Stub GX2SetClearDepthStencil, GX2SetAttribBuffer, GX2DrawEx
2015-08-03 00:12:49 +01:00
James Benton
5104dc8cff
Stub GX2GetLastFrame, GX2GetLastFrameGamma, GX2CopyColorBufferToScanBuffer
2015-08-03 00:12:38 +01:00
James Benton
b80a3f88a8
Rename gx2_core to gx2_context
2015-08-03 00:12:18 +01:00
James Benton
0141a488e8
Workaround wglMakeCurrent randomly failing.
2015-08-02 21:28:43 +01:00
James Benton
89494f5dcc
Fix OSAlarm to use OSTime as a time base instaed of OSGetSystemTime.
2015-08-02 15:41:52 +01:00
James Benton
3d3543c45a
Fix OSSetAlarm using the wrong start time.
2015-08-02 15:41:30 +01:00
James Benton
1304f48119
Use TCHAR for Windows API.
2015-08-02 15:33:43 +01:00
James Benton
80dbfeb5eb
LRESULT WndProc
2015-08-02 15:33:24 +01:00
James Benton
44f1f37082
enum class is not fit for this purpose.
2015-08-02 15:27:11 +01:00
James Benton
f9ab0223f6
Add GX2SetVertexUniformReg stub.
2015-08-02 15:27:11 +01:00
James Benton
c59c2df75a
Add GX2SetPixelTexture stub.
2015-08-02 15:27:11 +01:00
James Benton
2e04cd9242
Add GX2ClearBuffersEx stub.
2015-08-02 15:27:10 +01:00
Brett Lawson
8fd5547669
Initial pass of setting up a Win32 window for GL drawing.
...
This also initialises Core#1 with a primary context for drawing,
and Core#0, Core#2 with secondary context's sharing display lists
with Core#1.
2015-08-02 10:49:59 -03:00
Zhuowei Zhang
1e707c784b
zlib: fix typo in free wrapper
2015-08-01 18:35:07 -07:00
Zhuowei Zhang
f85db148bf
coreinit: implement OSConsoleWrite
2015-08-01 17:32:22 -07:00
James Benton
4c81f1f486
Make locking in Processor more explicit.
2015-08-01 17:56:54 +01:00
James Benton
ba4f83fff1
Fix OSCheckAlarms not corretly setting next interrupt timer.
2015-08-01 17:53:42 +01:00
Brett Lawson
8d4bfa9393
Added names to threads to assist when debugging.
2015-08-01 13:25:09 -03:00
Brett Lawson
2ab624a262
Fixed race between fiber switch and delete.
...
Made FiberDeleteList core specific to guarentee that the
fiber switch occurs prior to deletion of the fiber.
Without this, fibers get destroyed while still executing,
corrupting their stack and crashing.
2015-08-01 13:19:01 -03:00
Brett Lawson
8ace143174
Fix race-condition with fiber and fiber-delete lists.
2015-08-01 12:37:07 -03:00
Brett Lawson
34dd040c75
Fix bug in handling of zlib alloc/free.
...
Note that while we now use game-memory for internal zlib
allocations, the data stored in that memory is big-endian
and unreadable by the game.
2015-08-01 11:43:22 -03:00
Brett Lawson
c6ffb1c617
Added platform-specific headers and made OSTicksToCalendarTime thread-safe.
2015-08-01 10:52:23 -03:00
James Benton
882edddb5c
Use CoreCount constant instead of value 3.
...
"Future-proof" ;)
2015-08-01 12:31:13 +01:00
James Benton
d8562579e9
Fix interrupts not setting core->currentFiber.
...
Closes #27 .
2015-08-01 12:30:53 +01:00
James Benton
9a4dcb2703
Cleanup initial thread creation.
2015-08-01 12:22:53 +01:00
James Benton
f4482ae37b
Add OSSprintfFromSystem which will sprintf into a buffer allocated from system memory.
2015-08-01 12:22:19 +01:00
James Benton
daafcf5ec6
Add CHECK_OFFSET and CHECK_SIZE for OSCalendarTime.
2015-08-01 11:29:51 +01:00