mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-02-16 18:19:13 +01:00
[TMS] Ultra wide aspect
No GUI, just 3d so far.
This commit is contained in:
parent
dd078640ce
commit
a55831c43c
20
Source/TokyoMirage/patches.txt
Normal file
20
Source/TokyoMirage/patches.txt
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?php
|
||||||
|
$width = $argv[1];
|
||||||
|
$height = $argv[2];
|
||||||
|
|
||||||
|
$aspect = $width / (float)$height;
|
||||||
|
|
||||||
|
if (round($aspect*100.0) == 178)
|
||||||
|
exit(1);
|
||||||
|
|
||||||
|
$aspect = number_format((float)$aspect, 3, '.', '');
|
||||||
|
?>
|
||||||
|
|
||||||
|
[TMS_219_EUv16]
|
||||||
|
moduleMatches = 0x2249A57A
|
||||||
|
|
||||||
|
0x10006C18 = .float <?=$aspect?>
|
||||||
|
0x10014400 = .float <?=$aspect?>
|
||||||
|
0x10067140 = .float <?=$aspect?>
|
||||||
|
|
||||||
|
_
|
Loading…
x
Reference in New Issue
Block a user