Commit Graph

5247 Commits

Author SHA1 Message Date
meancoot
e3b1d582c7 Set a default value to options.vector_intensity; vector games show their display now 2012-11-10 15:55:45 -05:00
meancoot
948856c5d1 Fix color masks in RGB565 mode. 2012-11-10 15:55:24 -05:00
meancoot
c1ec988b31 Copy performance moitoring code from RetroArch. Build with 'make RETRO_PROFILE=1' to enable. 2012-11-10 15:29:08 -05:00
meancoot
e331f85ea6 Revert "Choose frontend color mode preference based on the output mode of the loaded game. Add some logs indicating color mode values if DEBUG_LOG is defined."
This reverts commit 8ae1024106.
2012-11-10 15:09:12 -05:00
meancoot
01d3eb2dfd Revert "Video improvements:"
This reverts commit 10f9577fb7.
2012-11-10 15:08:49 -05:00
meancoot
10f9577fb7 Video improvements:
If no color conversion is needed, the video buffer is not packed so that width is equal to pitch. It just wastes time if the frontend doesn't need it. If the frontend does need it, it can do it on its own with no real loss of performance.
  If running a paletted game with a 32bit pixel format no cached palette conversion is done. It's unneeded as the provided palette is already in the proper format.
2012-11-07 20:47:55 -05:00
meancoot
79e92c00fa Inline the 'logerror' function. It can be called many times per frame by some drivers there's no point risking a call to an empty function every time it's called. 2012-11-07 19:09:10 -05:00
meancoot
8ae1024106 Choose frontend color mode preference based on the output mode of the loaded game. Add some logs indicating color mode values if DEBUG_LOG is defined. 2012-11-07 18:48:04 -05:00
meancoot
dc20202f6b Map the MAME menu to port 1s R2 button. Make keyboard support optional. Pass USE_RETRO_KEYBOARD=1 to make to enable it.
There's no point in polling the ~100 keys when the frontend doesn't support keyboard input.
2012-11-07 17:57:03 -05:00
twinaphex
497e5173bf Dehardcodes the sound so it no longer assumes a fixed refresh rate
of 60Hz - fixes sound in Mortal Kombat games that run at 53fps
2012-11-07 23:07:27 +01:00
twinaphex
78c73fcf57 (Path) No longer a 'rom' dir requirement
(PS3) Works on PS3 for the first time - Mortal Kombat 1/2/3/NBA Jam/
terribly slow - perhaps the 53fps framerate is to blame for this and
we need to get the sync right. Sound produces horrible static in some
games (Double Dragon 2 with a constant hiss) - Konami GX games like
Sexy Parodius et al seem to run correct though. Puzzle Bobble 3 once
again very slow - methinks color conversion is killing us here right
now
2012-11-07 15:47:02 +01:00
meancoot
82ef12f78c Remove built-in savestate features and implement them in libretro fashion. (Save states didn't work that great before so they will act weird now too.) 2012-11-05 20:52:08 -05:00
meancoot
5d8fd5583e Re-add the copyright info and game warnings screens. For now the game info screen can be accessed from MAMEs UI. 2012-11-05 18:15:26 -05:00
twinaphex
1fbabf42e0 (PS3) PS3 library builds now - had to remove <signal.h> includes
and comment out signals in some CPU drivers
2012-11-05 08:15:13 +01:00
twinaphex
9ebf8b6d17 (Sound mixer) Use faster audio clamping (from blargg) - gives an
fps speedup around the ~10 fps ballpark
(Sound mixer) Get rid of useless MMS defines
2012-11-05 02:23:10 +01:00
meancoot
20fbf460a6 Disable the game warings screen 2012-11-04 17:03:19 -05:00
meancoot
57dc6a4466 Fix hang when using pause/save states 2012-11-04 16:01:02 -05:00
meancoot
bebaef552a Fixes:
Disable MAMEs pause feature. It never returns causing the emulator to hang.
  Merge cpu_frame and mame_frame; Reset and save/load state are now checked every frame instead of many times per frame.
  Cleanup function prototypes.
2012-11-04 14:36:07 -05:00
meancoot
3b4c382f58 Should have tested before push: Fix audio 2012-11-04 14:11:11 -05:00
meancoot
583c6e3f72 Merge branch 'nolibco' 2012-11-04 14:09:07 -05:00
meancoot
9332ba3c1b Always call video_cb in retro_run 2012-11-04 14:08:31 -05:00
meancoot
24ff41e5d2 Don't crash if a game fails to load. 2012-11-04 13:59:18 -05:00
meancoot
9edf87c642 nolibco: Some cleanup; fix reset 2012-11-04 13:54:16 -05:00
meancoot
f540ce0bb8 Remove libco requirement: Phase 1 2012-11-04 13:39:47 -05:00
twinaphex
bf6ad7fd53 (Midtunit/yunit) Same deal with FAST_DMA 2012-11-04 18:47:03 +01:00
twinaphex
673dd88d54 (DCS) Turn log conditionals into preprocessor ones - improves FPS
in MK3
2012-11-04 18:33:08 +01:00
meancoot
acea5763db Remove various unneeded performance monitoring related code. 2012-11-04 12:21:14 -05:00
meancoot
4aa5edc75c Fixex:
Only print flow control messages if DEBUG_LOG is defined.
  Don't say the timer is in microseconds then return time in milliseconds.
2012-11-04 12:21:14 -05:00
twinaphex
6211e53c27 Log osd_fopen and osd_get_path_info if DEBUG_LOG is defined 2012-11-04 18:13:00 +01:00
twinaphex
9732388a08 If DEBUG_LOG is defined, logerror and osd_die will log to stderr 2012-11-04 17:50:08 +01:00
twinaphex
54132555ae Make it possible to log ROM loading messages if DEBUG_LOG is defined 2012-11-04 17:32:14 +01:00
meancoot
26012dd25a Don't look for the 'rom' directory in retroarch's system directory, instead look in the parent of the loaded game file.
Update README
2012-11-04 11:09:12 -05:00
meancoot
e7362880b0 Wii Prep: All objects are built and linked/archived directly instead of through various archives. 2012-11-04 11:09:12 -05:00
twinaphex
f4e1d044bd (Unix) Fix build - Define stricmp for Unix build - fixes startup
of sexyparo.zip
2012-11-04 08:35:12 +01:00
meancoot
2c4e3d31c5 Improve video code some. Always supply an image where width==pitch to libretro video callback. 2012-11-01 19:06:29 -04:00
meancoot
4b34ec7274 When dealing with paletted games the colors are pre-converted and cached in needed format. 2012-11-01 18:49:14 -04:00
meancoot
0ed51aeb97 Handle UI orientation. 2012-11-01 16:26:48 -04:00
meancoot
72ee6286af Improve video code. 2012-11-01 01:31:49 -04:00
meancoot
d759770974 Add support for four retro pads. 2012-10-31 22:58:11 -04:00
meancoot
87f91b8f44 Canibalize make files to allow for cleaner building:
The MAMEOS option to make is no longer needed.
  The output library will have the proper name.
  The build will no longer try to execute the resulting library.
  ROM set verification tools are no longer built.
2012-10-31 21:50:20 -04:00
meancoot
f7e81d258c Make driver filename extraction safer. 2012-10-31 20:52:07 -04:00
meancoot
52f1735dcb Fixup for building on android. 2012-10-31 13:45:40 -04:00
meancoot
ef8a10b40d Add sound support.
Start joystick support.
Cleanup the teardown process.
2012-10-31 02:36:31 -04:00
meancoot
86c79bc4af Add remove.
Some small changes.
2012-10-31 00:57:00 -04:00
meancoot
88761c9c59 Hack to make it run with GCC, though the problem with realloc is probably indicative of some other memory corruption. 2012-10-31 00:03:01 -04:00
meancoot
5ae6ffde1c Add libretro wrapper and fix building 2012-10-29 11:26:27 -04:00
meancoot
802efb1b4a Start with MAME 0.78 2012-10-29 10:55:14 -04:00