過去ログ

                                Page     142
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   通常モードに戻る  ┃  INDEX  ┃  ≪前へ  │  次へ≫   
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ▼DirectDraw Lock (ATI)  Feather 03/11/9(日) 3:11

 ───────────────────────────────────────
 ■題名 : DirectDraw Lock (ATI)
 ■名前 : Feather
 ■日付 : 03/11/9(日) 3:11
 -------------------------------------------------------------------------
   Info:
Patches 0.86a to fix surface locking with DirectX and some ATI Radeons.
Contains other minor "fixes."

Patch:

[DirectDraw.cpp]

(line 1424)
        // If we can't successfully lock due to multi-threading issues, manually
        // sleep to avoid the video driver creating a temporary surface in system memory
        // (fixes some ATI Radeon drivers that are slower at higher resolutions)
        while ( m_lpDDRender2->Lock( NULL, &ddsd, DDLOCK_DONOTWAIT | DDLOCK_WRITEONLY, NULL ) != DD_OK &&
                        m_lpDDRender2->IsLost() != DDERR_SURFACELOST ) {
            // Avoid a hefty speed hit by manually waiting for the hardware to be ready
            Sleep (10);
        }
        if ( ddsd.ddpfPixelFormat.dwRGBBitCount != 0 ) {
//        if( m_lpDDRender2->Lock( NULL, &ddsd, 0, NULL ) == DD_OK ) {
        

--------------------------------------------------------------------------

[Nes/Pad.cpp]

Note: Game uses zapper

(line 82)
     || crc == 0x1388aeb9        // Operation Wolf(U)

--------------------------------------------------------------------------

[Nes/Mapper/Mapper001.cpp]

Note: Eliminates fuzz at bottom of text boxes when picking up items

(line 91)
    if( crc == 0xC05D2034 ) { // Snake's Revenge(U)
        nes->SetRenderMethod( NES::PRE_ALL_RENDER );
    }

--------------------------------------------------------------------------

[Nes/Mapper/Mapper004.cpp]

Note: Eliminates shaky box at bottom of the screen in-game

(line 149)
    if( crc == 0xA67EA466 ) { // Alien 3(U)
        nes->SetRenderMethod( NES::TILE_RENDER );
    }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━    通常モードに戻る  ┃  INDEX  ┃  ≪前へ  │  次へ≫    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━                                 Page 142