*
* This will internally get the handle of the service, and on success call CAMU_DriverInitialize.
*/
-Result camInit();
+Result camInit(void);
/**
* @brief Closes the cam service.
*
* This will internally call CAMU_DriverFinalize and close the handle of the service.
*/
-Result camExit();
+Result camExit(void);
/// Begins capture on the specified camera port.
Result CAMU_StartCapture(CAMU_Port port);
Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound);
///Initializes the camera driver.
-Result CAMU_DriverInitialize();
+Result CAMU_DriverInitialize(void);
///Finalizes the camera driver.
-Result CAMU_DriverFinalize();
+Result CAMU_DriverFinalize(void);
/**
* @brief Gets the current activated camera.
Handle camHandle;
static bool initialized = false;
-Result camInit() {
+Result camInit(void) {
Result ret = 0;
if (initialized) return 0;
return 0;
}
-Result camExit() {
+Result camExit(void) {
Result ret = 0;
if (initialized)
return cmdbuf[1];
}
-Result CAMU_DriverInitialize() {
+Result CAMU_DriverInitialize(void) {
Result ret = 0;
u32* cmdbuf = getThreadCommandBuffer();
cmdbuf[0] = 0x00390000;
return cmdbuf[1];
}
-Result CAMU_DriverFinalize() {
+Result CAMU_DriverFinalize(void) {
Result ret = 0;
u32* cmdbuf = getThreadCommandBuffer();
cmdbuf[0] = 0x003A0000;