mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-26 00:19:12 +12:00
Trongle
This commit is contained in:
parent
75070ca6ef
commit
be4fae5104
33 changed files with 341 additions and 70 deletions
include/services
|
@ -3,6 +3,7 @@
|
|||
#include "PICA/gpu.hpp"
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
enum class GPUInterrupt : u8 {
|
||||
|
@ -26,6 +27,7 @@ class GPUService {
|
|||
// This is the PID of that process
|
||||
u32 privilegedProcess;
|
||||
|
||||
MAKE_LOG_FUNCTION(log, gspGPULogger)
|
||||
void processCommandBuffer();
|
||||
|
||||
// Service commands
|
||||
|
@ -40,6 +42,7 @@ class GPUService {
|
|||
// GSP commands processed via TriggerCmdReqQueue
|
||||
void processCommandList(u32* cmd);
|
||||
void memoryFill(u32* cmd);
|
||||
void triggerDisplayTransfer(u32* cmd);
|
||||
|
||||
public:
|
||||
GPUService(Memory& mem, GPU& gpu, u32& currentPID) : mem(mem), gpu(gpu), currentPID(currentPID) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue