Skip to content

Commit

Permalink
-Fixed internetBrowser function
Browse files Browse the repository at this point in the history
-Fixed adhoc
-Source of Version 1.1.0
  • Loading branch information
sakya_tg committed Sep 26, 2009
1 parent 8f6186c commit 7da4e03
Show file tree
Hide file tree
Showing 7 changed files with 345 additions and 26 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Version MOD 1.1.0
-Added: adhoc functions (based on pspZorba's adhoc sample)
-Added: switched to libjpeg to load jpg
-Added: Switched to intraFont 0.31
-Added: Functions to delete a savedata or save with multi list (thanks to valantin)
-Fixed: debug console
-Fixed: minor bugs

Expand Down
3 changes: 3 additions & 0 deletions adhoc/pspadhoc.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//PSP adhoc functions.
// based on pspZorba's sample
// www.pspZorba.com
#include <pspkernel.h>
#include <pspsdk.h>
#include <pspwlan.h>
Expand Down
32 changes: 16 additions & 16 deletions adhoc/pspadhoc.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@
/**
Connection states
*/
enum remotePspState {
//** PSP Disconnected */
OSL_ADHOC_DISCONNECTED = 0,
//** PSP Joined */
OSL_ADHOC_JOINED,
//** A PSP selected me */
OSL_ADHOC_SELECTED,
//** Connection rejected */
OSL_ADHOC_REJECTED,
//** Connection canceled */
OSL_ADHOC_CANCELED,
//** Connection accepted */
OSL_ADHOC_ACCEPTED,
//** Connection established */
OSL_ADHOC_ESTABLISHED
enum remotePspState {
/** PSP Disconnected */
OSL_ADHOC_DISCONNECTED = 0,
/** PSP Joined */
OSL_ADHOC_JOINED,
/** A PSP selected me */
OSL_ADHOC_SELECTED,
/** Connection rejected */
OSL_ADHOC_REJECTED,
/** Connection canceled */
OSL_ADHOC_CANCELED,
/** Connection accepted */
OSL_ADHOC_ACCEPTED,
/** Connection established */
OSL_ADHOC_ESTABLISHED
};

/**
Expand All @@ -60,7 +60,7 @@ Structure for information on a psp
struct remotePsp
{
/** The mac address of the PSP */
u8 macAddress[8];
u8 macAddress[8];
/** Nickname of the PSP */
char name[257];
/** The connection state of the PSP ( remotePspState ) */
Expand Down
Binary file modified libosl.a
Binary file not shown.
12 changes: 6 additions & 6 deletions net.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ int oslLoadNetModules()
sceUtilityLoadNetModule(PSP_NET_MODULE_PARSEURI);
sceUtilityLoadNetModule(PSP_NET_MODULE_PARSEHTTP);
sceUtilityLoadNetModule(PSP_NET_MODULE_HTTP);
//sceUtilityLoadNetModule(PSP_NET_MODULE_SSL);
sceUtilityLoadNetModule(PSP_NET_MODULE_SSL);
return 0;
}


int oslUnloadNetModules()
{
//sceUtilityUnloadNetModule(PSP_NET_MODULE_SSL);
sceUtilityUnloadNetModule(PSP_NET_MODULE_SSL);
sceUtilityUnloadNetModule(PSP_NET_MODULE_HTTP);
sceUtilityUnloadNetModule(PSP_NET_MODULE_PARSEHTTP);
sceUtilityUnloadNetModule(PSP_NET_MODULE_PARSEURI);
Expand Down Expand Up @@ -113,14 +113,14 @@ int oslNetInit()
return OSL_NET_ERROR_APCTL;
}

/*res = sceSslInit(0x28000);
res = sceSslInit(0x28000);
if (res < 0)
{
oslNetTerm();
return OSL_NET_ERROR_SSL;
}*/
}

/*res = sceHttpInit(0x25800);
res = sceHttpInit(0x25800);
if (res < 0)
{
oslNetTerm();
Expand All @@ -146,7 +146,7 @@ int oslNetInit()
{
oslNetTerm();
return OSL_NET_ERROR_COOKIE;
}*/
}
return 0;
}

Expand Down
Loading

0 comments on commit 7da4e03

Please sign in to comment.