This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
"$DEVKITPPC/bin/wiiload" "$1" | |
TRIES=5 | |
while [ $TRIES -gt 0 ]; do | |
netcat -w1 ${WIILOAD#tcp:} 16784 | |
if [ $? == 0 ]; then | |
TRIES=0 | |
else | |
sleep 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static int GetMRMtx(int mr) { | |
if (mr < 32) | |
return -1; | |
if (mr >= 128 + 32) | |
return -1; | |
return ((mr - 32) >> 2) & 7; | |
} | |
static int GetMRRow(int mr) { | |
if (mr < 32) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note that these are percentages of unique configurations using these settings, not of users. Unique users are intentionally not tracked for privacy reasons. Also, this only comes from reports, and mainly from reported problems (so these may bias toward configurations that cause problems.) | |
However, among configurations that differ (about 7,435 unique setting combinations), these are the popularities: | |
General.NumWorkerThreads | |
5.8% 1 | |
46.6% 2 | |
40.4% 4 | |
4.6% 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int g; | |
int f() { | |
return 42; | |
} | |
int main() { | |
int v; | |
printf("Memory addresses:\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Probably too many registers? | |
for (u32 i = 0; i < sseChunks; i += 2) { | |
__m128i c = _mm_load_si128(&srcp[i + 0]); | |
__m128i c2 = _mm_load_si128(&srcp[i + 1]); | |
__m128i rb = _mm_andnot_si128(maskGA, c); | |
c = _mm_and_si128(c, maskGA); | |
__m128i rb2 = _mm_andnot_si128(maskGA, c2); | |
c2 = _mm_and_si128(c2, maskGA); | |
__m128i b = _mm_srli_epi32(rb, 16); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
// Aren't these just PPC opcodes? | |
#include "Emu/Cell/PPUOpcodes.h" | |
// Design plan: | |
// Get to the interp/jit/etc. func as quick as possible. | |
// Individual interp/jit/disasm funcs should be short and direct as possible. | |
// Needs to take native byte order - too many args to win by using BE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JpcspTrace - module_start | |
Config file: | |
> # | |
> # This file is the configuration file for the pluging JpcspTrace. | |
> # See the file README.txt for a description of the format of this file. | |
> # | |
> | |
> sceKernelCreateThread 0x446D8DE6 6 sxdxxx | |
Patching syscall from 0x80414F8 to 0x9FFDF80 | |
> #sceKernelStartThread 0xF475845D 3 xxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <common.h> | |
#include <pspdisplay.h> | |
#include <pspgu.h> | |
#include <pspgum.h> | |
#include <float.h> | |
#include <pspkernel.h> | |
#include "commands.h" | |
u8 *fbp0 = 0; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================ FLUSH ================ | |
Scissor TL: 8, 0 | |
================ FLUSH ================ | |
Scissor BR: 343, 239 | |
Region TL: 0 0 | |
================ FLUSH ================ | |
Region BR: 343 239 | |
Blend mode: add fixed, fixed | |
Blend fix A: 808080 | |
Blend fix B: 808080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FramebufPixelFormat: 1 | |
FramebufWidth: 200, address high 00 | |
================ FLUSH ================ | |
FramebufPtr: 00000000 | |
BASE: 040000 | |
CMD JUMP - 04130010 to 041300d4 | |
================ FLUSH ================ | |
Clear mode: 000701 (on, color, alpha/stencil, depth) | |
================ FLUSH ================ | |
SetVertexType: through, ABGR 8888 colors, u16 coords |