06-21-2016, 12:25 PM
(12-22-2015, 06:10 PM)aturtledoesbite Wrote: (If someone has a more code-efficient way of modifying a 1000-byte block of memory to read "63 00" on repeat, I'm all ears.)
Not sure if PPSSPP will read C++ from notepad, but if so maybe this would work? I'm new to all this, self-teaching while A.D.D., and no longer young so who knows:
Code:
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int i=0x0079425C;//item//
int q=0x00000063;//quantity//
for (i=0x0079425C;i<=0x00794646;i+=2)
{
cout<<showbase<<internal<<setfill('0');
cout<<hex<<setw(10)<<uppercase<<(i)<<" "<<setw(10)<<(q)<<"\n";
}
return 0;
}
