Commit graph

312 commits

Author SHA1 Message Date
orbea
ae2d353cab build: Allow out of tree builds. 2020-12-15 10:17:09 +01:00
Logan
96834d5a18 Use PIF_ROM_SIZE 2020-10-11 23:10:36 +02:00
Logan McNaughton
42f91fec0d PIF binary support 2020-10-11 23:10:36 +02:00
Richard Goedeken
6210d5cce2 Revert "Allow non-default compilers without resorting to symbolic links"
This reverts commit d0fdeafeb2.
2020-09-16 22:27:26 -07:00
Richard Goedeken
e147b94f3c
Merge pull request #61 from Jj0YzL5nvJ/alter_cc_cxx
Allow non-default compilers without resorting to symbolic links
2020-08-30 18:53:04 -07:00
Jj0YzL5nvJ
d0fdeafeb2 Allow non-default compilers without resorting to symbolic links 2020-08-30 04:01:18 -06:00
Richard Goedeken
089be953f2
Merge pull request #60 from Jj0YzL5nvJ/alter
Allow to set custom platform toolset from commands
2020-08-19 23:36:10 -07:00
Jj0YzL5nvJ
91a1dcd483 Allow to set custom platform toolset from commands 2020-08-13 12:14:26 -06:00
Richard Goedeken
0c32ac42ae
Merge pull request #59 from Jj0YzL5nvJ/sdl2_net
Add SDL2_net dependency
2020-07-01 06:51:24 -07:00
Jj0YzL5nvJ
96e284b6ec Add SDL2_net dependency 2020-07-01 03:01:33 -06:00
Jj0YzL5nvJ
77a2adea93 AppVeyor with artifact packaging 2020-03-02 14:01:40 +01:00
Jj0YzL5nvJ
9f5ab4a8dc Changes to have more generic project files 2020-02-26 12:38:42 +01:00
Gillou68310
5ec0b2a23a Migrate to VS2017 2019-11-13 17:16:06 +01:00
Richard Goedeken
117d2e8fa4 fix warnings in win32 2019-06-02 23:13:14 -07:00
Richard Goedeken
b8fa2dea54 add function attributes so GCC can find bugs in calls to string formatting functions with variadic arguments 2019-03-03 09:41:03 -08:00
Richard Goedeken
8f7b6b07ca fix issue #54 - front-end application uses Config API functions from v2.3.1 2019-03-01 19:21:37 -08:00
Richard Goedeken
8548eb39f1 update version and release info for v2.5.9 BETA release 2019-02-10 10:14:35 -08:00
Richard Goedeken
d940c9323e fix Travis CI test builds for MXE 32 and 64 bits 2019-01-29 22:14:55 -08:00
Richard Goedeken
d4303d96c4
Merge pull request #52 from bugfood/fix-options
Fix setting plugin parameters when configuration file not present.
2019-01-26 23:30:37 -08:00
Corey Hickey
e46434df3a Fix setting plugin parameters when configuration file not present.
Currently, several plugins test for a specific version number to be set
in the config; if the version number is not present, then such plugins
initialize themselves with default parameters, completely ignoring any
parameters that had been set previously.

Example:
Input Warning: Missing or incompatible config section 'Input-SDL-Control1'. Clearing.

This behavior makes command-line plugin parameters largely unusable
until the configuration file has been written to (with an appropriate
"version" parameter).

To fix this, parse plugin parameters in another phase: after loading the
plugins but before attaching them to the core. This allows plugins to
load their own defaults before the command-line parameters are overlaid.

Plugins should be able to handle this; the operation is similar to how
mupen64plus-gui loads plugins to get defaults, allows the user to modify
the parameters, and then attaches the plugins to the core.
2019-01-26 21:18:41 -08:00
Richard Goedeken
b4db22f1fd
Merge pull request #48 from bugfood/fix-nosaveoptions
Fix nosaveoptions
2019-01-12 10:35:33 -08:00
Richard Goedeken
5926250b86 initialize variable. fix warnings 2018-11-16 19:56:32 -08:00
Richard Goedeken
7158199d94
Merge pull request #51 from thyth/upstream-debugger-rebase
Enhancements to debugging interface
2018-11-16 19:52:24 -08:00
Daniel Selifonov
9df31d93f9
Fixed two issues in the new 'asm' debugger command 2018-11-11 23:16:52 -08:00
Daniel Selifonov
a0034474ad
Documented debugger command augmentation in the README 2018-11-11 22:39:34 -08:00
Daniel Selifonov
1ffb52b17a
Warn memory breakpoint users about physical/virtual address differences 2018-11-11 22:20:22 -08:00
Daniel Selifonov
2cdb10de7e
Added "translate" debugger command for virtual->physical address lookup 2018-11-11 22:13:38 -08:00
Daniel Selifonov
3c28ab2d54
Added "bp trig" command to see flags/address data for last hit breakpoint 2018-11-11 22:10:42 -08:00
Daniel Selifonov
c510ac4fc5
added more arguments to 'asm' debugger command
Zero arguments: disassemble one instruction at the current PC
One argument (address): disassemble one instruction at the address
Two arguments (address, size): disassemble 'size' instructions at 'address'
Three arguments (address, size, flags): disassemble 'size' instructions at 'address'
 - If bit-3 is set (i.e. & 0x04): also print binary representation of instructions
 - If bit-2 is set (i.e. & 0x02): prefix each instruction with its memory address
 - If bit-1 is set (i.e. & 0x01): prefix each instruction with an index from the start of disassembly
2018-11-11 22:06:52 -08:00
Daniel Selifonov
39c5800112
added breakpoint range and flag control to the add command 2018-11-11 21:59:04 -08:00
Daniel Selifonov
cd65527203
added simple memory writing command to debugger_loop 2018-11-11 21:37:33 -08:00
Richard Goedeken
838d4d4f2f oops, correctly set PLUGINDIR macro in makefile 2018-11-07 20:20:03 -08:00
Richard Goedeken
e502f2b66b fix for issue #50: use LIBDIR for PLUGINDIR and COREDIR if they are not explicitly given 2018-11-06 21:24:59 -08:00
Richard Goedeken
859dda24f4 disable the debugger in the core if we are not running it in the ui-console, otherwise it will hang forever in the paused state 2018-11-06 07:30:55 -08:00
Richard Goedeken
cbbfeaad14 fix last commit; we need to support hex addresses too 2018-10-19 19:13:22 -07:00
Richard Goedeken
0dc8782b4d debugger fix: memory addresses must be unsigned 2018-10-18 20:45:19 -07:00
Daniel Selifonov
d1d184009a fixed bug in core_interface.c; getting function handles to DebugMemWrite* were actually getting handles to DebugMemRead* 2018-10-14 21:49:35 -07:00
Richard Goedeken
b1add1f806 fix register printout in debugger: need to tell printf that we have 64-bit values 2018-10-01 21:25:53 -07:00
Corey Hickey
2409aff737 avoid saving configuration unnecessarily
1. Check for changes before saving.
2. The command-line options are only parsed once, so no need to save
them again.
2018-08-29 22:37:35 -07:00
Corey Hickey
0bb63fe6f5 save configuration (if desired) right before running game
Currently, plugins frequently call ConfigSaveSection(), which results in
the configuration being rewritten. I intend to submit patches to remove
these calls.

In exchange, the front-end should save the configuration at the latest
safe opportunity, to capture any changes before most chances of crashes,
power outages, kill -9, etc.
2018-08-29 22:36:54 -07:00
Richard Goedeken
5c1e2e8f0a
Merge pull request #47 from bugfood/fix-nosaveoptions
Make --nosaveoptions not ever save options.
2018-08-28 16:55:41 -07:00
Corey Hickey
678c534d27 Parse --nosaveoptions earlier in order to respect it.
The '--nosaveoptions' option does not work currently, due to various
reasons.

1. The core saves its configuration when loaded (addressed in a separate
   PR).
2. Plugins often save their configuration (to be addresses separately,
   if this change is acceptable).
3. The UI does not parse --nosaveoptions early enough to avoid saving
   the configuration (addressed in this patch).

This does not fully make --nosaveoptions work, but it is an incremental
improvement.
2018-08-27 21:52:59 -07:00
Richard Goedeken
5b9eba4cab update readme for 64DD usability issues 2018-05-12 07:36:24 -07:00
Richard Goedeken
adfcea709b
Merge pull request #43 from bsmiles32/dd
Add basic support for 64DD.
2018-05-12 07:29:03 -07:00
Bobby Smiles
9125460cd7 Add basic support for 64DD.
Definition of DD IPL rom and disk is done through the mupen64plus.cfg
file as follow:

[64DD]
IPL-ROM="path/to/64DD_IPL_ROM.bin"
Disk="path/to/64DDDisk.ndd"

Setting an empty IPL-ROM disable the 64DD.
Setting an empty Disk acts as if the 64DD had no disk plugged in.

You can also specify these at program startup using command-line
arguments --dd-ipl-rom and --dd-disk.
2018-03-25 22:48:39 +02:00
Richard Goedeken
5485240100 compilers which dont build in C99 mode by default are super lame 2018-03-12 22:10:40 -07:00
Richard Goedeken
e90085e34d update README and add new mem read command to console debugger 2018-03-12 21:53:31 -07:00
Richard Goedeken
6f44877ba6 fix win32 build 2018-02-11 15:18:22 -08:00
Richard Goedeken
c99996235e need this header file for the SDL version macro 2018-02-07 22:58:25 -08:00
Richard Goedeken
b49c7a6275 fix memory leak, warning, build with SDL 1.2 2018-02-07 22:43:03 -08:00