Commit graph

4506 commits

Author SHA1 Message Date
James Benton
89fd09cf1c Add comments for some functions. 2015-12-06 21:24:02 +00:00
James
d6e0f128a4 Merge pull request #115 from achurch/coreinit-exit
Trivial implemetations of _Exit() and OSFatal().
2015-12-06 21:23:47 +00:00
Andrew Church
73fd93e278 Trivial implemetations of _Exit() and OSFatal(). 2015-12-07 02:36:37 +09:00
Andrew Church
d9d6ff14e7 Warn about invalid sections in the symbol table. 2015-12-07 02:32:06 +09:00
Andrew Church
6b8a0dc66c Report an error rather than crashing if an RPL is missing its string table. 2015-12-07 02:31:17 +09:00
Andrew Church
8a11168cd0 Fix missing override declarations. 2015-12-06 16:03:47 +09:00
James Benton
3e84ac4754 Change screen draw shaders to specify glsl 140 core. 2015-12-03 22:39:20 +00:00
James Benton
ec4ac670ff Remove hard dependency on external files.
You should still run in root folder if your game needs to be able to pick
up the shared data fonts.
2015-12-03 22:11:33 +00:00
Lioncash
3dc5521951 instructiontable: simplify findAlias 2015-12-02 17:42:13 -05:00
Lioncash
a1959c9381 instructiontable: compress isA into an all_of call 2015-12-02 15:58:49 -05:00
James Benton
bbc8894777 Update gx2_enum.h so we don't have to use ::Value. 2015-12-02 20:41:48 +00:00
James
1196e549d5 Merge pull request #110 from lioncash/prototype
latte_disassembler: Correct function prototype
2015-12-02 12:34:13 -08:00
James Benton
fbcd0364c8 Fix scope of IdType. 2015-12-02 20:17:31 +00:00
James Benton
3c301e29e4 Introduce coreinit_enum.h 2015-12-02 20:08:05 +00:00
James Benton
5b4bee4877 Various cleanups.
Use =default for empty virtual destructors.
2015-12-02 20:08:05 +00:00
James Benton
f899b1a686 Stub FSGetVolumeState and FSGetLastErrorCodeForViewer. 2015-12-02 20:08:04 +00:00
James Benton
b1242075b7 Implement GX2{Get,Set}SurfaceSwizzle 2015-12-02 20:08:04 +00:00
James Benton
4a61c8eeb2 WPADProbe 2015-12-02 20:08:03 +00:00
James Benton
003fe81f78 Stub nn::act::IsNetworkAccount to return false. 2015-12-02 20:08:03 +00:00
James Benton
b38ea9d3c0 Implement SAVEGetSharedSaveDataPath. 2015-12-02 20:08:03 +00:00
James Benton
9dedf82a41 Stub WPADProbe to return NoController. 2015-12-02 20:08:02 +00:00
James Benton
3589358b28 Remove unused System::loadThunks. 2015-12-02 20:08:02 +00:00
James Benton
472f24aea5 Use a mutex to make TeenyHeap thread safe. 2015-12-02 20:08:01 +00:00
James Benton
3ad8650a2d Remove empty file instructioninfo.cpp 2015-12-02 20:08:01 +00:00
Lioncash
142984950b latte_disassembler: Correct function prototype 2015-12-02 15:07:50 -05:00
Lioncash
1be6d76acb interpreter_loadstore: Use correct GQRs for non-indexed paired-single store variants 2015-12-02 14:46:15 -05:00
James
ce8c10557b Merge pull request #108 from lioncash/break
fuzztests: Get rid of erroneous early break
2015-12-02 11:20:00 -08:00
Lioncash
6a7a200b6b fuzztests: Get rid of erroneous early break 2015-12-02 14:17:56 -05:00
Lioncash
7a34c62393 processor: Remove memset on CoreState struct instance
CoreState consists of an atomic_bool which has it's own initializing
constructor.
2015-12-02 14:12:30 -05:00
James Benton
239cc52c0d Add some more OpenGL texture formats. 2015-12-02 01:23:05 +00:00
James Benton
bda66f8621 Acquire alarm lock for OSSetAlarmTag and OSSetAlarmUserData. 2015-12-02 01:22:48 +00:00
James Benton
959e51947f Change alarm scheduler lock acquisition. 2015-12-02 01:22:43 +00:00
James Benton
5586951765 Use OSWaitAlarm instead of alarm callback in OSSleepTicks. 2015-12-02 01:22:37 +00:00
James Benton
3fcc340184 Alarm member callback should be in big endian. 2015-12-02 01:22:19 +00:00
James Benton
b1354d5f69 Fix loader to use module base name to find modules. 2015-12-02 01:22:11 +00:00
James Benton
325fd0e082 Release alarm lock before performing alarm callback. 2015-12-02 01:22:03 +00:00
James Benton
f3eb6d8ec8 Fix OSCancelAlarm not waking up waiting threads. 2015-12-02 01:21:52 +00:00
James Benton
0ee9309c26 Fix OSWaitAlarm not returning FALSE when alarm is cancelled. 2015-12-02 01:21:31 +00:00
James Benton
9789cce825 Fix alarm cancel. 2015-12-02 01:21:19 +00:00
James Benton
229178caca Add noexcept to exception what() method. 2015-12-02 01:26:31 +00:00
James Benton
b7ccb7eb22 Revert "Fix alarm + event deadlock."
This reverts commit de9f625660.
Seems to have introduced a race condition.
2015-12-02 00:54:05 +00:00
James Benton
b45d426cc5 Add SRGB_R8_G8_B8_A8 storage format. 2015-12-02 00:51:14 +00:00
James Benton
a8866737a7 Fix unimplemented_error constructor. 2015-12-02 00:51:05 +00:00
James Benton
406e36d73c Improved opengl_driver unimplemented feature error reporting. 2015-12-02 00:36:43 +00:00
James Benton
de9f625660 Fix alarm + event deadlock. 2015-12-02 00:20:29 +00:00
James Benton
4ac00e6d44 Generate quad indices when they do not exist. 2015-12-02 00:19:45 +00:00
James Benton
9f7b1b2a4c cmake: Add coreinit_lockedcache{.cpp,.h} 2015-12-01 23:39:39 +00:00
James Benton
1085cb10bf Implement AXIsInit. 2015-12-01 23:39:38 +00:00
James Benton
6ec19f88f4 Implement a few GX2RBuffer functions. 2015-12-01 23:39:37 +00:00
James Benton
3a10b5be23 Implement GX2SetCullOnlyControl. 2015-12-01 23:39:36 +00:00