git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.opendreambox.org/git/enigma2
[enigma2.git]
/
main
/
bsod.cpp
diff --git
a/main/bsod.cpp
b/main/bsod.cpp
index 784b2171997f0315f6691692635d5a519b23953d..42f83052dd9b806bf54ad56b7632373d23b04e3c 100644
(file)
--- a/
main/bsod.cpp
+++ b/
main/bsod.cpp
@@
-112,15
+112,16
@@
void bsodFatal()
p.setBackgroundColor(gRGB(0x0000C0));
else if (ENIGMA2_CHECKOUT_TAG[0] == 'D') /* dated checkout (daily experimental build) */
{
p.setBackgroundColor(gRGB(0x0000C0));
else if (ENIGMA2_CHECKOUT_TAG[0] == 'D') /* dated checkout (daily experimental build) */
{
+ srand(time(0));
int r = rand();
int r = rand();
- unsigned int col;
+ unsigned int col
= 0
;
if (r & 1)
col |= 0x800000;
if (r & 2)
col |= 0x008000;
if (r & 4)
col |= 0x0000c0;
if (r & 1)
col |= 0x800000;
if (r & 2)
col |= 0x008000;
if (r & 4)
col |= 0x0000c0;
- p.setBackgroundColor(gRGB(
r
));
+ p.setBackgroundColor(gRGB(
col
));
}
#else
p.setBackgroundColor(gRGB(0x008000));
}
#else
p.setBackgroundColor(gRGB(0x008000));
@@
-171,7
+172,7
@@
void bsodFatal()
#if defined(__MIPSEL__)
void oops(const mcontext_t &context, int dumpcode)
{
#if defined(__MIPSEL__)
void oops(const mcontext_t &context, int dumpcode)
{
- eDebug("PC: %08lx
, vaddr: %08lx", (unsigned long)context.pc, (unsigned long)context.badvaddr
);
+ eDebug("PC: %08lx
", (unsigned long)context.pc
);
int i;
for (i=0; i<32; ++i)
{
int i;
for (i=0; i<32; ++i)
{