Commit graph

2672 commits

Author SHA1 Message Date
Richard Goedeken
bfed889668 Merge pull request #44 from Gillou68310/master
new_dynarec: Fixed BGTZ/BLEZ
2014-11-12 17:05:00 -08:00
Richard Goedeken
5d54f9fdbd Merge pull request #43 from fayvel/gles2_fixes
Allow to build against OpenGL ES2 with SDL2
2014-11-12 16:54:44 -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
9282c95b11 add an option to build against GLES2 instead of OpenGL 2014-11-09 23:24:38 +01:00
Paul Lamb
694ec39e24 Update Android project 2014-11-08 17:18:43 -06:00
Paul Lamb
26c40fa2fb Update Android project 2014-11-08 15:24:37 -06:00
Paul Lamb
91b1ea241e Merge from upstream 2014-11-08 11:14:15 -06: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
Richard Goedeken
7ff7eb066f Merge pull request #41 from bsmiles32/pifbootrom_hle
Rework PIFBoot ROM emulation.
2014-10-25 11:44:44 -07: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
Richard Goedeken
7d31edaa77 Merge pull request #40 from bsmiles32/various_warning_fixes
Various warning fixes
2014-09-20 07:32:06 -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
Richard Goedeken
945a68898f Merge pull request #39 from bsmiles32/fix_vidext_functions_table
Fix initialization of l_ExternalVideoFuncTable.
2014-09-19 21:19:35 -07: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
Richard Goedeken
a6ab125a6a Merge pull request #37 from fayvel/master
Add missing bracket in isset_bitmask makro
2014-08-03 14:14:05 -07: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
Richard Goedeken
3d8369a142 Merge pull request #36 from bsmiles32/cp0_regs
CP0 regs + no_compiled_jump
2014-07-20 09:46:58 -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
Richard Goedeken
d63b29ea48 Merge pull request #33 from fayvel/sdl_key
Provide SDL_SCANCODE_?GUI <-> SDLK_?SUPER mapping
2014-07-07 22:11:40 -07:00
Richard Goedeken
5a79f3f33a Merge pull request #32 from fayvel/travisci
Add Travis CI configuration file for automatic build tests
2014-07-07 22:04:21 -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
Fayvel Victor
0e6f88ec67 Add Travis CI configuration file for automatic build tests
Github provides a Travis CI integration which makes it easy to have a quick
check of a patch before a pull request is accepted. It is not enough to prove
the correctness of a contribution but at least helps to avoid some of the worst
build problems.

This feature *must* be enabled by the mupen64plus administrator *before this
commit is merged*:

- https://travis-ci.org/profile/mupen64plus
- Login via your Github account
- Make sure you are on "https://travis-ci.org/profile/mupen64plus"
- Switch repository to "On"
2014-07-06 13:08:30 +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
Richard Goedeken
2319340b5c Merge pull request #29 from wnayes/bpt-api-type
Change struct breakpoint to m64p_breakpoint.
2014-05-17 13:52:55 -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
c28a31bbac Merge pull request #27 from Narann/master
update config api to 2.3.0 in wiki doc with new function ConfigSetParame...
2014-05-11 08:05:16 -07:00
Dorian Fevrier
46f5b9279b update config api to 2.3.0 in wiki doc with new function ConfigSetParameterHelp 2014-05-11 10:56:27 -04:00
Richard Goedeken
b744cf7dcb use all of the queue entries. simplify the clear_queue function 2014-05-10 09:35:06 -07:00