Commit graph

4509 commits

Author SHA1 Message Date
GaryOderNichts a0f9d66703 ios/kernel: Check block state in IOS_HeapRealloc 2023-10-20 04:10:03 -07:00
GaryOderNichts d985cc8b2b ios/kernel: IOS_HeapRealloc allocates a new block if ptr is null 2023-10-20 04:10:03 -07:00
James Benton dd0b1be358 Replace use of removed vk::createResultValue with vk::resultCheck.
Fixes #649.
2023-04-14 11:05:36 +01:00
James Benton c3a4667687 Fix for latest Vulkan SDK. 2022-05-07 13:37:58 +01:00
James Benton e35c30b50f nn/act: Fix enum names.
sublime text convert case makes this ez pz
2022-05-07 11:50:39 +01:00
James Benton 42b5926d18 ios/fpd: Set current account in loadConsoleAccount. 2022-05-07 11:50:39 +01:00
James Benton c7d477ae3d ios/fpd: Fix getAccountBySlotNo returning unused accounts. 2022-05-07 11:50:39 +01:00
James Benton d0ef0f4d1f cafe/nn: Fix default value of nn::ipc::Client handle. 2022-05-07 11:50:39 +01:00
Ash Logan 4e11ceead7 cafe/kernel: Handle program exceptions 2022-04-28 08:21:48 +02:00
Ash Logan 77532b933b cpu: Add program exception interrupt and trigger on bad SPRs 2022-04-28 08:21:48 +02:00
James Benton 6f3654f99c cafe/nn_boss: Stub Task::Register. 2022-01-30 15:44:08 +00:00
James Benton d3562e19b2 cafe/nn_boss: Implement nn::boss::{AlmightyTask,PrivilegedTask}. 2022-01-30 15:44:08 +00:00
James Benton da05b635dc ios/nim: Add boss PrivilegedService. 2022-01-30 15:44:08 +00:00
James Benton 9535f8d3c2 cafe/nn_boss: Implement Account_{Constructor,Destructor,AddAccount}. 2022-01-30 15:44:08 +00:00
James Benton cb3baf0c71 nn/boss: Add all service definitions. 2022-01-30 15:44:08 +00:00
James Benton 72306f64df nn/boss: Fix boss result names. 2022-01-30 15:44:08 +00:00
James Benton 6617039d20 cafe/nn_boss: Implement /dev/boss client. 2022-01-30 15:44:08 +00:00
James Benton 652168fb0a ios: Fix all nn service's return values for invalid commands. 2022-01-30 15:44:07 +00:00
James Benton 239e407b75 nn/ipc: Fix result capitalisations. 2022-01-30 15:44:07 +00:00
James Benton 2994dd3bae nn/acp: Implement nn::ac::CreateSaveDirEx. 2022-01-28 23:18:10 +00:00
James Benton a38580c819 cafe/nn_ec: Add more functions. 2022-01-28 20:42:08 +00:00
James Benton 23ab9799f6 cafe/nn_ec: Fix nn::ec::ShoppingCatalog being the wrong size.
Had an extra virtualTable when it should be using the one from ItemList.
2022-01-28 20:39:11 +00:00
James Benton 4a7546c3aa cafe/nn_boss: Implement nn::boss::DataName. 2022-01-28 20:04:19 +00:00
James Benton fe896d1133 cafe/swkbd: Optionally use user provided text buffer. 2022-01-27 22:03:14 +00:00
Ash Logan bb525b1814 cafe/sndcore2: Implement voice ADSR. 2022-01-26 09:37:20 +00:00
Ash Logan 7a3252f011 cafe/h264: Reset codec in H264DECFlush rather than ending stream
Sending a null packet causes the stream to be finished permanently, and 
reject any new frames. This is a problem, since games like Mario Kart 8 
call H264DECFlush *before* starting a decode.
Using avcodec_flush_buffers has the intended effect of discarding 
buffered frames while still allowing new data.
2022-01-26 09:36:10 +00:00
Ash Logan 99d0431a66 cafe/h264: Update to new ffmpeg API (av_init_packet->av_alloc_packet) 2022-01-26 09:36:10 +00:00
James Benton 0061384683 gpu: Fix createAccessChain being in ShaderSpvBuilder instead of SpvBuilder. 2022-01-25 16:49:38 +00:00
James Benton fefee7fe03 cafe/coreinit: Fix OSSetPeriodicAlarm when start is 0. 2022-01-25 16:49:38 +00:00
James Benton ed3e319808 cafe/coreinit: Check if filesystem is initialised in fsCmdBlockPrepareAsync. 2022-01-25 16:49:38 +00:00
James Benton 120a5d4704 Fix toml config writing not updating existing values. 2022-01-25 16:49:38 +00:00
James Benton 9bb1d95948 cpu/be2_array: Fix handling of cnl::fixed_point in a be2_array. 2022-01-25 11:52:08 +00:00
James Benton 7099b0bd2e cmake: Install vcpkg runtime dependencies when using vcpkg. 2022-01-25 11:50:53 +00:00
James Benton 8bb6667635 cmake: Do not build SPIRV with -fno-rtti 2022-01-25 11:08:45 +00:00
James Benton ea2a90f6ce Fix gcc build.
MSVC and GCC disagree on how to handle commas in macros apparently.
2022-01-23 23:41:09 +00:00
James Benton 98ea1caed2 cafe/nn_ec: Add some nn::ec types.
nn::ec::Catalog
nn::ec::ItemList
nn::ec::MemoryManager
nn::ec::Money
nn::ec::NonCopyable
nn::ec::RootObject
nn::ec::ShoppingCatalog
2022-01-23 23:01:39 +00:00
James Benton 4e3d10d851 cafe/nn: Add nn::os::CriticalSection. 2022-01-23 23:00:50 +00:00
James Benton f0276954be Replace unmaintained cpptoml with toml++ 2022-01-23 21:06:27 +00:00
James Benton 7d19c56094 decaf-qt: Add missing include to QAbstractButton 2022-01-23 10:47:59 +00:00
James Benton 2b55942eb8 Restore submodules for less widely available libraries. 2022-01-23 10:30:56 +00:00
James Benton 75993f0a6d cafe/nlibcurl: Stub curl_global_init_mem. 2022-01-22 22:23:13 +00:00
James Benton d2713463a7 cafe/gx2: Fix missing export of GX2GetPolygonControlReg.
Also polyMode is 2 bits, so not a BOOL.
2022-01-22 22:12:55 +00:00
James Benton b71653cd4f Fix assertWarnFailed using wrong file / line. 2022-01-22 22:08:46 +00:00
James Benton 80270fd6a6 Add basic ErrEula display to decaf-qt. 2022-01-22 20:16:38 +00:00
James Benton 18d539ad88 gpu: Fix spirv createAccessChain with newer glslang.
I do not actually have a clue how you're supposed to use this new
createAccessChain correctly... weird shit... but this hack works.
2022-01-22 16:07:44 +00:00
James Benton f1c493a297 Add fmt formatters for vfs::Error and gpu::WindowSystemType. 2022-01-22 14:47:08 +00:00
James Benton c266a758dd cafe/gx2: Remove rogue pragma pack from gx2_fenc.h 2022-01-22 14:44:57 +00:00
James Benton 8fce24b1e0 Support building with either Qt5 5.15+ or Qt6. 2022-01-22 13:43:32 +00:00
James Benton f50fea945d Update usage of deprecated fmt::format_to API. 2022-01-22 13:43:32 +00:00
James Benton 600337d414 Port to vcpkg 2022-01-22 13:43:32 +00:00