Commit graph

1883 commits

Author SHA1 Message Date
Logan
08f8fa4dd4
Force alignment of PI DMA 2018-02-23 15:45:05 -07:00
Richard Goedeken
74c1e666ee
Merge pull request #535 from fzurita/unplug_controller_runtime
Allow game controllers to be unplugged and plugged in on the fly
2018-02-18 09:09:08 -08:00
Richard Goedeken
d26926c2e1
Merge pull request #538 from bsmiles32/wdc_lock
Alternative implementation of "Don't deal with save states when RSP t…
2018-02-16 20:05:31 -08:00
Bobby Smiles
4a5e62e568 Clean-up controller hot-pluggin support. 2018-02-16 22:57:37 -05:00
Francisco Zurita
03916e0cd3 Allow game controllers to be unplugged and plugged in on the fly
This can be done using the controller plugin interface using the
"Present" flag for each controller
2018-02-16 22:57:34 -05:00
Bobby Smiles
0ff0c179b7 Remove rsp_task_locked from save state as it is now always 0 in this case. 2018-02-16 19:56:23 +01:00
Bobby Smiles
1bf5eb701d Alternative implementation of "Don't deal with save states when RSP task is locked"
See https://github.com/mupen64plus/mupen64plus-core/pull/534
2018-02-16 00:22:56 +01:00
Gillou68310
8b24ef56a4 new_dynarec: Fix DMULT/DMULTU recompiled code
Interpreted version could be used instead by defining INTERPRETED_MULT64
2018-02-15 17:34:55 +01:00
Francisco Zurita
763a2c6476 If a ROM is not in the database, use 4 players, enable mempak, and enable rumble pak 2018-02-10 13:53:30 -05:00
Richard Goedeken
d7721192c1 fix homepage link 2018-02-07 22:29:08 -08:00
Bobby Smiles
0bfe65b550 Fix undefined reference to print_insn_i386 with libopcode >= 2.29
This broke with upstream commit 6394c606997f88acfc80de4dff33a4ae2de987b4
"Don't use print_insn_XXX in GDB".
2018-02-02 00:13:16 +01:00
Richard Goedeken
97631d7ae1 remove OSX-specific code from osal/files_unix.c, and when looking for shared files in files_macos.c, don't use the bundle Resources directory unless the file is actually there 2018-01-24 22:21:45 -08:00
Bobby Smiles
225b52df87 Fix free_all_registers prototype. 2018-01-19 02:50:44 +01:00
Bobby Smiles
bc8f93766d Fix init_cache prototype. 2018-01-19 02:45:23 +01:00
bsmiles32
73a8e373be
Merge branch 'master' into less_g_dev 2018-01-17 08:00:38 +01:00
Richard Goedeken
82b9e51032
Merge pull request #513 from bsmiles32/sidmaduration
Add SiDmaDuration option.
2018-01-16 20:18:32 -08:00
Bobby Smiles
5d4e054cc4 Move g_dev usage inside savestate instead of interrupt module. 2018-01-15 23:23:17 +01:00
Bobby Smiles
8d22be253c Avoid usage of g_dev in savesate module. 2018-01-15 22:50:00 +01:00
Bobby Smiles
c2dd188af4 Avoid global variable ROM_PARAM in cheat module. 2018-01-15 22:15:14 +01:00
Bobby Smiles
4d02e86e67 Cleanup header inclusions in cheat module. 2018-01-15 22:09:04 +01:00
Bobby Smiles
4dbbf62d72 Avoid usage of g_dev inside cheat module. 2018-01-15 21:53:19 +01:00
Bobby Smiles
b6e7c2698b Move cheat state inside a struct. 2018-01-15 21:24:34 +01:00
Bobby Smiles
5d184fb62a Prefer forward declaration to header inclusion. 2018-01-15 21:02:11 +01:00
Bobby Smiles
f714f13fe0 Rename header guard in cheat.h 2018-01-15 21:02:11 +01:00
Bobby Smiles
2a30f6f080 Formatting cleanups in cheat module. 2018-01-15 21:02:11 +01:00
Bobby Smiles
69fe3193e8 Formattings cleanup. 2018-01-14 20:15:27 +01:00
Bobby Smiles
43bef9d269 Avoid usage of g_dev in debugger modules. Use standard fixed-size types. 2018-01-14 20:07:21 +01:00
Bobby Smiles
1b4f065761 Avoid usage of g_dev inside dbg_memory module. 2018-01-14 19:53:00 +01:00
Bobby Smiles
b7e99db4a7 Avoid usage of g_dev in most dynrec functions. 2018-01-14 19:22:06 +01:00
bsmiles32
004a82ef3f
Merge pull request #515 from bsmiles32/arm_compile_fix
Fix compilation of new dynarec.
2018-01-13 17:52:00 +01:00
Bobby Smiles
f155526de7 Fix compilation of new dynarec. 2018-01-12 22:18:41 +01:00
Logan McNaughton
bcd2b0104e Fix potential crash with FBInfo and save states 2018-01-11 09:53:49 -07:00
Bobby Smiles
4d1b55ac7f Add SiDmaDuration option.
This is a hack on SI DMA timings to allow games with different timing
requirements to work.

We keep the previously hardcoded value of 0x900 as the default value
but fine-tune it for Tetris 64 (J) which can be made to boot with a
lower value of it.

Therefore we can get both Body Harvest and Tertis 64 (J) to work.
2018-01-11 00:34:34 +01:00
Bobby Smiles
e59aa29a32 Reindent dynarec properly. 2018-01-09 01:06:50 +01:00
Bobby Smiles
7be909718b Make fpu modes internal to dynarec.c files 2018-01-09 01:06:50 +01:00
Bobby Smiles
60fb63c927 Expose less dynarec internal headers 2018-01-09 01:06:50 +01:00
Bobby Smiles
80915c17c9 Move dynarec_setup_code to recomp module. 2018-01-09 01:06:50 +01:00
Bobby Smiles
3e2e24c264 Remove unneeded headers 2018-01-09 01:06:50 +01:00
Bobby Smiles
d95edb6d22 Cosmetic changes to virtual_to_physical function. 2018-01-09 01:06:50 +01:00
Bobby Smiles
d8478af126 Fix dynarec_setup_code unused function warning with NEW_DYNAREC 2018-01-09 01:06:49 +01:00
Bobby Smiles
20ba423fc5 Remove unneeded headers in tlb module. 2018-01-09 01:06:49 +01:00
Bobby Smiles
908a2736f4 Move exception code into cp0 module. 2018-01-09 01:06:49 +01:00
Bobby Smiles
9b5e18507f clock_backend_interface forward declaration comes from mbc3_rtc header. 2018-01-08 22:14:19 +01:00
Bobby Smiles
5d1c5ce60b Prefer forward declaration to header inclusion in gb_cart header. 2018-01-08 22:14:19 +01:00
Bobby Smiles
64c114cd23 Remove unneeded declaration and header. 2018-01-08 22:14:19 +01:00
Bobby Smiles
4b848e2faa Add missing forward declaration 2018-01-08 22:14:19 +01:00
Bobby Smiles
03496dff0e Replace sl macro with tohl/fromhl macros
These names better convey intent of conversion (to or from host endian)
and loosely matches standard htonl/ntohl functions.
We also move them in osal/preproc.h
2018-01-08 22:14:19 +01:00
Bobby Smiles
a7cd948c8c Add missing forward declaration. 2018-01-08 21:45:38 +01:00
Bobby Smiles
5e9301e506 Remove unused header. 2018-01-08 19:49:40 +01:00
Richard Goedeken
fb274ac676 bugs 2018-01-05 18:40:07 -08:00