Commit Graph

79659 Commits

Author SHA1 Message Date
Thomas Debesse 2d414c1a43 build.sh: better way to get project directory absolute path
in bash `set -o physical` resolves symlinks when changing directory,
removing the need for GNU readlink
2021-01-23 13:50:28 -07:00
Thomas Debesse 03beb4e96b build.sh: read job_count when possible 2021-01-23 13:50:28 -07:00
Matt Borgerson aab63105fc ui: Move fullscreen trigger to main thread 2021-01-06 17:59:29 -07:00
Matt Borgerson bccfb6cd98 ui: Fix fullscreen launch 2021-01-06 15:48:46 -07:00
wutno 270310e603
smc: Fix version string modulus 2021-01-04 01:58:41 -07:00
Matt Borgerson d31a207e35 i8254: Update base freq to more closely match Xbox 2021-01-04 01:36:50 -07:00
Matt Borgerson 66f2e9decd mcpx: Fixup compiler warnings in DSP code 2021-01-03 16:14:47 -07:00
Matt Borgerson 416e12c3b3 mcpx: Enable APU pipeline 2021-01-03 16:14:47 -07:00
Matt Borgerson 9004009bb3 nvnet: Always return value in nvnet_get_reg 2020-12-31 15:47:32 -07:00
Matt Borgerson a72cc138f4 ui: Request high-performance graphics on Windows platform 2020-12-31 15:30:29 -07:00
Matt Borgerson 996f3d4dc3 nv2a: Grab lock before marking pending download 2020-12-30 03:52:46 -07:00
Matt Borgerson e431cbff82 nv2a: Fix compiler nits 2020-12-30 03:51:47 -07:00
Matt Borgerson c6d1a50ad9 vl: Swap NULL for `-dvd_path <path>` in input argv 2020-12-30 03:30:49 -07:00
Matt Borgerson 263870a7c3 ui: Add build version and debug indicator to window title bar 2020-12-24 17:45:45 -07:00
Wilhelm Kovatch 1b5e97e37f vl: Allow overriding the dvd path from command line 2020-12-20 16:18:00 -07:00
Matt Borgerson af35a8b728 nv2a: Approximate CLAMP_OGL with CLAMP_TO_EDGE 2020-12-07 19:25:48 -07:00
Matt Borgerson 2933d8d171 nv2a: Set VGA color mode after reset 2020-12-02 23:03:51 -07:00
Matt Borgerson 0bec22318a nv2a: Add Gaussian convolution filter for AA 2020-12-02 16:49:58 -07:00
Matt Borgerson a34cab69dd nv2a: Support line and poly anti-aliasing 2020-12-01 22:36:09 -07:00
Jason e063fc37e7
input: Set SDL ALLOW_BACKGROUND_EVENTS hint 2020-11-23 20:45:17 -07:00
Matt Borgerson 2702f45cc3 input: Close gamecontroller handles on disconnect 2020-11-20 14:16:26 -07:00
haxar 02157b0958 ui: Set swap interval after creating GL context 2020-11-20 03:15:19 -07:00
Matt Borgerson 30ed4f5a56 ui: Move non-event handlers out of SDL event loop 2020-11-20 01:18:59 -07:00
Jason 8877c4ba98
input: Fix SDL haptic effect length and magnitude 2020-11-17 22:07:24 -07:00
Matt Borgerson 8d2ebd6cd8 ui: Disable UI thread RCU registration
This needs more investigation, as it can cause deadlock. Leave code
commented-out for now as a reminder to look into it.
2020-11-16 21:01:04 -07:00
Matt Borgerson 71ee1ca831 ui: Mimic QEMU thread and set thread-local tcg_ctx to tcg_init_ctx
Necessary to handle callbacks (e.g. rom_reset) from UI thread which will
flush TBs and reference thread-local TCG context, which is initialized
for main QEMU thread early on as tcg_init_ctx.
2020-11-16 18:51:37 -07:00
Matt Borgerson 59980ba1c7 nv2a: Refactor BUMPENVMAP[_LUM] 2020-11-14 16:30:59 -07:00
Matt Borgerson 183ed86aa6 nv2a: Fix color swizzle for SZ_G8B8 and SZ_R8B8 2020-11-14 16:30:59 -07:00
Wilhelm Kovatch ff3deacae6 nv2a: Fix BUMPENVMAP[_LUM] texture modes 2020-11-14 16:27:12 -07:00
Mike bdd8375ba2 xbox: Make flash ROM memory regions writeable
In lieu of proper writeback cache emulation, mark the flash ROM memory
region(s) as writeable. This is necessary to enable later Xbox kernel
revisions which write to a single address within this region during very
early startup code and expect the written value to persist when read
back in the next instruction. See comment in patch for more details.
2020-11-12 00:05:59 -07:00
Blackbird88 2955b842f2 ui: Fix typo in About dialog 2020-11-09 16:04:11 -07:00
Matt Borgerson f079f8447d vl: Don't escape commas for -bios path 2020-11-07 16:10:46 -07:00
Matt Borgerson f827615262 vl: Check size of Boot ROM 2020-11-07 15:11:32 -07:00
Matt Borgerson 119bfda6b6 ui: Retain default EEPROM path after generation 2020-11-07 15:11:32 -07:00
Vaporeon aa256cbafa vl: Escape commas in QEMU launch argument file paths 2020-11-07 15:11:32 -07:00
Mike e0841b9dd4 vl: Generate factory Xbox EEPROM if not provided 2020-11-06 14:54:53 -07:00
Wilhelm Kovatch 5aa0cec31b nv2a: Support 3D texture decompression in software 2020-11-01 17:55:14 -07:00
Mike 7c8a7d1d16 smbus: Add generic storage device 2020-11-01 15:52:08 -07:00
Matt Borgerson 5cc4568dfe nv2a: Force surface flush for mipmapped textures 2020-10-28 22:03:56 -07:00
Matt Borgerson 0c2368f37d nv2a: Fix broken dot texture modes 2020-10-28 22:03:56 -07:00
Matt Borgerson 3c6596975d nv2a: Implement dot texture modes and dotmapping 2020-10-28 15:59:20 -07:00
Matt Borgerson 9060302670 nv2a: Add GL error guard for glCompressedTexImage3D
This only works with DXT1/S3TC if the implementation has the
NV_texture_compression_vtc extension, otherwise GL_INVALID_ENUM will be
raised. Bail out in this case, until a software fallback is implemented.
2020-10-28 04:40:11 -07:00
Wilhelm Kovatch b9df397493 nv2a: Fix compressed 3D textures 2020-10-26 21:43:12 -07:00
Wilhelm Kovatch 518c9f38cd nv2a: Add support for compressed 3D textures 2020-10-26 19:49:47 -07:00
Matt Borgerson 6f777e73e6 nv2a: Add B8, G8B8 surface format placeholders 2020-10-26 00:20:48 -07:00
Matt Borgerson 0433c5e6bc nv2a: Simulate PCRTC_RASTER register 2020-10-25 19:52:57 -07:00
Matt Borgerson 23096561a3 nv2a: Check for same zeta/color surface offset 2020-10-25 03:39:58 -07:00
Matt Borgerson 0d6a871f87 ui: Remove 'X' button as menu button 2020-10-25 03:22:23 -07:00
Alexandre Bouvier 9bb7ce0047 ui: Add main category in desktop entry 2020-10-25 02:53:09 -07:00
Matt Borgerson 4cd7c98025 nv2a: Unbind surfaces when flushing 2020-10-23 14:33:45 -07:00