Your grGet implementation is obviously incorrect, according to docs briefly flashed on screen. The actual value you want to return should be written into memory pointed by params buffer, and the function should return number of bytes written (always 4 in case of an FxU32). The very fact it worked as it is rn just indicates the game doesn’t care much about those values at that point.
If you can't add frame gen to a garbe API like Vulkan, then no one can... Idk why every game doesn't use DX12, and hardware companies don't just make supporting software for their hardware. Vulkan is fine, but for PC? I'll never understand it.
And, if you don't like the idea of engaging exception handling for some reason, the alternative is to change the contract. Instead of Process::write, it's Process::try_write. If it can't write, that's not a contract violation, it's a return value of `false`.
I don't like this approach because it can lead to hidden failures, sure you know the return time dictates if a write was successful, but anyone using your library (in the case it is a library) might not read the return time of the function and assume a non-error is a success.
@@tomtravis858 Sorry, explain to me how a failure is hidden by the fact that you check the return value instead of making the call inside a region protected by a structured exception handler. Oh, you mean that the user could just ignore the return value? You can ignore exceptions too, you know. :-P
I have NEVER agreed with this. I totally understand why people think it's a good idea, but I have never in 10 years had any issue due to not using braces. Of course I may eat my words some day. But also to be clear, I'm never in a situation where I've omitted them and then someone else merges code. I'm always responsible for the code so those kinds of unexpected issues are very unlikely to arise in my situation.
The remastered version has a lowered original dpi! Blizzard is trying to say look how bad the old graphics were, but they lie! The game is playable using original graphics using the original game but unplayable using new remastered. I have both versions and thus can compare both!