Likely fix for Issue 533 (fmv hangs in Final Fantasy VII: Dirge Of Cerberus)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2426 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2010-01-13 02:43:35 +00:00
parent 7cd07da2d7
commit 29dc098721
2 changed files with 4 additions and 4 deletions

View File

@ -180,9 +180,9 @@ void memMapPhy()
// "Secret" IOP HW mappings - Used by EE Bios Kernel during boot and generally // "Secret" IOP HW mappings - Used by EE Bios Kernel during boot and generally
// left untouched after that, as per EE/IOP thread safety rules. // left untouched after that, as per EE/IOP thread safety rules.
vtlb_MapHandler(hw_by_page[0x1], 0x1f801000, 0x01000); vtlb_MapHandler(iopHw_by_page_01, 0x1f801000, 0x01000);
vtlb_MapHandler(hw_by_page[0x3], 0x1f803000, 0x01000); vtlb_MapHandler(iopHw_by_page_03, 0x1f803000, 0x01000);
vtlb_MapHandler(hw_by_page[0x8], 0x1f808000, 0x01000); vtlb_MapHandler(iopHw_by_page_08, 0x1f808000, 0x01000);
} }

View File

@ -203,7 +203,7 @@ static __forceinline T _HwRead_16or32_Page1( u32 addr )
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
// USB, with both 16 and 32 bit interfaces // USB, with both 16 and 32 bit interfaces
// //
else if( masked_addr >= pgmsk(HW_USB_START) && masked_addr < pgmsk(HW_USB_END) ) else if( (masked_addr >= pgmsk(HW_USB_START)) && (masked_addr < pgmsk(HW_USB_END)) )
{ {
ret = (sizeof(T) == 2) ? USBread16( addr ) : USBread32( addr ); ret = (sizeof(T) == 2) ? USBread16( addr ) : USBread32( addr );
} }