Commit graph

1883 commits

Author SHA1 Message Date
Gillou68310
5c1c8cc194 new_dynarec: Implemented emit_sub64_32 on x86 2014-12-12 12:15:51 +01:00
Gillou68310
e95f807a81 new_dynarec: Removed assert(0) in emit_rscimm 2014-12-12 12:07:24 +01:00
Gillou68310
751848ad3c new_dynarec: Fix DMULT instruction on ARM 2014-12-12 12:06:39 +01:00
Gillou68310
77b0327811 new_dynarec: Fix crashes after calling jump_syscall on x86 2014-12-12 11:05:24 +01:00
Gillou68310
9e229f7d72 Fix build under VS2010 2014-12-10 11:11:34 +01:00
Richard Goedeken
7669dfe878 Merge pull request #46 from bsmiles32/faster_mem_access
Optimize fast_mem_access.
2014-11-29 20:40:22 -08:00
Richard Goedeken
da4bc77ad7 Merge pull request #48 from Gillou68310/confirmed
Some fixes for the new dynarec
2014-11-26 23:15:32 -08:00
Gillou68310
7aaf568899 new_dynarec: Fixed alignment issue in memory manager by substracting the base address of the cache 2014-11-24 11:14:24 +01:00
Gillou68310
02e0ca5cc4 new_dynarec: Fixed Rayman2 freeze on ARM
Don't exclude FSREG and CSREG
2014-11-24 11:08:42 +01:00
Gillou68310
28daacc188 new_dynarec: Fixed DADD/DADDU
The carry from the low 32bit addition was not propagated when adding the
high 32bit part.
2014-11-24 11:00:07 +01:00
Bobby Smiles
0f68a28d05 Optimize fast_mem_access.
-Test address ranges using masks
-Reorder ranges test to put RDRAM access first
-Merge DMEM,IMEM tests.

This seems somewhat faster in interpreter mode.
2014-11-22 22:13:33 +01:00
Richard Goedeken
4f0beafd35 dont throw an error message when connecting to older input plugins 2014-11-17 22:07:12 -08:00
Richard Goedeken
6de5fc9e66 Merge pull request #42 from krnlyng/input
input plugin proposal
2014-11-17 22:01:10 -08:00
Frajo Haider
8b4641da20 bump input api version 2014-11-17 21:37:42 +01:00
Richard Goedeken
bfed889668 Merge pull request #44 from Gillou68310/master
new_dynarec: Fixed BGTZ/BLEZ
2014-11-12 17:05:00 -08:00
Gillou68310
436a33d7fa new_dynarec: Fixed BGTZ/BLEZ
When testing 64bit mips registers, the low 32bit part should be tested
in unsigned mode.
2014-11-12 13:24:47 +01:00
Fayvel Victor
2f10e1488b Create OpenGL ES2 context when compiled with USE_GLES=1 2014-11-09 23:24:38 +01:00
Frajo Haider
1b160b1211 add a render callback to the input plugin. for on screen rendering of input plugins 2014-10-30 18:42:58 +01:00
Bobby Smiles
19015723f4 Rework PIFBoot ROM emulation.
Previous PIFBoot ROM emulation was more complex than needed (and possibly contained errors).
2014-10-18 01:42:07 +02:00
Richard Goedeken
f170e06be8 Merge pull request #38 from bsmiles32/interupt_refac
Refactor interupt.c
2014-09-30 17:40:22 -07:00
Bobby Smiles
a54ad67587 Remove extra comma in enum definition. 2014-09-20 10:32:53 +02:00
Bobby Smiles
35885aef61 Handle fseek/ftell errors in ConfigInit.
This helps to remove the signed/unsigned comparison warning
in "if (fread(configtext, 1, filelen, fPtr) != filelen)"
for filelen is now a size_t.
2014-09-20 10:32:53 +02:00
Bobby Smiles
5c95926193 Mark magic as unsigned to avoid signed/unsigned comparison warnings. 2014-09-20 10:32:53 +02:00
Bobby Smiles
ce91b73acc Avoid signed/unsigned integer comparison. 2014-09-20 10:32:53 +02:00
Bobby Smiles
641d807118 Fix initialization of l_ExternalVideoFuncTable.
The m64p_extension_functions structure has been modified with commit a557d21
without updating the initialization value.
2014-09-18 20:32:26 +02:00
Bobby Smiles
5535e297aa Increase POOL capacity to 16 elements. 2014-09-16 22:42:16 +02:00
Bobby Smiles
058de857fb Add hack-fix for Perfect Dark freezes.
See
http://code.google.com/p/mupen64plus/issues/detail?id=553
mupen64plus-ae/mupen64plus-ae@802d8f8
2014-09-10 22:42:09 +02:00
Bobby Smiles
8dd5acbb9b init special directly. 2014-09-10 22:42:09 +02:00
Bobby Smiles
c907d5ab50 Implement add_interupt_event in term of add_interupt_event_count. 2014-09-10 22:42:09 +02:00
Bobby Smiles
5ffd5796f1 Remove commented code. 2014-09-10 22:42:09 +02:00
Bobby Smiles
958ed2c644 Remove non-existent function prototypes. 2014-09-10 22:42:09 +02:00
Bobby Smiles
95213fcba2 Refactor interrupt queue. 2014-09-10 22:42:09 +02:00
fayvel
5f1f960281 Add missing bracket in isset_bitmask makro 2014-08-03 22:22:24 +02:00
Richard Goedeken
58022568ee Merge pull request #28 from ricrpi/master
Better sl function for arm
2014-07-20 14:02:01 -07:00
Bobby Smiles
1dbcf903bf Prefer enum over macro for CP0 registers.
Previous macros had high risk of colliding with other identifiers because they were not
capitalized, nor prefixed. Furthermore, some identifier were relatively common (Context, Count,
Compare, ...).
Additionally, cp0 registers array has been explicitely marked as global (g_ prefix).
2014-07-19 18:58:33 +02:00
Bobby Smiles
2e3c6705df Move no_compiled_jump to recomp module. 2014-07-19 18:58:33 +02:00
Richard Goedeken
ae3e4e8d60 Merge pull request #35 from fayvel/warnings
Don't assign pointer to integer qstackindex
2014-07-07 22:20:54 -07:00
Richard Goedeken
72429de6c2 Merge pull request #34 from fayvel/list
Fix list_for_each_entry* define conflict with lll
2014-07-07 22:19:39 -07:00
Fayvel Victor
65ec110b73 Don't assign pointer to integer qstackindex 2014-07-06 13:45:59 +02:00
Fayvel Victor
8ecef6f277 Fix list_for_each_entry* define conflict with lll 2014-07-06 13:39:44 +02:00
Fayvel Victor
9eb2712cb5 Provide SDL_SCANCODE_?GUI <-> SDLK_?SUPER mapping 2014-07-06 13:27:53 +02:00
ricrpi
f1ebaa4870 Using __buitin_bswap32() for sl() produces faster code on ARM with GCC 4.7 2014-05-20 10:44:38 +01:00
ricrpi
70651ddbce Fixed ARM build error 2014-05-20 10:42:57 +01:00
Will Nayes
9aa274ea87 Add a m64p_dbg_runstate enum for DebugSetRunState.
This should help API users properly pass run state values, and improves
readability of the run state code.
2014-05-19 12:08:42 -05:00
Richard Goedeken
ee8d13b20f Merge pull request #30 from wnayes/bpt-flag-enum
Wrap breakpoint flags into m64p_dbg_bkp_flags enum.
2014-05-17 13:55:30 -07:00
Will Nayes
641425417e Wrap breakpoint flags into m64p_dbg_bkp_flags enum.
The unused conditional and counter flags have been removed to avoid any
confusion until those features are added.

An `M64P' prefix is also added to the flags. This matches the style of other
API flags.
2014-05-16 16:18:12 -05:00
Will Nayes
d37b9e0d42 Change struct breakpoint to m64p_breakpoint.
The breakpoint struct name was inconsistent with the rest of the `m64p' prefixed
declarations.

The API DebugBreakpointCommand was also changed to specify a m64p_breakpoint
pointer instead of a void pointer. There are no uses for the pointer other than
for referencing a breakpoint.
2014-05-15 21:24:07 -05:00
Richard Goedeken
b744cf7dcb use all of the queue entries. simplify the clear_queue function 2014-05-10 09:35:06 -07:00
ricrpi
5445d0d404 Merge remote-tracking branch 'mupen64plus/master' 2014-05-09 16:01:31 +01:00
ricrpi
039d6dffc1 pulled vi timing code from mupen64plus 2014-05-09 16:01:25 +01:00