Skip to content

Commit a0bc706

Browse files
committed
fix psp model check for using extended memory regions
1 parent ae22a5b commit a0bc706

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

RemoteJoyLite_pc/Setting_PSP.dat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ static CW_DATA CWD_PSPModeTxt = { 20, 40, 190, 21, 600, CWD_TEXT, FNT_NORM,
88
static CW_DATA CWD_PSPModeLst = { 250, 36, 85, 250, 601, CWD_COMBO, FNT_NORM, NULL };
99
static CW_DATA CWD_PSPAdr1Txt = { 20, 65, 190, 21, 602, CWD_TEXT, FNT_NORM, L"転送画像保存アドレス" };
1010
static CW_DATA CWD_PSPAdr1Lst = { 250, 61, 85, 250, 603, CWD_COMBO, FNT_NORM, NULL };
11-
static CW_DATA CWD_PSPAdr2Txt = { 20, 90, 220, 21, 604, CWD_TEXT, FNT_NORM, L"転送画像保存アドレス(PSP-2000専用)" };
11+
static CW_DATA CWD_PSPAdr2Txt = { 20, 90, 220, 21, 604, CWD_TEXT, FNT_NORM, L"転送画像保存アドレス(PSP-2000+専用)" };
1212
static CW_DATA CWD_PSPAdr2Lst = { 250, 86, 85, 250, 605, CWD_COMBO, FNT_NORM, NULL };
1313
static CW_DATA CWD_PSPPriTxt = { 20, 115, 220, 21, 606, CWD_TEXT, FNT_NORM, L"スレッド優先順位" };
1414
static CW_DATA CWD_PSPPriLst = { 250, 111, 85, 250, 607, CWD_COMBO, FNT_NORM, NULL };
@@ -34,7 +34,7 @@ static CW_DATA CWD_PSPModeTxt = { 20, 40, 190, 21, 600, CWD_TEXT, FNT_NORM,
3434
static CW_DATA CWD_PSPModeLst = { 250, 36, 85, 250, 601, CWD_COMBO, FNT_NORM, NULL };
3535
static CW_DATA CWD_PSPAdr1Txt = { 20, 65, 190, 21, 602, CWD_TEXT, FNT_NORM, L"Transfer sys address" };
3636
static CW_DATA CWD_PSPAdr1Lst = { 250, 61, 85, 250, 603, CWD_COMBO, FNT_NORM, NULL };
37-
static CW_DATA CWD_PSPAdr2Txt = { 20, 90, 220, 21, 604, CWD_TEXT, FNT_NORM, L"Transfer sys address(PSP-2000 only)" };
37+
static CW_DATA CWD_PSPAdr2Txt = { 20, 90, 220, 21, 604, CWD_TEXT, FNT_NORM, L"Transfer sys address(PSP-2000+ only)" };
3838
static CW_DATA CWD_PSPAdr2Lst = { 250, 86, 85, 250, 605, CWD_COMBO, FNT_NORM, NULL };
3939
static CW_DATA CWD_PSPPriTxt = { 20, 115, 220, 21, 606, CWD_TEXT, FNT_NORM, L"Thread Priority" };
4040
static CW_DATA CWD_PSPPriLst = { 250, 111, 85, 250, 607, CWD_COMBO, FNT_NORM, NULL };

RemoteJoyLite_psp/RemoteJoyLite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ static void DoJoyCmd( unsigned int value1, unsigned int value2 )
270270

271271
int idx1 = SCREEN_CMD_GET_ADRESS1(value1);
272272
int idx2 = SCREEN_CMD_GET_ADRESS2(value1);
273-
if ( (sceKernelGetModel() == 1) && (idx2 != 0xFF) ){
273+
if ( (sceKernelGetModel() != 0) && (idx2 != 0xFF) ){
274274
ScreenBuff = (void *)(0xAA000000 + idx2*0x40000);
275275
} else {
276276
ScreenBuff = (void *)(0x48400000 + idx1*0x8000);

0 commit comments

Comments
 (0)