mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 17:09:09 +00:00
Create function header
This commit is contained in:
@@ -33,6 +33,7 @@ libpspdebug_a_SOURCES = \
|
||||
kprintf.c \
|
||||
stacktrace.c \
|
||||
profiler.c \
|
||||
screenshot.c \
|
||||
stdio.c \
|
||||
sio.c
|
||||
|
||||
|
@@ -433,6 +433,16 @@ void pspDebugSioEnableKprintf(void);
|
||||
*/
|
||||
void pspDebugSioDisableKprintf(void);
|
||||
|
||||
/**
|
||||
* Save a screenshot to a file
|
||||
*
|
||||
* @param filename - The filename to save the screenshot for the current frame buffer displayed on the screen.
|
||||
* The filename will be saved with a BMP extension.
|
||||
*
|
||||
* @return 0 on success, -1 on error
|
||||
*/
|
||||
int pspScreenshotSave(const char *filename);
|
||||
|
||||
/**@}*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
17
src/debug/screenshot.c
Normal file
17
src/debug/screenshot.c
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* PSP Software Development Kit - https://github.com/pspdev
|
||||
* -----------------------------------------------------------------------
|
||||
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
|
||||
*
|
||||
* screenshot.c - Simple screen debug keyboard
|
||||
*
|
||||
* Copyright (c) 2025, Francisco Javier Trujillo Mata <fjtrujy@gmail.com>
|
||||
*
|
||||
*/
|
||||
|
||||
#include "pspdebug.h"
|
||||
|
||||
int pspScreenshotSave(const char *filename)
|
||||
{
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user