Skip to content

Commit 3700577

Browse files
committed
feat: Make all stubs weak imports
1 parent 314b208 commit 3700577

65 files changed

Lines changed: 105 additions & 105 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/audio/sceAudio.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceAudio_0000
6-
IMPORT_START "sceAudio",0x40010000
6+
IMPORT_START "sceAudio",0x40090000
77
#endif
88
#ifdef F_sceAudio_0001
99
IMPORT_FUNC "sceAudio",0x8C1009B2,sceAudioOutput

src/audio/sceAudio_driver.S

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,114 +3,114 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceAudio_driver_0000
6-
IMPORT_START "sceAudio_driver",0x00010000
6+
IMPORT_START "sceAudio_driver",0x00090000
77
#endif
88

99
#ifdef F_sceAudio_driver_0001
1010
IMPORT_FUNC "sceAudio_driver",0x80F1F7E0,sceAudioInit
1111
#endif
1212

13-
#ifdef F_sceAudio_driver_0002
13+
#ifdef F_sceAudio_driver_0002
1414
IMPORT_FUNC "sceAudio_driver",0x210567F7,sceAudioEnd
1515
#endif
1616

17-
#ifdef F_sceAudio_driver_0003
18-
IMPORT_FUNC "sceAudio_driver",0xA2BEAA6C,sceAudioSetFrequency
17+
#ifdef F_sceAudio_driver_0003
18+
IMPORT_FUNC "sceAudio_driver",0xA2BEAA6C,sceAudioSetFrequency
1919
#endif
2020

2121
#ifdef F_sceAudio_driver_0004
22-
IMPORT_FUNC "sceAudio_driver",0xB61595C0,sceAudioLoopbackTest
22+
IMPORT_FUNC "sceAudio_driver",0xB61595C0,sceAudioLoopbackTest
2323
#endif
2424

2525
#ifdef F_sceAudio_driver_0005
26-
IMPORT_FUNC "sceAudio_driver",0x927AC32B,sceAudioSetVolumeOffset
26+
IMPORT_FUNC "sceAudio_driver",0x927AC32B,sceAudioSetVolumeOffset
2727
#endif
2828

2929
#ifdef F_sceAudio_driver_0006
30-
IMPORT_FUNC "sceAudio_driver",0x8C1009B2,sceAudioOutput
30+
IMPORT_FUNC "sceAudio_driver",0x8C1009B2,sceAudioOutput
3131
#endif
3232

3333
#ifdef F_sceAudio_driver_0007
34-
IMPORT_FUNC "sceAudio_driver",0x136CAF51,sceAudioOutputBlocking
34+
IMPORT_FUNC "sceAudio_driver",0x136CAF51,sceAudioOutputBlocking
3535
#endif
3636

3737
#ifdef F_sceAudio_driver_0008
38-
IMPORT_FUNC "sceAudio_driver",0xE2D56B2D,sceAudioOutputPanned
38+
IMPORT_FUNC "sceAudio_driver",0xE2D56B2D,sceAudioOutputPanned
3939
#endif
4040

4141
#ifdef F_sceAudio_driver_0009
42-
IMPORT_FUNC "sceAudio_driver",0x13F592BC,sceAudioOutputPannedBlocking
42+
IMPORT_FUNC "sceAudio_driver",0x13F592BC,sceAudioOutputPannedBlocking
4343
#endif
4444

4545
#ifdef F_sceAudio_driver_0010
46-
IMPORT_FUNC "sceAudio_driver",0x5EC81C55,sceAudioChReserve
46+
IMPORT_FUNC "sceAudio_driver",0x5EC81C55,sceAudioChReserve
4747
#endif
4848

4949
#ifdef F_sceAudio_driver_0011
50-
IMPORT_FUNC "sceAudio_driver",0x41EFADE7,sceAudioOneshotOutput
50+
IMPORT_FUNC "sceAudio_driver",0x41EFADE7,sceAudioOneshotOutput
5151
#endif
5252

5353
#ifdef F_sceAudio_driver_0012
54-
IMPORT_FUNC "sceAudio_driver",0x6FC46853,sceAudioChRelease
54+
IMPORT_FUNC "sceAudio_driver",0x6FC46853,sceAudioChRelease
5555
#endif
5656

5757
#ifdef F_sceAudio_driver_0013
58-
IMPORT_FUNC "sceAudio_driver",0xB011922F,sceAudio_driver_B011922F
58+
IMPORT_FUNC "sceAudio_driver",0xB011922F,sceAudio_driver_B011922F
5959
#endif
6060

6161
#ifdef F_sceAudio_driver_0014
62-
IMPORT_FUNC "sceAudio_driver",0xCB2E439E,sceAudioSetChannelDataLen
62+
IMPORT_FUNC "sceAudio_driver",0xCB2E439E,sceAudioSetChannelDataLen
6363
#endif
6464

6565
#ifdef F_sceAudio_driver_0015
66-
IMPORT_FUNC "sceAudio_driver",0x95FD0C2D,sceAudioChangeChannelConfig
66+
IMPORT_FUNC "sceAudio_driver",0x95FD0C2D,sceAudioChangeChannelConfig
6767
#endif
6868

6969
#ifdef F_sceAudio_driver_0016
70-
IMPORT_FUNC "sceAudio_driver",0xB7E1D8E7,sceAudioChangeChannelVolume
70+
IMPORT_FUNC "sceAudio_driver",0xB7E1D8E7,sceAudioChangeChannelVolume
7171
#endif
7272

7373
#ifdef F_sceAudio_driver_0017
74-
IMPORT_FUNC "sceAudio_driver",0x38553111,sceAudio_driver_38553111
74+
IMPORT_FUNC "sceAudio_driver",0x38553111,sceAudio_driver_38553111
7575
#endif
7676

7777
#ifdef F_sceAudio_driver_0018
78-
IMPORT_FUNC "sceAudio_driver",0x5C37C0AE,sceAudio_driver_5C37C0AE
78+
IMPORT_FUNC "sceAudio_driver",0x5C37C0AE,sceAudio_driver_5C37C0AE
7979
#endif
8080

8181
#ifdef F_sceAudio_driver_0019
82-
IMPORT_FUNC "sceAudio_driver",0xE0727056,sceAudio_driver_E0727056
82+
IMPORT_FUNC "sceAudio_driver",0xE0727056,sceAudio_driver_E0727056
8383
#endif
8484

8585
#ifdef F_sceAudio_driver_0020
86-
IMPORT_FUNC "sceAudio_driver",0x086E5895,sceAudioInputBlocking
86+
IMPORT_FUNC "sceAudio_driver",0x086E5895,sceAudioInputBlocking
8787
#endif
8888

8989
#ifdef F_sceAudio_driver_0021
90-
IMPORT_FUNC "sceAudio_driver",0x6D4BEC68,sceAudioInput
90+
IMPORT_FUNC "sceAudio_driver",0x6D4BEC68,sceAudioInput
9191
#endif
9292

9393
#ifdef F_sceAudio_driver_0022
94-
IMPORT_FUNC "sceAudio_driver",0xA708C6A6,sceAudioGetInputLength
94+
IMPORT_FUNC "sceAudio_driver",0xA708C6A6,sceAudioGetInputLength
9595
#endif
9696

9797
#ifdef F_sceAudio_driver_0023
98-
IMPORT_FUNC "sceAudio_driver",0x87B2E651,sceAudioWaitInputEnd
98+
IMPORT_FUNC "sceAudio_driver",0x87B2E651,sceAudioWaitInputEnd
9999
#endif
100100

101101
#ifdef F_sceAudio_driver_0024
102-
IMPORT_FUNC "sceAudio_driver",0x7DE61688,sceAudioInputInit
102+
IMPORT_FUNC "sceAudio_driver",0x7DE61688,sceAudioInputInit
103103
#endif
104104

105105
#ifdef F_sceAudio_driver_0025
106-
IMPORT_FUNC "sceAudio_driver",0xE926D3FB,sceAudioInputInitEx
106+
IMPORT_FUNC "sceAudio_driver",0xE926D3FB,sceAudioInputInitEx
107107
#endif
108108

109109
#ifdef F_sceAudio_driver_0026
110-
IMPORT_FUNC "sceAudio_driver",0xA633048E,sceAudioPollInputEnd
110+
IMPORT_FUNC "sceAudio_driver",0xA633048E,sceAudioPollInputEnd
111111
#endif
112112

113113
#ifdef F_sceAudio_driver_0027
114-
IMPORT_FUNC "sceAudio_driver",0xE9D97901,sceAudioGetChannelRestLen
114+
IMPORT_FUNC "sceAudio_driver",0xE9D97901,sceAudioGetChannelRestLen
115115
#endif
116116

src/ctrl/sceCtrl.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceCtrl_0000
6-
IMPORT_START "sceCtrl",0x40010000
6+
IMPORT_START "sceCtrl",0x40090000
77
#endif
88
#ifdef F_sceCtrl_0001
99
IMPORT_FUNC "sceCtrl",0x6A2774F3,sceCtrlSetSamplingCycle

src/ctrl/sceCtrl_driver.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// sceCtrl_driver_0000.o sceCtrl_driver_0001.o sceCtrl_driver_0002.o sceCtrl_driver_0003.o sceCtrl_driver_0004.o sceCtrl_driver_0005.o sceCtrl_driver_0006.o sceCtrl_driver_0007.o sceCtrl_driver_0008.o sceCtrl_driver_0009.o sceCtrl_driver_0010.o sceCtrl_driver_0011.o sceCtrl_driver_0012.o sceCtrl_driver_0013.o sceCtrl_driver_0014.o sceCtrl_driver_0015.o sceCtrl_driver_0016.o sceCtrl_driver_0017.o sceCtrl_driver_0018.o sceCtrl_driver_0019.o sceCtrl_driver_0020.o sceCtrl_driver_0021.o sceCtrl_driver_0022.o sceCtrl_driver_0023.o
77

88
#ifdef F_sceCtrl_driver_0000
9-
IMPORT_START "sceCtrl_driver",0x00010000
9+
IMPORT_START "sceCtrl_driver",0x00090000
1010
#endif
1111
#ifdef F_sceCtrl_driver_0001
1212
IMPORT_FUNC "sceCtrl_driver",0x3E65A0EA,sceCtrlInit

src/display/sceDisplay.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceDisplay_0000
6-
IMPORT_START "sceDisplay",0x40010000
6+
IMPORT_START "sceDisplay",0x40090000
77
#endif
88
#ifdef F_sceDisplay_0001
99
IMPORT_FUNC "sceDisplay",0x0E20F177,sceDisplaySetMode

src/display/sceDisplay_driver.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceDisplay_driver_0000
6-
IMPORT_START "sceDisplay_driver",0x00010000
6+
IMPORT_START "sceDisplay_driver",0x00090000
77
#endif
88
#ifdef F_sceDisplay_driver_0001
99
IMPORT_FUNC "sceDisplay_driver",0x206276C2,sceDisplayInit

src/dmac/sceDmac.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "pspimport.s"
22

33
#ifdef F_sceDmac_0000
4-
IMPORT_START "sceDmac", 0x40010011
4+
IMPORT_START "sceDmac", 0x40090000
55
#endif
66
#ifdef F_sceDmac_0001
77
IMPORT_FUNC "sceDmac", 0x617F3FE6, sceDmacMemcpy

src/ge/sceGe_driver.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceGe_driver_0000
6-
IMPORT_START "sceGe_driver",0x00010000
6+
IMPORT_START "sceGe_driver",0x00090000
77
#endif
88
#ifdef F_sceGe_driver_0001
99
IMPORT_FUNC "sceGe_driver",0x71FCD1D6,sceGeInit

src/ge/sceGe_user.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceGe_user_0000
6-
IMPORT_START "sceGe_user",0x40010000
6+
IMPORT_START "sceGe_user",0x40090000
77
#endif
88
#ifdef F_sceGe_user_0001
99
IMPORT_FUNC "sceGe_user",0x1F6752AD,sceGeEdramGetSize

src/hprm/sceHprm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pspimport.s"
44

55
#ifdef F_sceHprm_0000
6-
IMPORT_START "sceHprm",0x40010000
6+
IMPORT_START "sceHprm",0x40090000
77
#endif
88
#ifdef F_sceHprm_0001
99
IMPORT_FUNC "sceHprm",0xC7154136,sceHprmRegisterCallback

0 commit comments

Comments
 (0)