pastebin v0.1.7
Smokin
Nov 20 2008 11:23 PM
hits: 7
owned.
Nov 14 2008 4:21 PM
hits: 19
strcmp
Nov 14 2008 8:48 AM
hits: 12
strcmp
Nov 14 2008 8:47 AM
hits: 8
sick email
Oct 19 2008 11:19 PM
hits: 35
Clock Clantag
Oct 19 2008 12:50 AM
hits: 29
pspdev
Oct 11 2008 11:09 PM
hits: 34
ScriptResource.axd
Oct 7 2008 9:37 AM
hits: 39
ScriptResource.axd
Oct 7 2008 9:34 AM
hits: 24
Anonymous
Oct 5 2008 6:26 PM
hits: 37
Anonymous
Oct 1 2008 10:57 PM
hits: 41
q47407
Sep 6 2008 9:32 AM
hits: 87

Valid HTML 4.01 Strict

Valid CSS!


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
static void gamePause(SceUID thid);
static void gameResume(SceUID thid);

//pause game
static void gamePause(SceUID thid){

	if(pauseuid >= 0)
	return;
	pauseuid = thid;
	sceKernelGetThreadmanIdList(SCE_KERNEL_TMID_Thread, thread_buf_now, MAX_THREAD, &thread_count_now);
	int x, y, match;
	for(x = 0; x < thread_count_now; x++){
		match = 0;
		SceUID tmp_thid = thread_buf_now[x];
		for(y = 0; y < thread_count_start; y++){
			if((tmp_thid == thread_buf_start[y]) || (tmp_thid == thid)){
				match = 1;
				break;
			}
		}
		if(match == 0)
		sceKernelSuspendThread(tmp_thid);
	}

}

//resume game
static void gameResume(SceUID thid){

	if(pauseuid != thid)
	return;
	pauseuid = -1;
	int x, y, match;
	for(x = 0; x < thread_count_now; x++){
		match = 0;
		SceUID tmp_thid = thread_buf_now[x];
		for(y = 0; y < thread_count_start; y++){
			if((tmp_thid == thread_buf_start[y]) || (tmp_thid == thid)){
				match = 1;
				break;
			}
		}
		if(match == 0)
		sceKernelResumeThread(tmp_thid);
	}

}

//call to pause
gamePause(thid);

//call to unpause
gameResume(thid);

paste below
title
description/question
action