mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Started backport of features from OpenGL to D3D plugins (no visible effects yet). Some minor cleanup and checks. Deleted unnecessary file from SVN.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@9 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -233,7 +233,12 @@ LONG NTAPI Handler(PEXCEPTION_POINTERS pPtrs)
|
||||
//Figure out what address was hit
|
||||
DWORD_PTR badAddress = (DWORD_PTR)pPtrs->ExceptionRecord->ExceptionInformation[1];
|
||||
//TODO: First examine the address, make sure it's within the emulated memory space
|
||||
if (badAddress < memspaceBottom) {
|
||||
PanicAlert("Exception handler - access below memory space. %08x%08x",
|
||||
badAddress >> 32, badAddress);
|
||||
}
|
||||
u32 emAddress = (u32)(badAddress - memspaceBottom);
|
||||
|
||||
//Now we have the emulated address.
|
||||
//_assert_msg_(DYNA_REC,0,"MT : %08x",emAddress);
|
||||
|
||||
|
@ -347,7 +347,6 @@ namespace Jit64
|
||||
SetCodePtr(prev_code);
|
||||
}
|
||||
|
||||
|
||||
#define BLR_OP 0x4e800020
|
||||
|
||||
void InvalidateCodeRange(u32 address, u32 length)
|
||||
@ -368,7 +367,6 @@ namespace Jit64
|
||||
|
||||
void ClearCache()
|
||||
{
|
||||
|
||||
// Is destroying the blocks really necessary?
|
||||
for (int i = 0; i < numBlocks; i++)
|
||||
{
|
||||
@ -393,8 +391,8 @@ namespace Jit64
|
||||
++counter;
|
||||
if (counter == 30)
|
||||
{
|
||||
counter ++;
|
||||
counter --;
|
||||
counter++;
|
||||
counter--;
|
||||
}
|
||||
|
||||
// TODO: also mark and remember the instruction address as known HW memory access, for use in later compiles.
|
||||
|
Reference in New Issue
Block a user