Skip to content

Commit

Permalink
Merge pull request wheremyfoodat#409 from wheremyfoodat/wheremyfoodat…
Browse files Browse the repository at this point in the history
…-patch-3

Add GSP::GPU::SetBufferSwap
  • Loading branch information
wheremyfoodat authored Feb 17, 2024
2 parents 6af4a04 + 16a312e commit b685cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/services/gsp_gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ void GPUService::setBufferSwap(u32 messagePointer) {
info.displayFb = mem.read32(messagePointer + 28); // Selects either framebuffer A or B

log("GSP::GPU::SetBufferSwap\n");
Helpers::panic("Untested GSP::GPU::SetBufferSwap call");
Helpers::warn("Untested GSP::GPU::SetBufferSwap call");

setBufferSwapImpl(screenId, info);
mem.write32(messagePointer, IPC::responseHeader(0x05, 1, 0));
Expand Down Expand Up @@ -529,4 +529,4 @@ void GPUService::importDisplayCaptureInfo(u32 messagePointer) {
mem.write32(messagePointer + 28, bottomScreenCapture.rightFramebuffer);
mem.write32(messagePointer + 32, bottomScreenCapture.format);
mem.write32(messagePointer + 36, bottomScreenCapture.stride);
}
}

0 comments on commit b685cb8

Please sign in to comment.