aboutsummaryrefslogtreecommitdiff
path: root/source/seta018.c
diff options
context:
space:
mode:
authorJoão Silva2017-01-14 23:08:50 +0000
committerJoão Silva2017-01-14 23:08:50 +0000
commit3b8323853f4eeddb61398e77c51bb2349f430227 (patch)
tree55cb980be4bf5bf93041392470637d78c73b4854 /source/seta018.c
parentd59c856fbf576daa91fa4a8bade38d97b4edbbe4 (diff)
downloadsnes9x2005-3b8323853f4eeddb61398e77c51bb2349f430227.tar.gz
snes9x2005-3b8323853f4eeddb61398e77c51bb2349f430227.tar.bz2
snes9x2005-3b8323853f4eeddb61398e77c51bb2349f430227.zip
Removed a LOT of useless stuff.
Diffstat (limited to 'source/seta018.c')
-rw-r--r--source/seta018.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/source/seta018.c b/source/seta018.c
index b11cbed..2ae40c0 100644
--- a/source/seta018.c
+++ b/source/seta018.c
@@ -110,35 +110,6 @@ void S9xSetST018(uint8_t Byte, uint32_t Address)
{
// hardware check?
case 0x0100:
- ST018.waiting4command = false;
- ST018.pass++;
- if (ST018.pass == 1)
- {
- ST018.in_count = 1;
- ST018.out_count = 2;
-
- // Overload's research
- ST018.output[0x00] = 0x81;
- ST018.output[0x01] = 0x81;
- }
- else
- {
- //ST018.in_count = 1;
- ST018.out_count = 3;
-
- // no reason to change this
- //ST018.output[0x00] = 0x81;
- //ST018.output[0x01] = 0x81;
- ST018.output[0x02] = 0x81;
-
- // done processing requests
- if (ST018.pass == 3)
- ST018.waiting4command = true;
- }
- break;
-
- // unknown: feels like a security detection
- // format identical to 0x0100
case 0xFF00:
ST018.waiting4command = false;
ST018.pass++;
@@ -153,12 +124,7 @@ void S9xSetST018(uint8_t Byte, uint32_t Address)
}
else
{
- //ST018.in_count = 1;
ST018.out_count = 3;
-
- // no reason to change this
- //ST018.output[0x00] = 0x81;
- //ST018.output[0x01] = 0x81;
ST018.output[0x02] = 0x81;
// done processing requests