Commit graph

282 commits

Author SHA1 Message Date
casualjames casualjames
6068ddc909 Added warning in README 2011-09-09 16:36:10 +02:00
casualjames casualjames
4cc1e04b79 implement basic support for PIF ROM booting 2011-07-25 22:04:21 +02:00
richard42
139139738e Updated MSVC8 project files for new PIF/CIC code 2011-07-16 17:25:35 -07:00
Richard Goedeken
43206c936f use X-Scale's PIF-CIC algorithm instead of the hard-coded challenge-response pairs 2011-07-16 15:47:14 -07:00
Richard Goedeken
e162e1ccf1 allow front-end to set the speed limiter on/off prior to starting a rom 2011-07-16 11:17:41 -07:00
Richard Goedeken
4286ee7b9b updated FRONTEND_API_VERSION to 0x020001 for new m64p_command and m64p_core_param 2011-07-16 11:00:03 -07:00
Richard Goedeken
f310d37785 missing semicolon 2011-07-16 10:30:23 -07:00
Richard Goedeken
596aec45ab added new core parameter: M64CORE_SPEED_LIMITER along with get/set functionality 2011-07-16 10:24:22 -07:00
Richard Goedeken
367b07176a make the MainSpeedLimit variable a local instead of global, and add a modifier function 2011-07-16 09:54:03 -07:00
Richard Goedeken
47538f3bc6 added new M64CMD_CORE_STATE_SET core command, and main_speedset() function 2011-07-16 09:51:38 -07:00
Richard Goedeken
3ea632b500 Added speed limiter control variable in main.c 2011-07-16 07:42:16 -07:00
richard42
a2c2b2ef91 Win32 fixes 2011-07-11 23:05:14 -07:00
Sven Eckelmann
c50a3b5037 Remove extraneous parentheses around comparison which could hide GCC warnings 2011-07-10 22:43:45 +02:00
Sven Eckelmann
c792b2b39d Remove comparison unsigned < 0 2011-07-10 22:24:19 +02:00
Sven Eckelmann
5a03b61fb0 Allow to force PIC to remove text relocations 2011-07-10 13:37:54 +02:00
Sven Eckelmann
5efe246437 Don't require executable memory for cached interpreter 2011-07-10 11:34:10 +02:00
Sven Eckelmann
b1f9a9d154 Readd set_rounding in fpu instructions for interpreter modes 2011-07-10 11:06:50 +02:00
Sven Eckelmann
5fd974cac9 Use common fpu implementation for interpreter modes to fix missing round/trunc/ceil/floor 2011-07-10 10:25:27 +02:00
Sven Eckelmann
625ab60be8 Show error on failed malloc_exec in cached interpreter mode instead of segfaulting 2011-07-10 01:36:28 +02:00
Sven Eckelmann
b6ada95740 Show error on failed first malloc_exec instead of segfaulting 2011-07-09 23:45:13 +02:00
Sven Eckelmann
a1c8fc62b7 Allocate exec memory using mmap
mprotect has no defined behavior when it is used with memory regions not
allocated by mmap. Therefore, it is easier to use mmap directly with the
RWX flags instead of using mmap and then mprotect.
2011-07-09 23:02:35 +02:00
Sven Eckelmann
48d49d8135 Prevent data corruption with caller managed OSD text
OSD text like the volume information is update by the caller in main.c, but the
drawing function in osd.c maybe already deleted the corresponding data
structure. The workaround was to check if the pointer to data structure could
be found in the list. It could happen that another text was shown inbetween and
the libc reused the old memory region for another text message. The
osd_message_valid function would wrongly inform the caller that the OSD text
wasn't deleted and the following osd_update_message would modify the wrong
message.

We must forbid that the messages is deleted by both the caller and the osd
drawing mainloop. The mainloop restricts itself to removing it from the list
when the caller marked it as user_managed directly after it was allocated. The
caller has to remove it manually using osd_delete_message in that situation.
2011-07-09 22:08:58 +02:00
Sven Eckelmann
fd0565c7f1 Consistently name the test as m64p_test_rom.v64 2011-07-09 20:43:28 +02:00
Sven Eckelmann
b0bc4ceb4d Cleanup savestates_select_filename as suggested in #412 2011-07-09 20:08:11 +02:00
Sven Eckelmann
517e5efce1 Synchronize MANDIR behaviour of bundle scripts with unix Makefile 2011-07-09 19:54:24 +02:00
Sven Eckelmann
09e4c2228a Fix linker search for libstdc++.so 2011-07-08 08:24:33 +00:00
Sven Eckelmann
5c685d6528 Don't use Debian specific liblircclient0 pkg-config files 2011-07-08 07:44:26 +00:00
Richard Goedeken
58cb394345 fix warning in NO_ASM build 2011-07-07 19:26:17 -07:00
Richard Goedeken
8504edc67a merged 244 and 252 2011-07-03 16:57:58 -07:00
Sven Eckelmann
3a2a7ac2d0 Inform user about the possibility to make the build verbose 2011-07-03 18:04:47 +02:00
Sven Eckelmann
5be4fd59c5 Set changeable default compiler optimization option 2011-07-03 18:03:15 +02:00
Sven Eckelmann
4deb188d41 Remove mupencheat.txt in uninstall target 2011-06-27 13:20:20 +02:00
Sven Eckelmann
08ee24e241 Fix unresolved SDL symbols 2011-06-27 13:06:28 +02:00
Sven Eckelmann
0dc48bce8d Test for essential build dependencies before getting their cflags/libs 2011-06-27 11:36:09 +02:00
Sven Eckelmann
c5bebb705d Allow to change the gnu make name using env variable MAKE in m64p_helper_scripts 2011-06-27 11:08:33 +02:00
Sven Eckelmann
62d924b182 Use sdl-config to find sdl gcc parameters to not interfere with Auria's OSX hacks 2011-06-27 10:34:02 +02:00
Sven Eckelmann
9e6ba133ad Add fallback to create symlink in installation directory for some *BSDs 2011-06-26 21:28:24 +02:00
Sven Eckelmann
2ae00b480b Add fallback to create symlink in installation directory for some *BSDs 2011-06-26 21:26:03 +02:00
Sven Eckelmann
4bddc37c3f Use ldconfig -n on Linux and ldconfig -m on *BSD 2011-06-26 21:20:25 +02:00
Sven Eckelmann
912cd431ff Don't use _BIG_ENDIAN to check for endianness as it is always set on OpenBSD 2011-06-26 20:18:10 +02:00
Sven Eckelmann
141c5f2acc Use rom.c as base definition place for isGoldeneyeRom 2011-06-26 19:42:10 +02:00
Sven Eckelmann
d72328e2a7 Add OpenBSD as half-supported OS with FreeBSD userspace tools 2011-06-26 18:37:19 +02:00
Sven Eckelmann
5b12eed5e8 Remove -v parameter of install which is not available everywhere 2011-06-26 18:29:24 +02:00
Sven Eckelmann
fe1604aaba Don't run ldconfig on all directories 2011-06-26 16:05:12 +02:00
Sven Eckelmann
5ba45f4748 Synchronize build rules with standard gnu make rules 2011-06-26 15:32:42 +02:00
Sven Eckelmann
020ba6c91e Remove bashism in helper tools 2011-06-26 13:55:39 +02:00
Sven Eckelmann
efaef036d2 Provide prototypes of exported functions for use inside the core 2011-06-26 01:04:53 +02:00
Sven Eckelmann
e20674dbca Don't use plain 0 for pointers 2011-06-25 23:05:19 +02:00
Sven Eckelmann
56208dfc40 Remove carriage return from line ending 2011-06-25 23:03:55 +02:00
Sven Eckelmann
34ca3d7c49 Mark local only functions as static or fix their definition 2011-06-25 22:40:58 +02:00