Richard Goedeken
88043b624d
moved files_macos.c to correct location
2018-01-05 18:32:36 -08:00
bsmiles32
5fb51e8d26
Merge pull request #507 from bentley/master
...
Update homepage links
2018-01-01 17:42:45 +01:00
Anthony J. Bentley
934a72cbcb
Update homepage.
2017-12-28 16:51:59 -07:00
Logan McNaughton
6f0ca6ca44
Update xxHash to 0.6.4
2017-12-22 08:26:10 -07:00
Myy Miouyouyou
52e3a931fb
Device: RDRAM: Use the R4300 helpers to get the R4300 registers
...
Since the "regs" member is not available on the r4300_core
structure when enabling ARM DYNAREC, accessing this member
directly will cause compilation errors with this setup.
Signed-off-by: Myy Miouyouyou <myy@miouyouyou.fr>
2017-12-17 20:57:23 +01:00
Bobby Smiles
207524facb
Fix unsigned/signed comparison in savestates_load_pj64
2017-12-16 17:01:39 +01:00
Bobby Smiles
fea1f8e672
Fix: reading RDRAM registers with the debugger reads 1st module.
2017-12-16 15:28:26 +01:00
Bobby Smiles
bef8f671f3
Handle the unlikely case of truncated PIF command.
...
Detected by coverity
2017-12-16 15:27:28 +01:00
Richard Goedeken
8ed765981d
Merge pull request #501 from bsmiles32/rdram
...
Implement enough of RDRAM subsystem to remove rdram detection hack.
2017-12-15 17:46:33 -08:00
Richard Goedeken
7d088113a8
Merge pull request #500 from bsmiles32/bugfix_reset
...
Fix reset bug introduced in commit 1c01c233
.
2017-12-15 17:42:06 -08:00
Bobby Smiles
afe607e4e7
Fix copy pasting error in MBC2 messages.
2017-12-14 01:39:39 +01:00
Bobby Smiles
ed421be9e7
Fix reset bug introduced in commit 1c01c233
.
...
Values comming from CIC at poweron/reset were written too early in PIF
RAM. There was a possibility of them getting overwritten by some SI DMA
requests (such as reading mempaks [Perfect Dark]) during the time window
between PIF_INT and NMI_INT.
Now we delay this until NMI_INT is triggered.
2017-12-14 01:30:53 +01:00
Bobby Smiles
28f7c868c1
Implement enough of RDRAM subsystem to remove rdram detection hack.
...
Previously, the RDRAM detection/initialization was wrong and a post
RDRAM initialization hack was triggered (just before initial PI DMA)
to force specified amount of RDRAM to be recognized.
With this PR, several aspects of the RDRAM have been implemented which
results in proper detection of RDRAM by the IPL3:
- support for up to 8 (IPL3 hardcoded limitation) RDRAM modules
- partial support for individual rdram address mapping,
ADDR_SELECT has not been implemented though
- support broadcast register writes
- simulating read failure when current calibration is not done yet
2017-12-14 00:19:24 +01:00
Logan McNaughton
90cbfa355a
Fix crash when loading save state
2017-12-12 10:11:35 -07:00
Richard Goedeken
209591d985
coverity caught this bug. not sure why we're checking bit 8 of the address in order to conditionally do something in this switch statement
2017-12-05 17:03:22 -08:00
Bobby Smiles
4d55eff57c
Fix: forgot to update curr offset.
2017-12-03 21:38:21 +01:00
Bobby Smiles
c946a8d875
Add MBC2 support.
2017-12-03 16:15:03 +01:00
Bobby Smiles
b8d6bf486f
Wire up rumble support for gb carts that supports it.
2017-12-03 15:27:57 +01:00
Bobby Smiles
5da92c1d10
Implement preliminary gb camera.
2017-12-03 12:35:31 +01:00
Richard Goedeken
6b53176d6f
Merge pull request #490 from bsmiles32/warnings
...
Warnings
2017-11-30 20:06:27 -08:00
Richard Goedeken
c3427ab842
Merge pull request #481 from loganmc10/fbinfo
...
Add more FB writes and reads
2017-11-30 19:35:42 -08:00
Conn O'Griofa
b74c714ea9
Remove orphaned line related to removed GoldenEye TLB hack
...
Needed to resolve build error (on Raspberry Pi 3).
2017-11-30 05:47:46 +00:00
Logan McNaughton
4cc401e9d9
Add more FB writes and reads
2017-11-29 07:47:18 -07:00
Richard Goedeken
47df0c2e00
Merge pull request #487 from loganmc10/ge_tlb
...
Remove GoldenEye TLB hack
2017-11-28 22:26:12 -08:00
Logan McNaughton
f1a7a17505
Deal with TLB exception in fast_mem_access
2017-11-27 20:50:21 -07:00
Logan McNaughton
b2d20e1f4c
Remove GoldenEye TLB hack
2017-11-27 20:50:21 -07:00
Logan McNaughton
7abc81852f
Start using save state version 1.2
2017-11-27 20:47:04 -07:00
Logan McNaughton
9a21b62855
Add do_on_unfreeze to savestate
2017-11-27 20:47:04 -07:00
Logan McNaughton
eaac4063e3
Only delay DP if DPC_STATUS_FREEZE is set
2017-11-27 20:47:04 -07:00
Bobby Smiles
de2474015b
Change the msvc compiler detection in osal/preproc.h
2017-11-28 03:17:25 +01:00
Bobby Smiles
f6bb6662b5
Use osal_inline and remove -Wno-unused-function form the cflags.
2017-11-28 03:17:25 +01:00
Bobby Smiles
d0e8d976b4
Fix 32-bit limit test.
...
Was producing a warning before.
2017-11-28 03:11:55 +01:00
Bobby Smiles
00344471e8
Fix more signed/unsigned comparison in dynarec.
2017-11-28 03:11:55 +01:00
Bobby Smiles
58cb710045
Remove unneeded headers in osd.cpp
...
This remove some coupling with other headers, especially m64p_plugin.h
which was not C++ compatible because of unnamed struct (BUTTONS).
2017-11-28 03:11:55 +01:00
Bobby Smiles
7cb1f03e6e
Compile screenshot.c as a C file not CPP.
2017-11-28 03:11:55 +01:00
Bobby Smiles
065de9c56b
Avoid warning about casting void* -> function pointer.
...
This conversion is undefined in strict C ISO and a conforming compiler
must issue a warning about it. However it is largely supported (and
even possibly mandated for compilers supporting the XSI extension, given
the dlsym prototype). The recommended way of avoiding the warning is
instead to use the *(void**)(&func) trick.
See http://pubs.opengroup.org/onlinepubs/009695399/functions/dlsym.html
2017-11-28 03:10:47 +01:00
Bobby Smiles
fa86a26537
Fix more sign/unsigned comparison issue in dynarec.
2017-11-28 03:10:47 +01:00
Bobby Smiles
63aa4c1dc3
Fix various sign-unsigned comparison warnings in savestates.c
2017-11-28 03:10:47 +01:00
Bobby Smiles
ada82e3012
Fix missing field initialization in input plugin functions.
2017-11-28 03:10:47 +01:00
Bobby Smiles
4f3cb726d9
Add __extension__ before braced group GNU extension
...
This remove pedantic warnings.
2017-11-28 03:10:47 +01:00
Bobby Smiles
c038761614
Avoid compilation of empty translation unit (profile).
2017-11-28 03:10:47 +01:00
Bobby Smiles
b6d2140f94
Prefer defines over enum to force unsigned type on constants
2017-11-28 03:10:47 +01:00
Bobby Smiles
b598f0f438
Avoid signed-unsigned comparison warning in recomp.c
2017-11-28 03:10:47 +01:00
Bobby Smiles
ed79157e50
Fix dyna_start prototype.
2017-11-28 03:10:47 +01:00
Bobby Smiles
f51c791c3e
Use fixed-size unsigned integers in cheat module.
2017-11-28 03:10:47 +01:00
Bobby Smiles
8514f450db
Remove uneeded macro.
2017-11-28 03:07:16 +01:00
Bobby Smiles
3e45897c11
Avoid compilation of empty translation unit (instr_counters).
...
Fixes pedantic warning.
2017-11-28 03:07:16 +01:00
Bobby Smiles
a5a0901059
Add fall through comments in some places to avoid warning.
2017-11-28 03:07:16 +01:00
Bobby Smiles
9155c7299e
Fix some sign compare warnings.
2017-11-28 03:07:16 +01:00
Bobby Smiles
cd0f85a0d5
Replace usage of enum with values that can't be encoded as int.
...
Fixes various pedantic warnings.
2017-11-28 03:07:16 +01:00