Commit graph

318 commits

Author SHA1 Message Date
gizmo98
d1ddc9d111 Makefile: Fix not reachable options.
Line 283 is not reachable because OSD is disabled if USE_GLES is set.
2015-02-03 18:38:18 +01:00
gizmo98
15c2e2e951 Makefile: Add VC option
Add an option for Raspberry Pis Videocore IV GLES2 implementation.
2015-02-03 17:45:53 +01:00
gizmo98
cd2902cd60 Makefile: Add VFP_HARD define
So linkage_arm.S will work if VFP_HARD is set.
2015-02-03 17:38:25 +01:00
Richard Goedeken
40d0399900 Merge pull request #64 from Nebuleon/build-changes
Add a MIPS support stanza for the Unix Makefile
2015-02-01 14:33:42 -08:00
gizmo98
f314fc9049 Rename VFP -> VFP_HARD and add documentation. 2015-01-26 20:03:31 +01:00
Nebuleon Fumika
66651989d3 unix: Add a Makefile configuration for MIPS 2015-01-26 10:13:28 +00:00
Bobby Smiles
e900d5b765 Extract game_controller and mempak into separate modules. 2015-01-24 15:52:45 +01:00
Bobby Smiles
f2854903c2 Extract eeprom and af_rtc into separate modules. 2015-01-24 15:52:45 +01:00
Bobby Smiles
09b8fd4810 Move CIC into the PIF module. 2015-01-24 15:52:39 +01:00
Bobby Smiles
f76049aa3f Move pif and n64_cic_nus_6105 modules into the SI subsystem. 2015-01-24 15:52:17 +01:00
Bobby Smiles
16f6e4dc71 Move dma_si_{read,write} into the SI module. 2015-01-24 15:52:12 +01:00
Bobby Smiles
1259e3b37b Move SI regs into the SI subsystem. 2015-01-24 15:52:07 +01:00
Bobby Smiles
226b21f017 Move flashram into the PI subsystem. 2015-01-24 15:51:58 +01:00
Bobby Smiles
84b259bb20 Move sram into the PI subsystem. 2015-01-24 15:51:52 +01:00
Bobby Smiles
2b184eeb4b Move cart rom access stuff into the PI subsystem.
-> Prefixed global rom{,_size} with g_.
2015-01-24 15:51:42 +01:00
Bobby Smiles
5e75a99dea Move PI regs into the PI subsystem. 2015-01-24 15:51:37 +01:00
Bobby Smiles
7226dd62fa Move framebuffers into the RDP subsystem. 2015-01-24 15:51:33 +01:00
Bobby Smiles
674e26b6d8 Move RDP regs into the RDP subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
3db6358388 Move RSP regs/mem into the RSP subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
5961ef0c94 Move AI regs into the AI subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
c173426f2f Move VI regs into the VI subsystem. 2015-01-24 15:51:28 +01:00
Bobby Smiles
cc645522fe Move MI regs into the R4300 subsystem. 2015-01-24 15:51:23 +01:00
Bobby Smiles
9e833a5f9f Move RDRAM regs and dram into the RI subsystem. 2015-01-24 15:51:12 +01:00
Bobby Smiles
9da8b6586f Move RI regs into the RI controller. 2015-01-24 15:51:01 +01:00
gizmo98
2cfd1bd5d5 Makefile: Add VFP hardfloat as a option
1cf54788f6
2015-01-21 20:24:22 +01:00
Richard Goedeken
9e5e1da896 update makefile, bundle build script, and instructions for OSX builds 2014-12-26 14:34:47 -06:00
zephyr1988
ca660580b8 [NEW DYNAREC ARM] Use ARM mode explicitly - some systems use -mthumb by default 2014-12-09 22:03:05 +02:00
Frajo Haider
9282c95b11 add an option to build against GLES2 instead of OpenGL 2014-11-09 23:24:38 +01:00
Richard Goedeken
5acdc99347 Merge pull request #21 from bsmiles32/r4300_organization
R4300 organization
2014-05-04 13:00:56 -07:00
Richard Goedeken
8961d45c5a SDL 1.2 is not deprecated for us, and we shouldnt frighten the user with 6 lines of exclamation points 2014-05-04 11:19:08 -07:00
Ursula Abendroth
80e1fd5d0a Switch by default to SDL2 for Mupen64Plus 2.1
The current version of SDL is 2.0.3. All new releases of distributions contain
this library already. Current Linux distributions and OpenBSD even backporting
patches from Mupen64Plus 2.1 repo to use SDL 2. Android and other mobile
platform don't have support for legacy SDL 1.2.

People like Anthony J. Bentley and Riley Labrecque already requested
a new release of Mupen64Plus 2.1 with SDL2
2014-05-03 08:24:22 -07:00
Bobby Smiles
9fa86cd68f Put CP1 into its own module. 2014-04-25 10:06:11 +02:00
Bobby Smiles
5c247de4b1 Put CP0 into its own module. 2014-04-25 10:06:11 +02:00
Bobby Smiles
e8328c3439 Move TLB to r4300 directory. 2014-04-25 10:06:10 +02:00
Bobby Smiles
9ef534e0c8 Put instruction counters into its own module. 2014-04-25 10:06:10 +02:00
Bobby Smiles
2d19e8ea78 Put cached interpreter into its own module. 2014-04-25 10:06:00 +02:00
Bobby Smiles
ab650859ef Extract profile functions.
Move profile.c outside of r4300. Provide a proper header.
2014-04-16 09:54:35 +02:00
Richard Goedeken
2b8ec1005a remove old mupen64plus.cht file, fix install/uninstall script to use now mupencheat.txt file instead 2014-04-07 22:03:22 -07:00
Franz-Josef Haider
64d5cb22b3 add option to build for hard floating point arm environments 2014-02-04 20:07:20 +01:00
Sven Eckelmann
f01319ee3b Don't fail rebuild when header is removed
The *.d depends files for make just list the files used when building an
object file. Removing a file listed in such a dependency file causes make to
search for a way to recreate it. This usually cannot work because these files
aren't autogenerated.

The gcc option -MP can be used to generate empty rule for these files. Removing
a file in a dependency list will then execute this empty rule and continue with
the execution of the creation of the object file. This compilation process will
then automatically correct the dependency file.
2013-09-20 10:31:38 +02:00
richard42
88df3e78c8 simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:32:53 -07:00
Sven Eckelmann
58c98a03a3 Use SDL1.2 keysym in the config when using SDL2
It is easier for a user to keep the old SDL1.2 values for the keys in the
config instead of converting them by hand. This is extreme important when the
default (automatic) config is used.
2013-06-22 14:11:10 +02:00
richard42
61cd368bc3 removed -lstdc++ flag in makefile, I just need to use CXX=clang++ instead 2013-05-30 07:56:27 -07:00
richard42
8d4a11c530 we need to link against C++ standard library for OGLFT (required for clang under OSX) 2013-05-29 08:45:32 -07:00
Sven Eckelmann
04499d09a7 Don't use pkg-config on OSX to detect zlib 2013-05-12 12:03:15 +02:00
Sven Eckelmann
347fb5b270 Allow to statically set *_(CFLAGS|LIBS) without pkg-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 14:59:55 +02:00
Sven Eckelmann
5c37d968f8 Allow to statically set SDL_(CFLAGS|LIBS) without sdl-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 12:26:11 +02:00
Sven Eckelmann
3bc6c38def Enable Link-time optimization by default
The GCC introduced Link-time optimization in GCC 4.5 (2010-04-14). This should
be long enough available that interested users have upgraded to a compiler
supporting it.

The MSVC project already enabled WholeProgramOptimization since a long time.
Enabling it by default in GCC seems to be equally valid.
2013-05-11 11:25:47 +02:00
Sven Eckelmann
984d74b2b3 Add CXXFLAGS to the linker step
The GCC manual states for different parameters that the options for compilation
must also be used when linking. The options for compilation are stored in
CXXFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.
2013-05-11 11:02:16 +02:00
Sven Eckelmann
f7adbee2a4 Revert "Enable link time garbage collection when link time optimization is enabled"
Some linker on different platforms don't handle the garbage collection
correctly and create extreme bloated binaries. Therefore, leave it to the user
to enable this feature or not.
2013-03-14 08:00:59 +01:00