notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
region detection, cd states wip, fixes, stuff
[picodrive.git]
/
Pico
/
cd
/
gfx_cd.c
diff --git
a/Pico/cd/gfx_cd.c
b/Pico/cd/gfx_cd.c
index
4f393bd
..
c548846
100644
(file)
--- a/
Pico/cd/gfx_cd.c
+++ b/
Pico/cd/gfx_cd.c
@@
-1,5
+1,6
@@
// TODO...
+// #include <string.h>
#include "../PicoInt.h"
#define rot_comp Pico_mcd->rot_comp
@@
-197,3
+198,8
@@
void gfx_cd_write(unsigned int a, unsigned int d)
}
+void gfx_cd_reset(void)
+{
+ memset(&rot_comp.Reg_58, 0, 0/*sizeof(Pico_mcd->rot_comp)*/);
+}
+