[GSP::GPU] Add forgotten error codes

This commit is contained in:
wheremyfoodat 2022-09-21 01:01:02 +03:00
parent 1c8a9e8b56
commit fef585ebb3

View file

@ -155,6 +155,8 @@ void GPUService::flushDataCache(u32 messagePointer) {
u32 size = mem.read32(messagePointer + 8);
u32 processHandle = handle = mem.read32(messagePointer + 16);
printf("GSP::GPU::FlushDataCache(address = %08X, size = %X, process = %X\n", address, size, processHandle);
mem.write32(messagePointer + 4, Result::Success);
}
void GPUService::setLCDForceBlack(u32 messagePointer) {
@ -164,4 +166,6 @@ void GPUService::setLCDForceBlack(u32 messagePointer) {
if (flag != 0) {
printf("Filled both LCDs with black\n");
}
mem.write32(messagePointer + 4, Result::Success);
}