Browse Source
[video_core] Fix stutters and freezes when playing FMV content in some games (#2650 )
This fixes stutters and freezes when playing FMV content in some games.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2650
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
pull/2659/head
MaranBr
3 months ago
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
0 additions and
3 deletions
src/video_core/engines/maxwell_dma.cpp
@ -64,7 +64,6 @@ void MaxwellDMA::Launch() {
// TODO(Subv): Perform more research and implement all features of this engine.
// TODO(Subv): Perform more research and implement all features of this engine.
const LaunchDMA & launch = regs . launch_dma ;
const LaunchDMA & launch = regs . launch_dma ;
ASSERT ( launch . interrupt_type = = LaunchDMA : : InterruptType : : NONE ) ;
ASSERT ( launch . interrupt_type = = LaunchDMA : : InterruptType : : NONE ) ;
ASSERT ( launch . data_transfer_type = = LaunchDMA : : DataTransferType : : NON_PIPELINED ) ;
if ( launch . multi_line_enable ) {
if ( launch . multi_line_enable ) {
const bool is_src_pitch = launch . src_memory_layout = = LaunchDMA : : MemoryLayout : : PITCH ;
const bool is_src_pitch = launch . src_memory_layout = = LaunchDMA : : MemoryLayout : : PITCH ;
@ -157,8 +156,6 @@ void MaxwellDMA::Launch() {
}
}
void MaxwellDMA : : CopyBlockLinearToPitch ( ) {
void MaxwellDMA : : CopyBlockLinearToPitch ( ) {
UNIMPLEMENTED_IF ( regs . launch_dma . remap_enable ! = 0 ) ;
u32 bytes_per_pixel = 1 ;
u32 bytes_per_pixel = 1 ;
DMA : : ImageOperand src_operand ;
DMA : : ImageOperand src_operand ;
src_operand . bytes_per_pixel = bytes_per_pixel ;
src_operand . bytes_per_pixel = bytes_per_pixel ;