mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-23 17:49:57 -04:00
Triforce v0.7.0 "Sage Of Courage"
The 0.6 crashes after warps and area changes fixed (no write-back into memory the capture leaves out), invisible objects fixed (occlusion gate), DLSS frame generation flicker fixed, achievements, the renderer built with a play profile, faster translated game code, helper threads judged on settled scenes, memory, shader preparation, audio effects, launcher, controls and Linux fixes.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
|
||||
static int failures = 0;
|
||||
static void expect(bool ok, const char* what) {
|
||||
@@ -55,6 +56,11 @@ int main() {
|
||||
expect(translate(count(4, 64 * GB, false, 0), true, false) == 4 && translate(2, true, false) == 2, "AMD's older driver, few processors: count's");
|
||||
expect(translate(count(24, 26 * GB, false, 20), true, true) == 20, "AMD's older driver: the switch still decides");
|
||||
expect(translate(count(24, 26 * GB, false, 0), false, false) == 24, "other drivers: count's");
|
||||
// ((Triforce) the process heap's signature: the segment heap's, the NT heap's, anything else not known)
|
||||
expect(prepare_threads::segment_heap(0xDDEEDDEEu) && !prepare_threads::segment_heap(0xFFEEFFEEu) && !prepare_threads::segment_heap(0),
|
||||
"segment_heap: the segment heap's signature only");
|
||||
expect(std::string(prepare_threads::heap_name(0xDDEEDDEEu)) == "segment" && std::string(prepare_threads::heap_name(0xFFEEFFEEu)) == "NT" &&
|
||||
std::string(prepare_threads::heap_name(0x12345678u)) == "not known", "heap_name");
|
||||
if (failures) return EXIT_FAILURE;
|
||||
std::printf("prepare threads: all checks passed\n");
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user