mirror of
https://github.com/joel16/uofw.git
synced 2024-12-12 13:35:33 +00:00
wlanfirm: make it compile
This commit is contained in:
parent
f2c3897b1f
commit
2b891301e4
@ -9,8 +9,8 @@
|
||||
* Size 1852
|
||||
*/
|
||||
|
||||
static u32 wlanfirmHelperSize = 1852;
|
||||
static u8 wlanfirmHelper[] __attribute__((aligned(16))) = {
|
||||
static u32 g_wlanfirmHelperSize = 1852;
|
||||
static u8 g_wlanfirmHelper[] __attribute__((aligned(16))) = {
|
||||
0x03, 0x00, 0x00, 0xea, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x24, 0x00, 0x9f, 0xe5, 0x10, 0x0f, 0x01, 0xee, 0x20, 0xd0, 0x9f, 0xe5,
|
||||
0x20, 0x00, 0x9f, 0xe5, 0x00, 0x10, 0x90, 0xe5, 0x1c, 0x20, 0x9f, 0xe5, 0x00, 0x10, 0x82, 0xe5,
|
||||
|
@ -8,6 +8,8 @@
|
||||
#include "firmware/magpie.c"
|
||||
#include "firmware/magpie_helper.c"
|
||||
|
||||
void sceWlanDrv_driver_90E5530F(void*, s32, void*, s32);
|
||||
|
||||
s32 module_start(SceSize argc __attribute__((unused)), void *argp __attribute__((unused)))
|
||||
{
|
||||
u16 key45;
|
||||
@ -20,11 +22,11 @@ s32 module_start(SceSize argc __attribute__((unused)), void *argp __attribute__(
|
||||
return 1;
|
||||
}
|
||||
|
||||
sceWlanDrv_driver_1747351B(
|
||||
wlanfirmHelper, // 0x14C
|
||||
wlanfirmHelperSize, // 1852
|
||||
wlanfirm, // 0x888
|
||||
wlanfirmSize, // 87168
|
||||
sceWlanDrv_driver_90E5530F(
|
||||
g_wlanfirmHelper, // 0x14C
|
||||
g_wlanfirmHelperSize, // 1852
|
||||
g_wlanfirm, // 0x888
|
||||
g_wlanfirmSize // 87168
|
||||
);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user