Suggestion Emulators with Pegaswitch and html5 canvas trick?

Discussion in 'Switch - Hacking & Homebrew' started by parrotgeek1, Dec 4, 2017.

  1. parrotgeek1
    OP

    parrotgeek1 Advanced Member

    Newcomer
    69
    32
    Dec 2, 2012
    United States
    When the first PS4 webkit exploit came out, a gameboy emulator Cinoop was ported to it using a very interesting method. The HTML page which the exploit is on creates a huge canvas element filled with a repeating pattern. Then, the native emulator code looks for that pattern in RAM and writes to the raw canvas data, making the screen show things. I assume a similar thing could be made to pass button data from JS into the emulator with an offscreen or display:none canvas. Do you think these tricks would work on Switch?

    https://github.com/CTurt/Cinoop/blob/master/source/ps4/main.c
    http://www.nextgenupdate.com/forums...unning-first-emulator-via-webkit-exploit.html
     
    Last edited by parrotgeek1, Dec 4, 2017
    FatherFingLing likes this.
  2. Yamathedestroyer

    Yamathedestroyer Member

    Newcomer
    22
    10
    Nov 17, 2016
    Germany
    Niedersachsen // Lower Saxony
    Sounds like an Interesting Concept on the Switch.