unconcsious / cfg-loader-mod

Automatically exported from code.google.com/p/cfg-loader-mod
GNU General Public License v2.0
0 stars 0 forks source link

black screen with some cios #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile v70-222, select a game with ios base 56, start with wanin cios, a 
blank screen appears and system hangs
2. compile v70-249, select a game with ios base 37, start with hermes cios, a 
blank screen appears and system hangs

What is the expected output? What do you see instead?
start the game

What version of the product are you using? On what operating system?
v70-mod r1, 4,3E

Please provide any additional information below.

I change set_recommended_cIOS_idx (like cfg_ios_set_idx).

void set_recommended_cIOS_idx(int ios) {
    CFG.ios_yal = 0;
    CFG.ios_mload = 0;
    if (ios == cIOS_base[0]) {
        CFG.ios = 245;
    } else if (ios == cIOS_base[1]) {
        CFG.ios = 246;
    } else if (ios == cIOS_base[2]) {
        CFG.ios = 247;
    } else if (ios == cIOS_base[3]) {
        CFG.ios = 248;
    } else if (ios == cIOS_base[4]) {
        CFG.ios = 249;
    } else if (ios == cIOS_base[5]) {
        CFG.ios = 250;
    } else if (ios == cIOS_base[6]) {
        CFG.ios = 222;
        CFG.ios_yal = 1;
        CFG.ios_mload = 1;
    } else if (ios == cIOS_base[7]) {
        CFG.ios = 223;
        CFG.ios_yal = 1;
        CFG.ios_mload = 1;
    } else if (ios == cIOS_base[8]) {
        CFG.ios = 224;
        CFG.ios_yal = 1;
        CFG.ios_mload = 1;
    } else {
        int i = 0;
        for (i = 0; i < 9; i++) {
            if (cIOS_base[i] == 56) {
                cfg_ios_set_idx(i);
                break;
            } else {
                CFG.ios = 249;
            }
        }
    }

Original issue reported on code.google.com by zahi...@fastwebnet.it on 12 Feb 2012 at 10:42

GoogleCodeExporter commented 8 years ago
Try r7.

Original comment by softwiiv2 on 13 Feb 2012 at 8:00

GoogleCodeExporter commented 8 years ago
ok with r11.

Original comment by zahi...@fastwebnet.it on 14 Feb 2012 at 9:15

GoogleCodeExporter commented 8 years ago
Ok, fixed :-)

Original comment by softwiiv2 on 14 Feb 2012 at 9:31