Changes

Jump to navigation Jump to search
Line 1,737: Line 1,737:  
No input/output.
 
No input/output.
   −
Clears a state field if it's not already 0, returning an error otherwise. Then a func is called which just returns 0, then this cmd returns 0.
+
Clears a state field if it's not already 0, returning an error otherwise. On newer sysvers: then a func is called which just returns 0, then this cmd returns 0.
    
=== AcquireLastForegroundCaptureBuffer ===
 
=== AcquireLastForegroundCaptureBuffer ===
Line 1,760: Line 1,760:     
=== AcquireLastApplicationCaptureBufferEx ===
 
=== AcquireLastApplicationCaptureBufferEx ===
No input, returns an output handle and an output u8 bool.
+
No input, returns an output TransferMemory handle and an output u8 bool.
   −
The state field used by [[#ReleaseLastApplicationCaptureBuffer]] must be 0. Calls a func which just returns an error, hence this cmd will just return that error. If that func would have returned successfully, the state field would be set to 1 and the cmd would return 0.
+
The state field used by [[#ReleaseLastApplicationCaptureBuffer]] must be 0. Calls a func which just returns an error (this is only the case on newer sysvers), hence this cmd will just return that error. If that func would have returned successfully, the state field would be set to 1 and the cmd would return 0.
 +
 
 +
On old sysvers, the output TransferMemory is size 0x384000 with permissions=RW.
    
=== AcquireLastForegroundCaptureBufferEx ===
 
=== AcquireLastForegroundCaptureBufferEx ===
No input, returns an output handle and an output u8 bool.
+
No input, returns an output TransferMemory handle and an output u8 bool.
    
Same as [[#AcquireLastApplicationCaptureBufferEx]] except this uses the [[#ReleaseLastForegroundCaptureBuffer]] state field, and uses a different input param value for the called func.
 
Same as [[#AcquireLastApplicationCaptureBufferEx]] except this uses the [[#ReleaseLastForegroundCaptureBuffer]] state field, and uses a different input param value for the called func.
    
=== AcquireCallerAppletCaptureBufferEx ===
 
=== AcquireCallerAppletCaptureBufferEx ===
No input, returns an output handle and an output u8 bool.
+
No input, returns an output TransferMemory handle and an output u8 bool.
    
Same as [[#AcquireLastApplicationCaptureBufferEx]] except this uses the [[#ReleaseCallerAppletCaptureBuffer]] state field, and uses a different input param value for the called func.
 
Same as [[#AcquireLastApplicationCaptureBufferEx]] except this uses the [[#ReleaseCallerAppletCaptureBuffer]] state field, and uses a different input param value for the called func.

Navigation menu