Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opl from main repo #2

Merged
merged 30 commits into from
Oct 11, 2019
Merged

Update opl from main repo #2

merged 30 commits into from
Oct 11, 2019

Conversation

belek666
Copy link
Owner

Pull Request checklist

Note: these are not necessarily requirements

  • I reformatted the code with clang-format
  • I checked to make sure my submission worked
  • I am the author of submission or have permission from the original author
  • Requires update of the PS2SDK
  • Requires update of the gsKit
  • Others (please specify below)

Pull Request description

Tupakaveli and others added 30 commits July 22, 2019 18:33
* add support for reading language files from all devices

* lng: fix building lng list across multiple devices at the same time

* lng: load language font files from same location as currently loaded .lng file
Fix main10 bug and language support update
…alignment correction is performed."

This reverts commit cd100a2.
Due to alignment the buffer can be overrun by the alignment size (64
bytes).
Some iop modules would always be rebuilt (like cdvdman* and mcemu*).
Slowing down compilation times.
The theme was activated before it was fully loaded. This fix activates
the theme at the end of the loading.
Lots of fixes and small improvements
* sfx: code clean up

* lng: fix font not being rendered if loading translations at boot from a device other than MC, and if lang is changed by manually initalising a device

* gui: add notifications
* sfx: code clean up

* lng: fix font not being rendered if loading translations at boot from a device other than MC, and if lang is changed by manually initalising a device

* gui: add notifications

* gui: reduce notifications code
)

* sfx: code clean up

* lng: fix font not being rendered if loading translations at boot from a device other than MC, and if lang is changed by manually initalising a device

* gui: add notifications

* gui: reduce notifications code

* notifications: show upon manual device init, if thm or lang changed
Small fixes and add notifications feature
* mc: OPL folder and mc icon will now be checked and written when saving config to mc, if not found..

* gui: improve notifications code, slightly
Fix MC icon writing and small improvements
Some games, such as Warriors Orochi (USA), calls sceCdReadIOPMem()
with a logical IOP RAM address (in this specific game, the passed
pointer is a KSEG0 - a.k.a. Kernel Mode, Segment 0 - logical IOP
RAM address) as its third parameter, which normally is not an issue,
but on slim consoles (SCPH-75000 series and newer), the game crashes
when being run from USB media. Fix this issue by ensuring that the
provided pointer to IOP RAM is a physical address.

Note that a similar measure is applied in cdvd_readee() (see cdvdfsv.c line 807):

http://github.com/ifcaro/Open-PS2-Loader/blob/master/modules/iopcore/cdvdfsv/cdvdfsv.c#L807

As a side note, this fix should apply for related koei games (Warriors
Orochi 2 and Samurai Warriors 2 series), as those games do the same
thing as Warriors Orochi regarding sceCdReadIOPMem().
@belek666 belek666 merged commit 603a28e into belek666:master Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants