Commit Graph

2148 Commits

Author SHA1 Message Date
Richard Goedeken
1749e1542e update version and release info for v2.5.9 BETA release 2019-02-10 10:06:05 -08:00
Richard Goedeken
9aae471aa2
Merge pull request #550 from loganmc10/patch-5
Don't call SDL_PumpEvents() in core
2019-02-09 12:59:27 -08:00
Richard Goedeken
37dfe85e86
Merge pull request #619 from bugfood/fix-nosaveoptions
do not force saving config when file not present
2019-02-03 14:00:22 -08:00
Corey Hickey
db45b79304 do not force saving config when file not present
Front-ends now ensure that configuration is saved (when desired) before
starting the game.
2019-02-03 13:45:23 -08:00
fzurita
d84ca04f83 __clear_cache fix for ARM 64 devices plus ANDROID cleanup 2019-02-03 14:03:19 +01:00
Richard Goedeken
8336328ce1
Merge pull request #615 from fzurita/store_stop_after_jal_in_save
Fixes for last save state update
2019-02-01 17:03:38 -08:00
fzurita
79d8504e0c Correctly store stop_after_jal in correct save state data portion. 2019-01-31 09:35:12 -05:00
fzurita
fb350cdade Enable stop_after_jal for pj64 save states 2019-01-30 10:59:29 -05:00
Gillou68310
c6ed8828c3 new_dynarec: Add COND_ prefix to eCond enum 2019-01-30 15:24:11 +01:00
Gilles Siberlin
e898991b92
Merge pull request #614 from fzurita/store_stop_after_jal_in_save
Make stop_after_jal a save state parameter instead of configuration
2019-01-30 15:23:20 +01:00
fzurita
89139cc54d Make stop_after_jal a save state parameter instead of configuration 2019-01-30 07:22:15 -05:00
Richard Goedeken
40ea8d7ab0 getting closer to fixing the MXE 64-bit Travis build 2019-01-29 20:12:53 -08:00
Richard Goedeken
29282d36fa fix the travis build for 64-bit MXE too (finally) 2019-01-29 19:45:19 -08:00
Richard Goedeken
98ffc60984 yet another attempt to fix one of the travis builds 2019-01-29 19:08:49 -08:00
Gillou68310
06669827f9 new_dynarec: Fix regression on arm64 caused by 26cc980cf9 2019-01-29 15:57:45 +01:00
Richard Goedeken
ca1888d5c6 attempt to fix MXE travis CI builds 2019-01-29 12:29:45 +01:00
Gillou68310
028932053d new_dynarec: Fix https://github.com/mupen64plus/mupen64plus-core/issues/552 2019-01-29 12:29:45 +01:00
Richard Goedeken
40aed8af09
Merge pull request #606 from Gillou68310/new_dynarec_fixes
new_dynarec fixes
2019-01-26 09:44:34 -08:00
Richard Goedeken
532e2ee8fb issue #613: we dont need to call StateChanged() from main_state_set_slot(), because it will be called inside of savestates_select_slot() if necessary 2019-01-26 09:23:58 -08:00
Richard Goedeken
383964744a we dont really need to check for valid parameter type in ConfigGetParameter because the ConfigGetParamX functions can convert from any type 2019-01-26 08:21:41 -08:00
Richard Goedeken
0f50bdff4b
Merge pull request #612 from bugfood/fix-options
Allow valid interpretations of strings as non-strings
2019-01-26 08:18:13 -08:00
Gillou68310
26cc980cf9 new_dynarec: Fix regression caused by 9525ed42ce 2019-01-26 15:08:20 +01:00
Gillou68310
b70b95790f new_dynarec: Refactor block invalidation 2019-01-25 09:46:54 +01:00
Corey Hickey
5e0487fef7 Allow valid interpretations of strings as non-strings
The various ConfigGetParamX() functions can handle string inputs
already, but ConfigGetParameter() rejects such inputs beforehand.

Modify ConfigGetParameter() to validate that a string represents a
numeric value. If so, then ConfigGetParamX() can handle the input.
Factor the checks into a new function to keep them from getting too
long.

Use case:
Values read from the ui-console command line are always strings, by
necessity. When the config file is empty (or somehow lacking the
specified parameter), then ui-console cannot know the desired type, so
it defaults to storing the parameter as a string. Without this patch,
this can result in plugin code ignoring a validly-specified
command-line parameter.

Use case:
Without this patch, if a user unknowingly specifies a float or integer
value in the config file within double-quotes, this can result in plugin
code ignoring the parameter.
2019-01-24 22:32:10 -08:00
Corey Hickey
be83a1dc31 Fix ConfigGetParamX comments (copy/paste omissions) 2019-01-24 20:02:43 -08:00
Richard Goedeken
9d7e917882
Merge pull request #611 from bugfood/rm-delaysi
Remove DelaySI from wiki
2019-01-22 17:11:45 -08:00
Corey Hickey
57355f2bff Remove DelaySI from wiki
This parameter was removed from the core in 0bcfd3cc7.
2019-01-21 23:05:08 -08:00
Richard Goedeken
5420462e57 issue #608 - fix openBSD compilation on systems with libzip 2019-01-21 19:39:17 -08:00
Gillou68310
178c5f5a72 new_dynarec: Refactor hash_table 2019-01-21 15:25:37 +01:00
Gillou68310
6a4acbb5dd new_dynarec: Do not jump to jump_vaddr_x18 on arm64 2019-01-21 15:25:36 +01:00
Gillou68310
be39dfe390 new_dynarec: Fix crash in Paper Mario on 64bits platform 2019-01-21 15:25:36 +01:00
Gillou68310
c960620eff new_dynarec: get_addr* refactoring 2019-01-21 15:25:36 +01:00
Gillou68310
4a667edb48 new_dynarec: Allow disabling links between recompiled blocks 2019-01-21 15:25:35 +01:00
Gillou68310
b36f209e5a new_dynarec: Fallback to literal pools when needed
Data is outside the +/-4GB range from program counter
Data is not in the 32 bits address space
2019-01-21 15:25:35 +01:00
Gillou68310
0db19722d1 new_dynarec: No need to use pc relative address to access fcr31 2019-01-21 15:25:35 +01:00
Gillou68310
ec34b4522a new_dynarec: Implement double cache address for arm64 2019-01-21 15:25:34 +01:00
Gillou68310
963537bf7a new_dynarec: Fix crash when reached end of the cache 2019-01-21 15:25:34 +01:00
Gillou68310
f09342a9fd new_dynarec: Fix non rip relative access to g_dev in linkage_x64.asm 2019-01-21 15:25:33 +01:00
Richard Goedeken
1b481123c2 attempt to fix Travis CI build for MXE case by switching Ubuntu base distribution from Trusty to Xenial 2019-01-16 21:51:34 -08:00
Richard Goedeken
c3e3f17e0f
Merge pull request #607 from helviojr/joystick_event_initialize_fix
Fix joy_max for initialize loop
2019-01-16 19:45:27 -08:00
Richard Goedeken
a325c9d0da
Merge pull request #605 from bugfood/fix-nosaveoptions
Preserve floating-point configuration values.
2019-01-16 19:34:21 -08:00
Hjunior
29e67258b4 Fix joy_max for initialize loop
During SDL joystick initialization needed for core events hotkeys, the loop of all controllers, in case of a J* hotkey should stop on the last found controller (ex.: for four controllers, should go from J0 to J3, instead of J4).
2019-01-14 23:51:50 -02:00
Corey Hickey
77c629a9f0 Preserve floating-point configuration values.
Currently, if a floating-point configuration value is equal to an
integer, it gets rewritten as an integer.

Example:
The Video-Rice PolygonOffsetFactor parameter is registered in the source
as a float, default 0.0f. When configuration is not initially present
(the first run of the program), the internal type is M64TYPE_FLOAT, so
the core writes the value to the config file as '0.000000' (default
6-digit precision of fprintf). On the next run, the core reads the value
and translates it to M64TYPE_INT and then writes it to the config file
as '0'.

This patch changes the parsing so that floats are preserved as floats
even when they happen to have an integral value. This way, a user
reading the config file has a visual indication of which values may be
set to floating-point values.
2019-01-13 17:54:45 -08:00
Gilles Siberlin
92b2157997
Merge pull request #604 from loganmc10/fix_mingw
Fix mingw build
2019-01-13 21:05:25 +01:00
Logan McNaughton
af14deb652 Fix mingw build 2019-01-13 10:15:06 -07:00
Richard Goedeken
812885b385
Merge pull request #602 from Gillou68310/new_dynarec_x64_arm64
new_dynarec: Initial support for x64 and arm64
2019-01-12 10:06:35 -08:00
Gillou68310
c4c63a1242 new_dynarec: Initial x64 and arm64 support 2019-01-09 16:03:35 +01:00
Gillou68310
df125cbed6 new_dynarec: Get rid of last_count 2018-12-20 16:42:29 +01:00
Gillou68310
da131e562d new_dynarec: Refactoring multdiv_assemble_x86 and jump_syscall 2018-12-18 13:39:57 +01:00
Gillou68310
434a0cacf6 new_dynarec: Don't save registers which are overwritten 2018-12-18 12:40:15 +01:00