Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions config/splat.pspeu.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ segments:
- [0x30F3C, asm, func_psp_0892F848]
- [0x3104C, asm, func_psp_0892F958]
- [0x31178, c, main_psp/31178]
- [0x35670, c, main_psp/35670]
- [0x359F8, c, main_psp/vector4]
- [0x36174, c, main_psp/36174]
- [0x38EF0, asm, func_psp_089377FC]
Expand Down Expand Up @@ -376,7 +377,6 @@ segments:
- [0x3E3D0, .data, main_psp/10944]
- [0x3E3F0, .data, main_psp/11320]
- [0x3E414, .data, main_psp/138B0]
- [0x3E438, data]
- [0x3E4D4, .data, main_psp/mpeg/display]
- [0x3E540, .data, main_psp/mpeg/fileread]
- [0x3E554, .data, main_psp/mpeg/sound]
Expand All @@ -397,22 +397,22 @@ segments:
- [0xAEBAC, data]
- {start: 0xAEF24, type: bss, vram: 0x089AD830, name: bss0}
- {start: 0xAEF24, type: .bss, vram: 0x089B6540, name: main_psp/11320}
- {start: 0xAEF24, type: bss, vram: 0x08B1FB50, name: bss1}
- {start: 0xAEF24, type: .bss, vram: 0x08B1FB50, name: main_psp/138B0}
- {start: 0xAEF24, type: .bss, vram: 0x08B1FB90, name: main_psp/mpeg/avsync}
- {start: 0xAEF24, type: .bss, vram: 0x08B1FB94, name: main_psp/mpeg/display}
- {start: 0xAEF24, type: .bss, vram: 0x08B1FBBC, name: main_psp/mpeg/fileread}
- {start: 0xAEF24, type: .bss, vram: 0x08B1FBDC, name: main_psp/mpeg/sound}
- {start: 0xAEF24, type: bss, vram: 0x08B1FBFC, name: bss2}
- {start: 0xAEF24, type: bss, vram: 0x08B1FBFC, name: bss1}
- {start: 0xAEF24, type: .bss, vram: 0x08B21DE8, name: main_psp/1A794}
- {start: 0xAEF24, type: bss, vram: 0x08B41F30, name: bss3}
- {start: 0xAEF24, type: bss, vram: 0x08B41F30, name: bss2}
- {start: 0xAEF24, type: .bss, vram: 0x08B41F40, name: main_psp/1B0F0}
- {start: 0xAEF24, type: .bss, vram: 0x08B41FB4, name: main_psp/1B61C}
- {start: 0xAEF24, type: bss, vram: 0x08B41FC0, name: bss4}
- {start: 0xAEF24, type: bss, vram: 0x08B41FC0, name: bss3}
- {start: 0xAEF24, type: .bss, vram: 0x08B42068, name: main_psp/1BCFC}
- {start: 0xAEF24, type: bss, vram: 0x08C63124, name: bss5}
- {start: 0xAEF24, type: bss, vram: 0x08C63124, name: bss4}
- {start: 0xAEF24, type: .bss, vram: 0x08C63C28, name: main_psp/28A90}
- {start: 0xAEF24, type: bss, vram: 0x08C6BC30, name: bss6}
- {start: 0xAEF24, type: bss, vram: 0x08C6BC30, name: bss5}
- {start: 0xAEF24, type: .bss, vram: 0x08DAF2C8, name: main_psp/31178}
- {start: 0xAEF24, type: bss, vram: 0x08E2E5F8, name: bss7}
- {start: 0xAEF24, type: bss, vram: 0x08E2E5F8, name: bss6}
- [0xAEF24, bin, elf_footer]
- [0xB3E1C]
8 changes: 8 additions & 0 deletions config/symbols.pspeu.main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ func_psp_0890EF88 = 0x0890EF88; // ignore:true
_write_r = 0x0890F0C8;
__swsetup_r = 0x0890F130;
func_psp_089123B8 = 0x089123B8; // ignore:false
startCheck = 0x08913314;
playMovie = 0x089133D4;
pad_read = 0x08913B48;
avsync_startAudioVideo = 0x08913CA0;
avsync_video_setPts = 0x08913D20;
avsync_video_getPts = 0x08913DD4;
dispbuf_getDrawbuf = 0x0891499C;
Expand Down Expand Up @@ -672,8 +675,13 @@ top_pad = 0x089B61F0;
max_sbrked_mem = 0x089B61F4;
max_total_mem = 0x089B61F8;
current_mallinfo = 0x089B61FC;
audioOn = 0x08B1FB7C;
sce_newlib_heap_delayed_alloc = 0x08B41F30;
g_frameBufIdx = 0x08B41FC0;
dispThread = 0x08B42010;
readThread = 0x08B42020;
soundThread = 0x08B42030;
power_cb = 0x08B42040;
D_psp_08C63B28 = 0x08C63B28; // size:0x8
D_psp_08C63B30 = 0x08C63B30; // size:0x8
D_psp_08C63B38 = 0x08C63B38; // size:0x8
Expand Down
4 changes: 2 additions & 2 deletions include/pspsdk/pspthreadman.h
Original file line number Diff line number Diff line change
Expand Up @@ -506,14 +506,14 @@ typedef struct SceKernelSemaInfo {
* @par Example:
* @code
* int semaid;
* semaid = sceKernelCreateSema("MyMutex", 0, 1, 1, 0);
* semaid = sceKernelCreateSema("MyMutex", 0, 1, 1, NULL);
* @endcode
*
* @param name - Specifies the name of the sema
* @param attr - Sema attribute flags (normally set to 0)
* @param initVal - Sema initial value
* @param maxVal - Sema maximum value
* @param option - Sema options (normally set to 0)
* @param option - Sema options (normally set to NULL)
* @return A semaphore id
*/
SceUID sceKernelCreateSema(const char *name, SceUInt attr, int initVal, int maxVal, SceKernelSemaOptParam *option);
Expand Down
12 changes: 6 additions & 6 deletions src/dra_psp/23138.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
extern s32 g_CurrentStream;

void func_psp_090FFAB8(void) {
s32 var_a1 = 0;
s32 skipButton = PAD_NONE;
switch (g_CurrentStream) {
case 0:
var_a1 = 8;
skipButton = PAD_START;
break;
case 1:
var_a1 = 8;
skipButton = PAD_START;
break;
case 2:
var_a1 = 0x6008;
skipButton = PAD_CROSS | PAD_CIRCLE | PAD_START;
break;
case 3:
var_a1 = 0x6008;
skipButton = PAD_CROSS | PAD_CIRCLE | PAD_START;
break;
}
func_psp_08912820(g_CurrentStream, var_a1);
func_psp_08912820(g_CurrentStream, skipButton);
D_8003C728 = 0;
g_IsUsingCd = 0;
}
Loading
Loading