mirror of
https://github.com/Qyriad/fusee-launcher.git
synced 2024-11-25 01:36:56 +01:00
Fix #20: Typo that still actually worked
`switch_to_highbuf()` mistakenly refers to `switch` instead of `self`. Though, it doesn't actually matter since in this particular script they're the same object.
This commit is contained in:
parent
433077ab72
commit
15021047d8
@ -546,8 +546,8 @@ class RCMHax:
|
|||||||
def switch_to_highbuf(self):
|
def switch_to_highbuf(self):
|
||||||
""" Switches to the higher RCM buffer, reducing the amount that needs to be copied. """
|
""" Switches to the higher RCM buffer, reducing the amount that needs to be copied. """
|
||||||
|
|
||||||
if switch.get_current_buffer_address() != self.COPY_BUFFER_ADDRESSES[1]:
|
if self.get_current_buffer_address() != self.COPY_BUFFER_ADDRESSES[1]:
|
||||||
switch.write(b'\0' * 0x1000)
|
self.write(b'\0' * 0x1000)
|
||||||
|
|
||||||
|
|
||||||
def trigger_controlled_memcpy(self, length=None):
|
def trigger_controlled_memcpy(self, length=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user