notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.45a Pico win32, code move
[picodrive.git]
/
platform
/
win32
/
GenaDrive
/
Loop.cpp
diff --git
a/platform/win32/GenaDrive/Loop.cpp
b/platform/win32/GenaDrive/Loop.cpp
index
2b3704d
..
8aa0561
100644
(file)
--- a/
platform/win32/GenaDrive/Loop.cpp
+++ b/
platform/win32/GenaDrive/Loop.cpp
@@
-56,8
+56,9
@@
static void UpdateSound(int len)
\r
static void PostProcess()
\r
{
\r
\r
static void PostProcess()
\r
{
\r
- static int lock_to_1_1_prev = 0, is_40_prev = 0;
\r
- int is_40 = PicoGetStat(PS_40_CELL);
\r
+ static int lock_to_1_1_prev = 0, is_40_prev = -1;
\r
+ int is_40;
\r
+ PicoGetInternal(PI_IS40_CELL, (pint_ret_t *)&is_40);
\r
if (lock_to_1_1)
\r
{
\r
if (is_40 != is_40_prev || !lock_to_1_1_prev)
\r
if (lock_to_1_1)
\r
{
\r
if (is_40 != is_40_prev || !lock_to_1_1_prev)
\r
@@
-127,7
+128,7
@@
extern "C" int dprintf(char *format, ...)
}
\r
#endif
\r
\r
}
\r
#endif
\r
\r
-extern "C" int
dprintf2
(char *format, ...)
\r
+extern "C" int
lprintf
(char *format, ...)
\r
{
\r
char str[512];
\r
va_list val=NULL;
\r
{
\r
char str[512];
\r
va_list val=NULL;
\r