Commit Graph

4919 Commits

Author SHA1 Message Date
alvinwong 9fdb1d26bb Initial Qt frontend code commit. 2014-03-18 05:14:22 +00:00
rogerman 73f44f0aeb Video Filters:
- Do some minor code cleanup.
2014-03-15 17:48:54 +00:00
rogerman dca852468c Cocoa Port:
- Fix intermittent freeze on app exit when running on OS X v10.5 Leopard.
2014-03-14 21:27:42 +00:00
alvinwong 2b3198e392 Linux: Fix compilation errors if HUD support not enabled 2014-03-13 12:32:34 +00:00
alvinwong 5c3c1f14d9 Linux (gtk): Actually change filter when loading options. 2014-03-08 10:23:35 +00:00
alvinwong 84460eeb5a Linux (gtk): Remove an unused option. 2014-03-08 08:39:13 +00:00
alvinwong 3f9de84fb1 Linux (gtk): Add option saving. 2014-03-08 08:34:31 +00:00
zeromus 8de0c23924 dont crash if save/loadstating 0 bytes of backup memory 2014-03-06 14:47:16 +00:00
alvinwong b7e996218b Linux (gtk): Change pause/resume to Pause button. 2014-03-06 14:15:06 +00:00
alvinwong 34b9cf1c0f Linux (gtk): Initialize VideoFilter with the number of CPU cores instead of hard-coded to 4 threads. 2014-03-06 08:01:45 +00:00
rogerman 560b23103c Video Filters:
- When using multiple threads, ensure that all lines are accounted for when the line count isn't evenly divisible by the thread count.
- Add static method VideoFilter::GetAttributesByID().
- Reallocating the destination buffers now uses its own method. Reverts the changes from r5000.
- Prepare the code for the use of multi-pass filters.
2014-03-05 18:20:00 +00:00
rogerman e23beb8630 Cocoa Port:
- Fix building of the Legacy project.
- In the Legacy and Xcode 3 projects, make the default C language GNU99.
2014-03-05 04:47:34 +00:00
rogerman 4d50b396dd Cocoa Port:
- If a video filter is used, upload textures in BGRA8888 instead of RGBA8888 format.
- Do some cleanup of the OpenGL display code.
2014-03-05 04:26:08 +00:00
rogerman 48f20e49f7 Cocoa Port:
- Fix intermittent bugs with loading user defaults on app startup.
2014-03-04 18:49:51 +00:00
alvinwong 11ff936fa1 Linux (cli): Fix HUD rendering (regression in [r5004]). 2014-03-04 10:07:33 +00:00
alvinwong 2ac5065fb4 Linux (gtk): Run video filter before fps limiter to make better use of time (and hopefully more accurate frame timing...). 2014-03-04 04:28:41 +00:00
alvinwong 037cf4e065 Linux (gtk): Clear screen after reset. 2014-03-03 08:50:33 +00:00
alvinwong 443cef56be Change a few places to use DESMUME_SAMPLE_RATE instead of hard-coding 44100. 2014-03-03 08:36:08 +00:00
alvinwong 6b8a1b979b NDSSystem.cpp:
- "Fix" opening ROM files of unknown file extension.
- Fix buffer overflow when last character of ROM game code is not a recognized country code.
- Add country code Chinese (iQue DS).
2014-03-01 14:39:37 +00:00
alvinwong 12f5776a3f Linux (gtk):
- Add HUD editor mode.
- Small changes.
2014-03-01 07:53:24 +00:00
zeromus 9295bb5f73 set eol-style on aggdraw.cpp 2014-03-01 06:21:33 +00:00
alvinwong 041941876d Linux (gtk):
- Don't render HUD directly to gpu screen.
- Redraw display for some operations which updates HUD display.
- Make HUD aware of swapped screen and/or single screen.
2014-03-01 06:13:30 +00:00
alvinwong 8b8e7b1648 Linux (gtk):
- Fix possible stack overflow if video filter resolution is high enough.
- Fix not being able to toggle HUD when paused.
- Fix HUD 3d fps display when there is frameskip.
2014-02-28 15:33:26 +00:00
alvinwong 2fe8cb330d Linux (gtk):
- Remove gtk pixbuf usage on drawing DS screens, use only Cairo.
- Use transformation matrix to handle touchscreen coordinates.
- Adapt RGB555-to-RGBA8888 conversion code from Cocoa port, should result in brighter colour.
- Re-enable fullscreen menu item on start.
2014-02-28 07:52:39 +00:00
rogerman 4fec0a060e Cocoa Port:
- 16-bit to 32-bit color space conversions no longer darken images.
2014-02-27 05:56:32 +00:00
alvinwong e9da2c318c Video Filter:
- When changing source image size, force the construction of a new buffer. Fixes [bugs:#1384] introduced in [r4987].
2014-02-26 14:32:01 +00:00
alvinwong 4e5b6e6d6f Linux (gtk, glade, cli):
- Add control for Lid (defaults to Backspace).
- Disallow Left+Right or Up+Down, acts like Windows port.
- Show correct button state on HUD.
2014-02-26 11:29:53 +00:00
alvinwong fed37e55d3 Windows:
- Fix a possible (but slim) buffer overflow caused by the usage of sprintf.

Linux (gtk):
- Show error instead of warning if --enable-hud is configured but libagg not found.
- Change F10 to use savestate slot 0 instead of 10.
- Show savestate time on savestate menu.
- Change startup window size back to resizable.
2014-02-26 09:52:06 +00:00
alvinwong ae36159259 Linux (gtk): Add fixed window size options. 2014-02-25 14:13:40 +00:00
zeromus 513370ca21 fix bug that made 5x filters crash in windows 2014-02-22 20:48:14 +00:00
rogerman 823d99c73a task.cpp:
- Have CPU core detect on OS X use sysctl() instead of sysconf().
2014-02-21 21:15:25 +00:00
alvinwong 76732a03ed Linux (gtk): Add sound interpolation option. 2014-02-20 13:58:00 +00:00
alvinwong f71fe6e108 Linux (gtk): Fix foolish typos. 2014-02-17 05:36:24 +00:00
alvinwong 6f91e947c3 Linux (gtk): Add preliminary AV recording with x264 and flac. 2014-02-17 04:02:42 +00:00
rogerman a15e6cee10 Video Filters:
- Have the Bilinear filter use the same SSurface struct as all the others.
2014-02-15 20:35:54 +00:00
rogerman 98713caf4b Cocoa Port:
- Fix potential crashing bug when changing the video filter from None to a different video filter with 1x scaling.
2014-02-15 06:40:55 +00:00
rogerman def065be97 Video Filters:
- Fix compiling of videofilter.cpp if compiled on Windows.
2014-02-14 01:09:30 +00:00
rogerman 9d44ca55f6 Video Filters:
- Have the xBRZ filter handle the alpha channel.
- Minor code cleanup of video filter managing code.
2014-02-13 23:30:01 +00:00
rogerman 9a642be896 Video Filter:
- When changing filters, skip the costly construction of a new destination buffer if the new surface size will be the same.
2014-02-13 04:49:00 +00:00
rogerman d1c6c6e3ac Cocoa Port:
- On startup, expand all items in the Input Preferences control list by default.
2014-02-13 02:43:08 +00:00
rogerman cf109b69dd Cocoa Port:
- Add SoftRasterizer hack from r4984.
- Update UI to reflect the current feature set.
- Do some code cleanup.
2014-02-10 07:14:05 +00:00
zeromus 443b24cac2 apply patch #159 from tracker to add hack for softrasterizer text rendering improvement in some games 2014-02-09 08:28:48 +00:00
alvinwong fd3b89bac2 Linux (gtk): Minor change to HUD toggle code 2014-02-09 08:17:51 +00:00
alvinwong 04d0faa240 Linux (gtk):
- Add HUD display toggle menu (require --enable-hud on configure)
- Reorganize menu items to be more alike the Windows port
- Change fullscreen hotkey to F11
- Change default video filter to None (user can still switch via menu)
2014-02-09 08:11:33 +00:00
alvinwong 249059e9c0 Linux (gtk):
- Fix DesMuME name case inconsistency
- Make title and status bar more informative in some situations
2014-02-08 15:23:09 +00:00
rogerman 2a85d684eb Cocoa Port:
- Disable replay related UI elements whenever a ROM is not loaded or if the save state sheet is shown.
2014-02-08 03:32:45 +00:00
rogerman f2cd7ad4b0 Cocoa Port:
- Add preliminary replay support.
2014-02-07 21:40:21 +00:00
alvinwong 74b7993d1a Linux (gtk): Fix screen gap bug 2014-02-07 14:13:08 +00:00
alvinwong 675e3424b3 Linux (gtk):
- Rewrite fps limiter and frame skipping code.
- Decrease EmuLoop priority to force screen redraw at maximum rate.
- Add menu option for fps limiter.
- Support boost button.
- Force disable Ubuntu's global menu.
2014-02-07 09:18:01 +00:00
alvinwong 895be3efec Linux (gtk):
- Support xBRZ filters (and fixed build error)
2014-02-07 08:17:53 +00:00