aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxapi
diff options
context:
space:
mode:
authorspicyjpeg <thatspicyjpeg@gmail.com>2022-10-08 10:12:31 +0200
committerspicyjpeg <thatspicyjpeg@gmail.com>2022-10-08 10:12:31 +0200
commit3acc4f93f3b6a96da484aab1f08d61f900085e43 (patch)
tree042ba2e5c35ba6b1e409c5c700177c7069e4c450 /libpsn00b/psxapi
parent6ee55c23b042a1559e8cabfccf3b9d3320c4c5cc (diff)
downloadpsn00bsdk-3acc4f93f3b6a96da484aab1f08d61f900085e43.tar.gz
Fix DMACallback bug, disable logging in release builds
Diffstat (limited to 'libpsn00b/psxapi')
-rw-r--r--libpsn00b/psxapi/drivers.s24
-rw-r--r--libpsn00b/psxapi/stubs.json6
2 files changed, 15 insertions, 15 deletions
diff --git a/libpsn00b/psxapi/drivers.s b/libpsn00b/psxapi/drivers.s
index 1cf5050..d991f90 100644
--- a/libpsn00b/psxapi/drivers.s
+++ b/libpsn00b/psxapi/drivers.s
@@ -90,26 +90,26 @@ ListDev:
jr $t2
li $t1, 0x49
-.section .text.InitCard
-.global InitCard
-.type InitCard, @function
-InitCard:
+.section .text.InitCARD
+.global InitCARD
+.type InitCARD, @function
+InitCARD:
li $t2, 0xb0
jr $t2
li $t1, 0x4a
-.section .text.StartCard
-.global StartCard
-.type StartCard, @function
-StartCard:
+.section .text.StartCARD
+.global StartCARD
+.type StartCARD, @function
+StartCARD:
li $t2, 0xb0
jr $t2
li $t1, 0x4b
-.section .text.StopCard
-.global StopCard
-.type StopCard, @function
-StopCard:
+.section .text.StopCARD
+.global StopCARD
+.type StopCARD, @function
+StopCARD:
li $t2, 0xb0
jr $t2
li $t1, 0x4c
diff --git a/libpsn00b/psxapi/stubs.json b/libpsn00b/psxapi/stubs.json
index 200cbc7..50ffb55 100644
--- a/libpsn00b/psxapi/stubs.json
+++ b/libpsn00b/psxapi/stubs.json
@@ -362,19 +362,19 @@
{
"type": "b",
"id": 74,
- "name": "InitCard",
+ "name": "InitCARD",
"file": "drivers.s"
},
{
"type": "b",
"id": 75,
- "name": "StartCard",
+ "name": "StartCARD",
"file": "drivers.s"
},
{
"type": "b",
"id": 76,
- "name": "StopCard",
+ "name": "StopCARD",
"file": "drivers.s"
},
{