notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfixes in sram memhandlers
[libpicofe.git]
/
psp
/
psp.c
diff --git
a/psp/psp.c
b/psp/psp.c
index
b7c8693
..
51b4471
100644
(file)
--- a/
psp/psp.c
+++ b/
psp/psp.c
@@
-1,3
+1,8
@@
+// (c) Copyright 2007 notaz, All rights reserved.
+// Free for non-commercial use.
+
+// For commercial use, separate licencing terms must be obtained.
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
@@
-122,6
+127,7
@@
void psp_init(void)
void psp_finish(void)
{
void psp_finish(void)
{
+ lprintf("psp_finish..\n");
sceGuTerm();
//sceKernelSleepThread();
sceGuTerm();
//sceKernelSleepThread();
@@
-206,6
+212,7
@@
char *psp_get_status_line(void)
/* alt logging */
#define LOG_FILE "log.txt"
/* alt logging */
#define LOG_FILE "log.txt"
+#ifndef LPRINTF_STDIO
typedef struct _log_entry
{
char buff[256];
typedef struct _log_entry
{
char buff[256];
@@
-213,6
+220,7
@@
typedef struct _log_entry
} log_entry;
static log_entry *le_root = NULL;
} log_entry;
static log_entry *le_root = NULL;
+#endif
void lprintf_f(const char *fmt, ...)
{
void lprintf_f(const char *fmt, ...)
{