|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#3 (permalink) | |
|
Customized User Title
![]() ![]() ![]() Join Date: Apr 2004
Location: In my little apartment eating the only food I can afford, ramen noodles.
Posts: 345
|
Quote:
__________________
[Gaming PC] Intel Intel Xeon X3350 @3.5GHz , 2GB DDR2-1066 RAM, Nvidia Geforce 9600GT 512MB (720/2150MHz), 120GB Western Digital Sata Harddisk, Hec 585Watt Power Supply (<- The PSU Sucks, barely even powers my system.)- [HTPC] Intel Pentium E2160 @ 2.5GHz, 2GB DDR2-800 RAM, Nvidia GeForce 8600GT 512MB (Stock), 500GB Western Digital SATA Harddisk, Antec EarthWatts 430watt Power Supply |
|
|
|
|
|
|
#5 (permalink) |
|
Resident Mac User
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2003
Location: (Hicksville Florida)
Posts: 1,447
|
gee how did I miss this thread o.0
Check other roms to see if they save, also you might want to go to your disk utility and validate and fix persmission on the whole disk.
__________________
| Athlon 64 3200+ | ASUS 6600GT | 1 GB Dual Channel | 20 GB Windows XP | 100 GB Ubuntu | 120 GB Storage | ![]() |14" iBook G4 1.33Ghz|512 MB|Radeon 9200|60GB OSX Tiger| >--Visit my blog--< http://blog.efx2.com/user/Tim |
|
|
|
|
|
#6 (permalink) | |
|
Registered User
Join Date: May 2005
Location: USA
Posts: 3
|
Quote:
|
|
|
|
|
|
|
#7 (permalink) |
|
Unofficial Mac VBA Guy...
Join Date: Jun 2005
Location: Canada
Posts: 8
|
IIRC, this is a known issue with Mac VBA. Since AFAIK the code for battery saves are in the core, it's probably some nonportable code therein. The only thing I can tell at this point is that it may be a problem with the code in Util.cpp (since all roads practically lead there) - it is most likely an endian issue (a similar issue prevented CB decryption from working on the Mac) from casting something something with inherent byte sex to void*, ie. where every byte is sexually ambiguous. I suspect that any build on VBA on a big-endian system (eg. vba on solaris-sparc) will have similar issues.
|
|
|
|
|
|
#8 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Posts: 483
|
No, the saving issue is not an endian problem. There must be something else wrong in the system. All it tries to do is write to a file in the specified battery directory. I don't know at what state flea left the Mac port, so I have no idea how you even configure it.
|
|
|
|
|
|
#9 (permalink) |
|
Unofficial Mac VBA Guy...
Join Date: Jun 2005
Location: Canada
Posts: 8
|
Ah I see. I was looking at the wrong sources (Flash.cpp and EEprom.cpp). The problem stems from the file pointer from calling std::fopen() in CPUWriteBatteryFile() in GBA.cpp returning null.
Still, I have found that utilGzWriteInt() is not endian-safe in any case... |
|
|
|
|
|
#10 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Posts: 483
|
Endian-safe is different from the problem writing to the file. I never worried about producing the correct endian-safe files, but the saves I think are endian safe, maybe with the exception of the compression on top of them, because aside from that, they are just bytes in the order the game writes. It is up to the game and emulator to read it correctly.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|