1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-06-30 08:24:05 +00:00
Commit Graph

3594 Commits

Author SHA1 Message Date
Blake Warner
fe0b5c34be
Merge pull request #10 from DaMarkov/infinite-loop-fix
Fixed an infinite loop
2022-03-25 01:43:48 -04:00
Blake Warner
2bd852508c
Merge pull request #9 from blawar/hd-textures
HD Texture Support
2022-03-25 01:42:20 -04:00
DaMarkov
80ade48fb3 Introduced an upper limit to the loop in _ProcessDList. 2022-03-05 22:49:10 +01:00
DaMarkov
f8d114de20 Made HD texture mode not the default anymore. 2022-03-04 14:32:42 +01:00
DaMarkov
9c60bf101f Cleanup 2022-03-04 14:31:04 +01:00
DaMarkov
9c187aa79f Removed debugging code. 2022-03-04 14:26:43 +01:00
Blake Warner
14c36475da added rect scaler 2022-03-02 02:30:06 -05:00
Blake Warner
af0bea46f4
Merge pull request #4 from DaMarkov/no-window-mode
Fixes GLideN64 crashes
2022-02-27 11:08:33 -05:00
Blake Warner
fd2d68c372
Merge pull request #7 from DaMarkov/fix-gSPDisplayList
Added null pointer checks
2022-02-27 11:08:22 -05:00
Blake Warner
417f3dac67
Merge pull request #8 from DaMarkov/add-force43
Added `gfx_force_43_enabled()`
2022-02-27 11:08:14 -05:00
DaMarkov
ea699646ec Added gfx_force_43_enabled() that returns true if the aspect ratio 4:3 is forced. 2022-02-24 18:55:04 +01:00
DaMarkov
15b6650851 Added more null pointer checks. 2022-02-23 04:58:50 +01:00
DaMarkov
4897b053a9 Added more null pointer checks to avoid a crash in RSP_LoadMatrix. 2022-02-23 04:40:19 +01:00
DaMarkov
f2df41128c Added null pointer check to gSPLight. 2022-02-23 04:02:55 +01:00
DaMarkov
e07e8c69df Added a null pointer check to gSPDisplayList. 2022-02-23 03:59:56 +01:00
Blake Warner
b595b9646c
Merge pull request #6 from DaMarkov/fix-texcoords
Fixed 2D graphics alignment problem
2022-02-20 09:08:05 -05:00
DaMarkov
ddd5fb1461 graphics2D.correctTexrectCoords is now set in Config.cpp. 2022-02-20 14:57:08 +01:00
Blake Warner
cc22862e39
Merge pull request #5 from DaMarkov/pixelformat-error
Removed error message when `SetPixelFormat()` fails
2022-02-20 08:12:10 -05:00
DaMarkov
24d604f83e Enabled correctTexrectCoords flag. 2022-02-19 22:44:56 +01:00
DaMarkov
4bb89a43d0 Removed error message when SetPixelFormat() fails. 2022-02-19 15:03:03 +01:00
DaMarkov
91cfc2b06c GLideN64 doesn't like it when it is running without an window.
This PR fixes a few places so GLideN64 doesn't crashes any longer.
These are all mostly null pointer checks.
2022-02-15 22:50:30 +01:00
DaMarkov
7d6fa0bfe1 Added a function to switch between .htc and .hts files. 2022-02-14 12:34:41 +01:00
DaMarkov
3e9bafb145 Tiny cleanup. 2022-02-14 06:07:16 +01:00
DaMarkov
6d9ebf6ff3 Some cleanup.
Added RELATIVE_PATHS to tell gliden that paths are relative.
Added functions to enabled/disable high res on the fly.
2022-02-14 05:26:00 +01:00
DaMarkov
ebf714f7a5 Added support for texture packs for OOT.
Fixed an endian issue in `RiceCRC32`.
Hardcoded in the hyrule day skybox.
2022-02-14 02:13:21 +01:00
Blake Warner
403658b456 used bit 1 to signify segment address lookup 2022-02-10 23:54:51 -05:00
Blake Warner
c5b63481ab
Merge pull request #3 from DaMarkov/gfx-force43
Aspect ratio 4:3
2022-02-10 16:50:54 -05:00
DaMarkov
fb108abab7 Fixed an issue when the user is resizing the window while in 4:3 mode. 2022-02-10 22:14:38 +01:00
DaMarkov
455310da1c Fixed a tiny but important mistake. 2022-02-10 22:07:23 +01:00
DaMarkov
f42ee1e7f8 Added gfx_force_43 to switch the aspect ratio to 4:3 on the fly.
I had to add a new method `forceResizeWindow` for this.
Also added NO_LOAD_PROGRESS_DISPLAY.
2022-02-10 21:27:45 +01:00
Blake Warner
88f7de3e2b
Merge pull request #2 from DaMarkov/oot-framebuffer-emulation
OOT framebuffer emulation
2022-02-08 12:19:07 -05:00
DaMarkov
19533b5d18 Cleanup and missed on change in FrameBuffer.cpp. 2022-02-08 16:58:56 +01:00
DaMarkov
187d1a9caa Moved structs into Native.h. 2022-02-08 15:05:07 +01:00
DaMarkov
311608c42d Used NATIVE compiler flag to make changes for OOT optional. 2022-02-08 14:01:30 +01:00
DaMarkov
e6cdd229fd Changed the project files back. 2022-02-08 07:27:55 +01:00
DaMarkov
e5332785fc Changed GLideN64 so it works with framebuffer emulation enabled with OOT. 2022-02-08 03:44:17 +01:00
DaMarkov
dca837e446 Also changed the output folder of the other projects. 2022-02-07 19:05:38 +01:00
DaMarkov
0e86b4314f Changed output directoy.
Directoy is now relative to the project and not the solution.
Needed to add GLidenN64 to different solution files.
2022-02-07 18:10:32 +01:00
Blake Warner
35b278896f fixed heap overflow 2022-02-05 15:37:51 -05:00
Blake Warner
a054cb622b stripped unneeded files and changed default config options 2022-01-31 16:41:02 -05:00
Blake Warner
0255e10db6 native port 2022-01-29 17:22:09 -05:00
fzurita
df2d4debbb Workaround for PowerVR issues
PowerVR needs depth to be cleared every frame, otherwise most geometry
is rendered behind the background.

It also needs fragment based depth to be disabled, otherwise geometry
has various depth glitches.
2022-01-16 18:35:05 +07:00
Sergey Lipskiy
30e4d3416b Minor code cleanup in gSPCullVertices 2022-01-16 18:07:24 +07:00
Sergey Lipskiy
fd29c4386a Fix renderScreenSpaceTriangles when input vertices represent TRIANGLE_STRIP. 2022-01-16 17:24:49 +07:00
Sergey Lipskiy
e9a6f258af Apply mask on DMEM address to avoid segmentation fault in Indiana Jones,
see #2628
2022-01-08 11:22:42 +07:00
fzurita
6275140109 Fix build with CMake on Windows 2022-01-07 19:05:08 +07:00
Sergey Lipskiy
8343fd05c9 Restore logic for uTexOffset uniform.
fixed #2621 Mario tennis broken shadows in accurate path
2021-12-21 00:54:17 +07:00
Sergey Lipskiy
506f263c13 Correct imageW/imageH calculation in ObjCoordinates again.
fixes #2617 RE2 bottom of the screen is being cut off
2021-12-19 20:53:09 +07:00
Sergey Lipskiy
b2f3caa1a4 Revert "Shift S2DEX background texture coordinates in non-native resolutions."
This reverts commit e0d5b0be7b.

fixes #2625 Majora's Mask misplaced blur
2021-12-19 20:46:16 +07:00
Sergey Lipskiy
2c8533661b Fix crash in Mario Tennis, caused by wrong tile size calculation.
Regressions in S2DEX games are possible, but not found yet.
Also make sure that size of mip-map tile is not greater than possible.
2021-12-18 23:59:19 +07:00