Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 1218:be02e87f9f87
prev1216:defbd44429d8
next1263:b3de98d19faf
author nkeynes
date Sun Mar 04 21:28:48 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Fix have_shaders in glrender.c
Set negative fog for lut when using shaders
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Mon Feb 13 19:59:19 2012 +1000
1.2 +++ b/src/sh4/sh4x86.in Sun Mar 04 21:28:48 2012 +1000
1.3 @@ -106,7 +106,6 @@
1.4 xlat_block_begin_callback_t begin_callback;
1.5 xlat_block_end_callback_t end_callback;
1.6 gboolean fastmem;
1.7 - gboolean profile_blocks;
1.8
1.9 /* Allocated memory for the (block-wide) back-patch list */
1.10 struct backpatch_record *backpatch_list;
1.11 @@ -176,7 +175,6 @@
1.12 sh4_x86.end_callback = NULL;
1.13 sh4_translate_set_address_space( sh4_address_space, sh4_user_address_space );
1.14 sh4_x86.fastmem = TRUE;
1.15 - sh4_x86.profile_blocks = FALSE;
1.16 sh4_x86.sse3_enabled = is_sse3_supported();
1.17 x86_disasm_init();
1.18 x86_set_symtab( x86_symbol_table, sizeof(x86_symbol_table)/sizeof(struct x86_symbol) );
1.19 @@ -194,16 +192,6 @@
1.20 sh4_x86.fastmem = flag;
1.21 }
1.22
1.23 -void sh4_translate_set_profile_blocks( gboolean flag )
1.24 -{
1.25 - sh4_x86.profile_blocks = flag;
1.26 -}
1.27 -
1.28 -gboolean sh4_translate_get_profile_blocks()
1.29 -{
1.30 - return sh4_x86.profile_blocks;
1.31 -}
1.32 -
1.33 /**
1.34 * Disassemble the given translated code block, and it's source SH4 code block
1.35 * side-by-side. The current native pc will be marked if non-null.
1.36 @@ -522,7 +510,7 @@
1.37 if( sh4_x86.begin_callback ) {
1.38 CALL_ptr( sh4_x86.begin_callback );
1.39 }
1.40 - if( sh4_x86.profile_blocks ) {
1.41 + if( sh4_profile_blocks ) {
1.42 MOVP_immptr_rptr( sh4_x86.code + XLAT_ACTIVE_CODE_OFFSET, REG_EAX );
1.43 ADDL_imms_r32disp( 1, REG_EAX, 0 );
1.44 }
.